MultiTerm for compound words with common element
投稿者: Brent Sørensen
Brent Sørensen
Brent Sørensen  Identity Verified
ドイツ
Local time: 17:51
2016に入会
ドイツ語 から 英語
+ ...
Dec 29, 2021

I have a large document with many related words all containing "Bericht"

For example:
Haushaltsbericht : budget report
Jahresbericht : annual report, annual review, annual return
Lagebericht : management report, operating review

I would like to make sure that these word are consistently translated as [x] report.

Is there an elegant way to use MultiTerm to ensure that the variant with "report" is us
... See more
I have a large document with many related words all containing "Bericht"

For example:
Haushaltsbericht : budget report
Jahresbericht : annual report, annual review, annual return
Lagebericht : management report, operating review

I would like to make sure that these word are consistently translated as [x] report.

Is there an elegant way to use MultiTerm to ensure that the variant with "report" is used and flag the segments whenever a variant with "review" or "return" is used.

I’d like to be able to enter *bericht = report or something similar in MultiTerm.

Is there perhaps a way to do this with RegEx?

I know I could enter all variants in MultiTerm.
Collapse


 
Anthony Rudd
Anthony Rudd

Local time: 17:51
ドイツ語 から 英語
+ ...
Verification regex Dec 29, 2021

To check that "bericht" is translated as "report", you could code a regex such as

Project Settings: Verification: Regular Expressions
Condition: Grouped search expression - report if source matches but not target
Source: \b(\w*)bericht
Target: report

To match incorrect translations, such as "review"
you could change the Condition and Target regex

Or specify both


 
Stepan Konev
Stepan Konev  Identity Verified
ロシア連邦
Local time: 18:51
英語 から ロシア語
You can use the Advanced Display Filter for that Dec 29, 2021

Check the Regular Expression box in the Advanced Display Filter / Content tab.
Type bericht for source and ^(?>(?!\breport\b).)*$ for target. This will display all the segments where the word bericht is not translated as report exactly. In other words, if you apply the filter and it returns no results, it means that all the instances of bericht are consistently translated as report.

If you need to include other forms like report
... See more
Check the Regular Expression box in the Advanced Display Filter / Content tab.
Type bericht for source and ^(?>(?!\breport\b).)*$ for target. This will display all the segments where the word bericht is not translated as report exactly. In other words, if you apply the filter and it returns no results, it means that all the instances of bericht are consistently translated as report.

If you need to include other forms like reports or reporting, then remove a pair of \b's from the regular expression to read as ^(?>(?!report).)*$

Actually you can type any word instead of report in the above-mentioned regex if need be.

[Edited at 2021-12-29 11:35 GMT]
Collapse


 
Brent Sørensen
Brent Sørensen  Identity Verified
ドイツ
Local time: 17:51
2016に入会
ドイツ語 から 英語
+ ...
TOPIC STARTER
Thanks Anthony and Stepan Dec 29, 2021

Both solutions worked.

 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

MultiTerm for compound words with common element







Trados Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »
Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »