End punctuation verification tweaking
Thread poster: Spiros Doikas
Spiros Doikas
Spiros Doikas  Identity Verified
Local time: 23:25
Member (2002)
English to Greek
+ ...
Dec 3, 2014

When using "Check that source and target end with the same punctuation" there are some TUs flagged which I do not want to be flagged.

In Greek, the character for the question mark is ";". Is there a way to finetune that check so that it expects the ";" symbol at the end of a target sentence when the source sentence contains "?"


 
RWS Community
RWS Community
United Kingdom
Local time: 22:25
English
Probably easier... Dec 3, 2014

... to just create a custom rule. Should be fairly straightforward to look for sentences ending in source with ? and check for a ;.

Then turn off the standard check.

Regards

Paul


 
Spiros Doikas
Spiros Doikas  Identity Verified
Local time: 23:25
Member (2002)
English to Greek
+ ...
TOPIC STARTER
I see Dec 4, 2014

But shouldn't this end punctuation check be language aware (or adaptable)? It is an element of localization like the decimal separator so perhaps this functionality should be modified to take this into account. For example, in Spanish they would need two characters, the inverted and the normal question mark for each instance of the English question mark.

Also, what I want to check is having an ? in source and not having an ; in target.

I tried with
... See more
But shouldn't this end punctuation check be language aware (or adaptable)? It is an element of localization like the decimal separator so perhaps this functionality should be modified to take this into account. For example, in Spanish they would need two characters, the inverted and the normal question mark for each instance of the English question mark.

Also, what I want to check is having an ? in source and not having an ; in target.

I tried with something like this:

Source: \?$
Target: [^;]$
Report if both target and source Regex patterns match

And it works just fine with end punctuation. However, in some cases there are tags after the punctuation and I could not figure out a way to check for a source that contains ? and a target that does not contain (anywhere) ;.

[Edited at 2014-12-04 08:24 GMT]

[Edited at 2014-12-04 08:25 GMT]

[Edited at 2014-12-04 08:25 GMT]

[Edited at 2014-12-04 09:31 GMT]
Collapse


 


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


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

End punctuation verification tweaking







Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
Trados Business Manager Lite
Create customer quotes and invoices from within Trados Studio

Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.

More info »