End punctuation verification tweaking
Inițiatorul discuției: Spiros Doikas
Spiros Doikas
Spiros Doikas  Identity Verified
Local time: 14:23
Membru (2002)
din engleză în greacă
+ ...
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
Regatul Unit
Local time: 13:23
engleză
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: 14:23
Membru (2002)
din engleză în greacă
+ ...
INIŢIATORUL SUBIECTULUI
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







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 »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »