segmentation Line

Hello There,

I have long sentences that contains punctuations. So, the sentences are automatically split into segments because they contain full stops. I want Trados to ignore these punctuations and keep the sentence as it is in one segment. 

for example, this below sentence has got full stops. So, Trados break the sentence after each full stop and put new segment. 

72% NYLON. 18% POLYESTER. 10% ELASTANE/SPANDEX. MACHINE WASHABLE. MODEL WEARS SIZE S.

  So, I need the sentence to be in one segment in order to translate it as one sentence. 

Thanks

emoji
Parents
  • The solution from Kelly is a good one... but may not be appropriate as it uses the ₩ character which may be specific to a Korean user which might not work for you.  For me this would just match the exact character ₩ for example.  So just as an alternative you could use this... I'll walk through the steps.

    First open your segmentation rules so you see this:

    Trados Studio Segmentation Rules dialog box with Sentence based segmentation selected and Full stop rule highlighted.

    Edit the "Full stop rule" and "Add" a new rule.  I called it "Uppercase exception":

    Edit Segmentation Rule dialog box with Full stop rule selected and Uppercase exception highlighted in the Exceptions section.

    I used these settings:

    Edit Rule Exception dialog box showing settings for Uppercase exception with a regular expression before the break and a full stop as the break character.

    Before break:

    \p{Lu}

    Break characters:

    .

    After break:

    Whitespace (including spaces)

    So this just looks for an character that is uppercase immediately before a full stop and followed by a space.  In theory, if you have more examples as you have shown, and also text that doesn't follow this rule, like this for example:

    The document may contain more. When it does you might want them to segment on a full stop.
    72% NYLON. 18% POLYESTER. 10% ELASTANE/SPANDEX. MACHINE WASHABLE. MODEL WEARS SIZE S.
    In these cases you could also just want one exception to the default full stop rule. It should segment other sentences, but not the ones as shown in your example.

    Like this:

    Text sample in Trados Studio showing segmentation with full stops not followed by uppercase letters.

    Another solution,if all of your sentences are like your example is to simply use paragraph segmentation instead of sentence based.

    Trados Studio Segmentation Rules dialog box with Sentence based segmentation selected and Full stop rule highlighted, indicating the rule is active.

    This will do the following with my sample text:

    Text sample in Trados Studio showing segmentation with full stops followed by uppercase letters, indicating an exception to the rule.

    So a couple of options.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub



    Generated Image Alt-Text
    [edited by: Trados AI at 5:42 AM (GMT 0) on 29 Feb 2024]
Reply
  • The solution from Kelly is a good one... but may not be appropriate as it uses the ₩ character which may be specific to a Korean user which might not work for you.  For me this would just match the exact character ₩ for example.  So just as an alternative you could use this... I'll walk through the steps.

    First open your segmentation rules so you see this:

    Trados Studio Segmentation Rules dialog box with Sentence based segmentation selected and Full stop rule highlighted.

    Edit the "Full stop rule" and "Add" a new rule.  I called it "Uppercase exception":

    Edit Segmentation Rule dialog box with Full stop rule selected and Uppercase exception highlighted in the Exceptions section.

    I used these settings:

    Edit Rule Exception dialog box showing settings for Uppercase exception with a regular expression before the break and a full stop as the break character.

    Before break:

    \p{Lu}

    Break characters:

    .

    After break:

    Whitespace (including spaces)

    So this just looks for an character that is uppercase immediately before a full stop and followed by a space.  In theory, if you have more examples as you have shown, and also text that doesn't follow this rule, like this for example:

    The document may contain more. When it does you might want them to segment on a full stop.
    72% NYLON. 18% POLYESTER. 10% ELASTANE/SPANDEX. MACHINE WASHABLE. MODEL WEARS SIZE S.
    In these cases you could also just want one exception to the default full stop rule. It should segment other sentences, but not the ones as shown in your example.

    Like this:

    Text sample in Trados Studio showing segmentation with full stops not followed by uppercase letters.

    Another solution,if all of your sentences are like your example is to simply use paragraph segmentation instead of sentence based.

    Trados Studio Segmentation Rules dialog box with Sentence based segmentation selected and Full stop rule highlighted, indicating the rule is active.

    This will do the following with my sample text:

    Text sample in Trados Studio showing segmentation with full stops followed by uppercase letters, indicating an exception to the rule.

    So a couple of options.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub



    Generated Image Alt-Text
    [edited by: Trados AI at 5:42 AM (GMT 0) on 29 Feb 2024]
Children