Soft break segmentation rule almost working…

Hi all!

I set up a soft break segmentation rule in the main and only TM associated to a project, as per instructions found here (community.sdl.com/.../that-manual-line-break-soft-return-segmentation-rule) and here (noradiaz.blogspot.com/.../adding-soft-return-segmentation-rule-to.html). (See pictures 1 and 2.)

 Trados Studio Translation Memory Settings window showing segmentation rules with 'Other terminating punctuation' selected. Trados Studio Edit Segmentation Rule window for 'Soft break' with a regular expression entered in the 'Before break' field.

It catches 98% of my soft breaks, but not 100%, as you’d expect. (See picture 3.) What am I missing here?

Trados Studio segment view with segment numbers 366, 367, and 369, showing a soft break not caught by the rule in segment 367.



Generated Image Alt-Text
[edited by: Trados AI at 3:27 AM (GMT 0) on 29 Feb 2024]
emoji
Parents Reply
  • [\n]+ and \n+ should have the same meaning, so that does not really matter. Maybe you change the "after break" regex to (?:.|\n) 
    This means any character, which is NO line break or a line break.

    This said I see, that the problem are not only tags, but the . in your "after break" windows. Dot is "any character, but NOT a line break". However, you have a tag and a line break there.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Children