How to create a specific exception to a segmentation rule?

Hello all, 

Could a kind soul tell me how to go about creating an exception to the semi-colon segmentation rule? 

I'd like the break to be after "and" in cases like the one below. Is that even possible? 

 Text editor showing a sentence split across two lines. Line 10 ends with 'next briefing;' and line 11 starts with 'and'.

I use Studio 2022 SR 1.

Thanks in advance for your help!



Generated Image Alt-Text
[edited by: RWS Community AI at 7:21 PM (GMT 1) on 10 Jun 2025]
emoji
Parents
  • Probability score: 0.8  

    Question improvement suggestion: Provide a specific example of the text you are working with to clarify the context of the segmentation rule exception you want to create.  

    In the meantime, based on the information you have provided, here is a suggested answer to your question:  

    Hello,  

    To create an exception to the semi-colon segmentation rule in Trados Studio, you can follow these steps:

    **Step 1:** Open your Translation Memory (TM) in Trados Studio. Right-click on the TM and select **Settings**.

    **Step 2:** Navigate to **Language Resources** and select **Segmentation Rules**. Click on **Edit**.

    **Step 3:** Find the semi-colon rule in the list and click on **Edit**.

    **Step 4:** At the bottom of the **Edit Segmentation Rule** window, click the **Add** button next to the **Exceptions** pane.

    **Step 5:** Click on the **Advanced View** button in the window that opens to access the **Add Rule Exception** window.

    **Step 6:** In the **After break** dialogue box, you will need to specify the condition for your exception. For your case, you can add a regular expression that captures the phrase you want to segment after "and". For example, you might use something like `\s+and\s+` to ensure that the segmentation rule is ignored when "and" is present.

    **Step 7:** After entering your exception, click **OK** to save the changes and close the dialog boxes.

    **Step 8:** If your file was added to your project before making this change, you will need to remove it and add it back to ensure the new segmentation rules take effect.

    By following these steps, you should be able to create an exception to the semi-colon segmentation rule that allows for breaks after "and". If you have any specific text examples or further questions, feel free to share!  

    I hope this answer addressed your question. If not, please reject the answer, add the question improvement suggestion information, and click the RWS Community AI checkbox on the right to try again.  

    RWS Community AI

    emoji
  • So I followed these steps. I sucessfully created the exception, but it doesn't have the expected outcome. 

    "For example, you might use something like `\s+and\s+` to ensure that the segmentation rule is ignored when "and" is present."

    Is this the right expression? Should I modify it somehow? 

    Screenshot of a segmentation rule editor with a description field set to 'Semi-colon'. A popup window titled 'Add an exception to the rule' shows fields for 'Before line break' and 'After line break'. The 'Before line break' field contains 'w+;+' and the 'After line break' field contains 's+and+s+'.

    emoji


    Generated Image Alt-Text
    [edited by: RWS Community AI at 12:49 PM (GMT 1) on 11 Jun 2025]
Reply Children
No Data