memoQ online project - Settings - Segmentation rules
When memoQ imports a document, it splits the document into segments. Normally, a segment is more or less the same as a sentence. But you can use completely different segments, too.
A segmentation rule set tells memoQ how to split a document into segments.
The Segmentation rules tab of the Settings pane lists the segmentation rule sets for the source language of the project. You can choose one to use with the project.
Choose segmentation rules before you import documents: When memoQ imports a document, it uses the segmentation rule set that is already in the project. You can't "re-segment" a document when you change the segmentation rules.
Requires memoQ project manager: You need the project manager edition of memoQ to manage online projects.
You need to be a project manager or an administrator: You may manage online projects only if you are a member of the Project managers or Administrators group on the memoQ server – or if you have the Project manager role in the project.
How to get here
- On the project management dashboard, find the project you need to manage. Search for the project if needed.
- Click the name of the project.
- On the Project ribbon, click Manage. A new memoQ online project window opens. In most cases, the Translations pane appears automatically.
- On the left, click the Settings icon. The Settings pane appears, with the General tab.
- Click the Segmentation rules icon. It looks like this:
The Segmentation rules tab appears.
What can you do?
- In the list of segmentation rules, select the one you need to copy.
- Under the list of segmentation rules, click Clone/use new.
- The Clone segmentation rule set into a new resource window opens. It's the same as the Create new segmentation rule set window. You can't set the language of the rule set because it's always the same as the source language of the project.
- Type a name for the segmentation rule set. You may also type a description.
To learn more: See Help about the Create new segmentation rule set window.
- Click OK.
The segmentation rule set appears in the list at the top. Its check mark will be checked - it will be ready to use in the project.
Only on the same memoQ server: When you create a resource in an online project, memoQ will always create it on the same memoQ server where the project is.
Always clone the default rule set: You can't edit the Default segmentation rule set. If you need a resource that you can edit, make a copy of (clone) the default one.
You may need an empty segmentation rule set if you do not want memoQ to split the documents into segments. This does not mean that the document will not be segmented. When memoQ imports documents of certain files, it will always start a new segment when there is a new paragraph (example: Word document), or a new cell (example: Excel), or a new structural element (example: HTML or XML).
- Under the list of segmentation rules, click Create/use new.
- The Create new segmentation rule set window opens. You can't set the language of the rule set because it's always the same as the source language of the project.
- Type a name for the segmentation rule set. You may also type a description.
To learn more: See Help about the Create new segmentation rule set window.
- Click OK.
The segmentation rule set appears in the list at the top. Its check mark will be checked - it will be ready to use in the project.
Only on the same memoQ server: When you create a resource in an online project, memoQ will always create it on the same memoQ server where the project is.
To use a segmentation rule set, you need to add it to the project before you import any documents. A project always has exactly one segmentation rule set.
If you do not make a change, memoQ will always use the Default segmentation rule set for the source language of the project. To use another:
- In the list of segmentation rule sets, find the rule set you need.
- Click its check box on the left.
The segmentation rule set moves to the top of the list. The check box of the previous one will be cleared.
If the project already contains documents: You need to reimport them to re-segment them with the new rule set. If the documents contained translated segments, you also need to X-translate or pre-translate them after the reimport.
If there are too many segmentation rule sets on the memoQ server, you can filter the list. At the top of the Segmentation rules tab, there are filter controls:
- The most efficient way to filter the list is to type a word or two in the Name/description box. It will narrow the list immediately to those segmentation rule sets that have those words in their names or descriptions.
- You can also choose a language. In a project, this does not make much sense because you need a segmentation rule set for the source language of the project.
To sort the list by a detail: Click the header of the column you need. For example, to sort the list by name, click the Name header at the top of the list.
You can export a segmentation rule set into an .mqres file. An .mqres file is an XML file where memoQ saves resources like segmentation rule sets, QA profiles, TM settings etc. These are called light resources because they don't contain a large amount of linguistic data.
To export a segmentation rule set:
- In the list, select the segmentation rule set you need to export.
- Under the list, click Export. A Save As window opens.
Or: Right-click the segmentation rule set. From the menu, choose Export.
- Find a folder and a name for the file, and click Save. memoQ will export all details from the segmentation rule set in the file.
You can also import a segmentation rule set from a .mqres file. When you import an .mqres file, memoQ will always create a new segmentation rule set.
Because memoQ saves all kinds of resources in .mqres files, you need to make sure that your .mqres file contains a segmentation rule set.
To import a segmentation rule set from an .mqres file:
- At the bottom of the Segmentation rules tab, click Import new. An Open window appears.
- Select the .mqres file. Click Open.
- The Import new segmentation rule set window opens. It's the same as the Create new segmentation rule set window.
- memoQ will pick up the name of the rule set from the .mqres file. However, you can give it a new name, and type a new description, too.
- Click OK.
To learn more: See Help about the Create new segmentation rule set window.
- In the list of segmentation rules, select the one you need to edit.
- Under the list of segmentation rules, click Edit.
- The Edit segmentation rule set window opens.
- Change the segmentation rules as necessary. Caution: You may need knowledge of regular expressions to do it.
To learn more: See Help about the Edit segmentation rule set window.
Cannot edit the default rule set: You can't edit the Default segmentation rule set. If you need a resource that you can edit, clone the Default rule set first.
- In the list, select the segmentation rule set.
- Below the list, click Properties.
- The Resource properties window opens. It's the same as the Create new segmentation rule set window.
- If necessary, change the name or the description of the resource. Click OK.
To learn more: See Help about the Create new segmentation rule set window.
When you finish
On the Settings pane, choose another tab. Or, choose another pane in the memoQ online project window.
If you make changes to any of the settings, don't forget to save them.
When you make changes to an online project, the changes will happen on memoQ server, not on your computer. It is possible that several users make changes to the project at the same time.
Some changes are not saved automatically. When there are changes you need to save, the green tick mark icon at the top left will become orange:
To save changes to the online project, click this button.
To get the changes that others made to the online project, click this button:
Make sure you save your changes before you click this.
Switch windows: You can open several online projects for management. Each online project opens in a separate window. To switch between them and the Dashboard or Project home (if you have a local project open): press and hold down Alt, and press Tab a few times until you get to the window you want. Or: On the Windows taskbar, click the memoQ icon, and then click the window you want to switch to.