Documentation Center

Creating 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.

About this task

When you create a new translation memory you can:
  • Accept the default segmentation rules for each language in the new translation memory.
  • Edit the default segmentation rules for the new translation memory.
  • Select a language resource template that you have created. The segmentation rules in the template are applied to the new translation memory.
  • Select an existing translation memory. The segmentation rules in the selected translation memory are applied to the new translation memory.

Procedure

  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 Home tab > Tasks group > Settings from the Ribbon. 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.
  2. In the Segmentation Rules dialog box, click Add.
    The Add Segmentation Rule dialog box is displayed.
  3. 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.
  4. Specify any exceptions to the rule.
    If Then
    there are no exceptions to the rulego 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.
  5. Click OK to save the rule.