How to Create a Segmentation Rule

This topic describes how to create a segmentation rule for an existing translation memory or file-based language resource template or for a new translation memory. There are default segmentation rules for every language supported by SDL Trados Studio. If you want to create a new rule, you can do this when you are creating a new translation memory or you can update the translation memory later or you can update the language resource template that contains the rule.

When you create a new translation memory you can:

 

NOTE

You can only create rules for creating sentence length segments. The rule is added to the list of existing rules and all rules in the list are used when segmenting text.

  1. Display the Segmentation Rules dialog box:

If

Then

you are currently completing the New Translation Memory or New Server-based Translation Memory wizard and want to create a new segmentation rule for this translation memory,

on the Language Resources page of the wizard, select Segmentation Rules and click Edit.

you are currently completing the New Server-based Translation Memory wizard and have applied a language resource template and now want to create a new segmentation rule for this translation memory,

on the Language Resources page of the wizard, click Edit next to the Template box and then select Segmentation Rules and click Edit.

you want to add the rule to a file-based language resource template,

select the template in the navigation tree in the Translation Memories view and then select File > Settings from the menu bar. The Language Resource Template Settings dialog box is displayed.

Select Segmentation Rules and click Edit.

you want to add the rule to a translation memory,

select the translation memory in the navigation tree in the Translation Memories view and then select File > Settings from the menu bar. The Translation Memory Settings dialog box is displayed.

Select Language Resources from dialog box navigation tree.

In the right-hand pane, select Segmentation Rules and click Edit.

  1. In the Segmentation Rules dialog box, click Add. The Add Segmentation Rule dialog box is displayed.

  2. Create the new rule by completing the Before break, Break character and After break boxes.

If

Then

you can create the rule from the available values in the drop-down lists,

select the values.

you want to enter the values,

type the values in the boxes.

you want to enter the values as simple regular expressions,

type the values in the boxes and select the Regular Expression check box or boxes.

you want to create complex regular expression that also combine the before break and break character conditions,

click Advanced View and complete the boxes in this view.

  1. Specify any exceptions to the rule.

If

Then

there are no exceptions to the rule

go to step 5.

you want to create an exception to the rule,

click the Add button beside the Exceptions box. The Add Rule Exception dialog box is displayed.

Complete this dialog box and click OK.

The exception is added to the Exceptions box.

  1. Click OK to save the rule.

 

NOTE

If you have added the new rule to a language resource template, all server-based translation memories that are linked to the template (translation memories created using the template), will automatically be updated with the change.

 

 

Related Topics

Overview: Working with Language Resource Templates

About Language Resource Templates

How to Edit a Segmentation Rule