100% match with different numbers

Hello,

How can I make sure Studio doesn't recognize as 100% match segments that have different numbers in them?

Here is my problem: these two segments are similar except for 20' and 40'. This is how I would like the translation to show:

Corrupted image file, unable to view content related to Trados Studio.

The second segment appeared as a repeat of the first one despite the different value at the end, so I changed "6,1 m" to "12,2 m" to match the different size. But when I confirm the second segment after changing it, here is what I get:

Corrupted image file, unable to view content related to Trados Studio.

i.e. the second segment has the right value at the end (12,2 m), but the first segment was automatically changed to "12,2 m" too, which is wrong.

My file is full of this kind of sentences. I've tried changing many settings, but I can't make Studio consider this kind of segments as different and not 100% match?

Any idea will be more than welcome. Thanks!

Anne-Laure



Generated Image Alt-Text
[edited by: Trados AI at 5:12 PM (GMT 0) on 28 Feb 2024]
emoji
Parents Reply
  • HI

    Number recognition can lag behind a bit, which can be the explanation of the missing underlines:

    Screenshot of Trados Studio showing a segment with a missing underline for number recognition.

    Note bene that the measuring units for inches and feet are not recognized as measurements (at least in my test) but the numbers are still recognized. If the numbers were not recognized there would be no substitution whatsoever.

    When I add additional measurements (or numbers), I get a warning or error for that, and whatever is added in the translation is just considered part of the target segment without pendant in the source section, so I get the same results as - as expected:

    Screenshot of Trados Studio displaying a warning for added measurements in the translation segment.

    Screenshot of Trados Studio with error highlights on segments where numbers are added without source pendant.

    (The 99% for segments 5 and 6 are due to a forgotten period in the source - mea culpa.)

    Auto-propagation simply won't do what you want to do here. Regex does not do maths, only pattern recognition, but you could brute-force TermInjector to fill in the values you need (by creating a table and using that as your Regex rule file for TermInjector:

    Screenshot of Trados Studio's full view with a warning for a forgotten period in the source segment affecting segment accuracy.

    Might be worth it, esp. if you can auto-generate the table or if it is not too long. The Regex rule file I used for this example looks like this:

    40 cm	40 cm (0,4 m)	40 cm \([0-9]+,[0-9]+ m\)
    50 cm	50 cm (0,5 m)	50 cm \([0-9]+,[0-9]+ m\)
    60 cm	60 cm (0,6 m)	60 cm \([0-9]+,[0-9]+ m\)
    70 cm	70 cm (0,7 m)	70 cm \([0-9]+,[0-9]+ m\)
    80 cm	80 cm (0,8 m)	80 cm \([0-9]+,[0-9]+ m\)
    90 cm	90 cm (0,9 m)	90 cm \([0-9]+,[0-9]+ m\)
    100 cm	100 cm (1 m)	100 cm \([0-9]+,[0-9]+ m\)
    

    A bit tedious. For what it's worth.

    Daniel



    Generated Image Alt-Text
    [edited by: Trados AI at 5:13 PM (GMT 0) on 28 Feb 2024]
Children