Configuring segmentation rules in a new template at Project level
Select Configuration > Filter templates > Project level.
Select Add template.
Result:
The New template popup is displayed.
In the Name your template step, in the New template popup:
In the mandatory Template name text field, enter the filter template name.
To make the template available only when creating projects for specific customers, select the Enable only for specific customers checkbox. Then, select the required customer(s) from the multiple selection dropdown.
Select Next step.
In the Define the configuration type step, in the New template popup:
From the Configuration type dropdown, select Segmentation.
Select Next step.
Note
If necessary, you can go back to the previous step. To do so, select the Previous step button in the bottom left-hand corner of the popup. Alternatively, click on the green bullet above the configuration process step name.
In the Create your configuration step, in the New template popup:
From the mandatory File type dropdown, select the required file type:
All file types
MS Excel (including Multilingual MS Excel)
MS Word
MS PowerPoint (97-2003)
MS PowerPoint
Select the Add language button to specify the source language for which you would like to configure the segmentation rules.
Note
You can add multiple source languages to the same configuration type. To do so, use the Add language button.
Result:
A table containing segmentation rules for the selected source language is displayed. In this table, for each segmentation rule, you see information about:
Priority
Regex before break
Regex after break
the Break sentence parameter setting:
No – there will be no break in the source text in XTM Workbench in the places indicated by the regex expressions.
Yes – XTM Workbench will break the source text into separate segments in the place indicated by the regex expressions.
In the segmentation rules table, you can:
select the required segmentation rule. To do so, select the checkbox to the left of the rule.
deselect the required segmentation rule. To do so, clear the checkbox to the left of the rule.
change the the segmentation rule priority. To do so, hover over the selected segmentation rule, until you see the icon, to the left of the Priority column. Select the icon with the left mouse button and drag and drop the relevant rule.
Note
The lower the number in the Priority list, the higher the segmentation rule priority.
edit the segmentation rule. To do so, hover over the required table row and select the icon on the right.
delete the segmentation rule. To do so, hover over the required table row and select the icon on the right.
restore the default source language segmentation setting. To do so, in the top-left corner of the table, select the Restore default button.
delete all segmentation rules for the selected source language. To do so, in the top-left corner of the table, select the Delete all button.
To add a new segmentation rule:
In the Regular expression pattern before break text field, enter the relevant regular expression pattern (for example
(^|\p{Zs}|\p{Ps}|\p{Po})\p{Nd}\.
.In the Regular expression pattern after break text field, add the relevant regular expression pattern (for example
\p{Zs}
).Select the relevant Break sentence toggle switch setting:
off – there will be no break in the source text in XTM Workbench in the places indicated by the regex expressions.
on – XTM Workbench will break the source text into separate segments at place indicated by the regex expressions.
Select Add.
Result:
Your segmentation rule is displayed in the regular expressions table. It has the highest priority and is automatically selected for your template.
Note
If necessary, you can go back to the previous step. To do so, select the Previous step button in the bottom left-hand corner of the popup. Alternatively, click on the green bullet above the configuration process step name.
Select:
Save and add configuration to add different filters or other configurations to your newly created filter.
Save to save your file filter template.
Cancel to stop creating a new template with segmentation configuration.
Result:
A Successfully added template message is displayed in the bottom right-hand corner of the screen.
Your filter is displayed n the Configuration > Filter templates > Project level tab screen, in the filter templates table.