Pages in topic:   < [1 2]
QA Checker 3.0 > Check numbers
Thread poster: Lenart
Ekaterina Kroumova
Ekaterina Kroumova  Identity Verified
French to Bulgarian
+ ...
Minus two Jun 6, 2019

That's because it considers -2 as minus 2. Just ignore it, there's nothing you can do.

 
Lenart
Lenart  Identity Verified
Luxembourg
Local time: 16:15
TOPIC STARTER
manual work in automated software Jun 6, 2019

Ekaterina Kroumova wrote:

That's because it considers -2 as minus 2. Just ignore it, there's nothing you can do.


well you cant just ignore them. you have to manually check where is the problem (is the error due to the wrong number or due to the wrong style?). and if there is a lot of numbers and all of them are written in this style, this means a lot of manual work, that could be done by software! In such cases number checker is completely useless.

It would be very useful if SDL offered number checker option that does ignore minus.

[Edited at 2019-06-06 09:13 GMT]


Ekaterina Kroumova
 
Anthony Rudd
Anthony Rudd

Local time: 16:15
German to English
+ ...
Global replace Jun 6, 2019

Perform a global find replace
Find string: (\d+)-(\d+)\shours (you may need to add a whitespace (\s) around the '-'
Replace string: $1 to $2 hours


Lenart
 
Lenart
Lenart  Identity Verified
Luxembourg
Local time: 16:15
TOPIC STARTER
problem with concrete regex number code Jun 14, 2019

Hello everyone,

I am struggling to find out an error in my regex rule for numbers. Does anyone spot the problem?

Source text: (voir points 15-19)

Correct Target text: (Glej točke od 15 do 19.)

Regex source: \(voir points (\d{2})-(\d{2})\)

Regex target: \(Glej točke od $1 do $2\.\)

Condition: Report if source matches but not the target.

The problem is that I get an error, although everything is ok with ta
... See more
Hello everyone,

I am struggling to find out an error in my regex rule for numbers. Does anyone spot the problem?

Source text: (voir points 15-19)

Correct Target text: (Glej točke od 15 do 19.)

Regex source: \(voir points (\d{2})-(\d{2})\)

Regex target: \(Glej točke od $1 do $2\.\)

Condition: Report if source matches but not the target.

The problem is that I get an error, although everything is ok with target text.
Collapse


 
Anthony Rudd
Anthony Rudd

Local time: 16:15
German to English
+ ...
QA number error Jun 15, 2019

Studio provides 8 conditions for regex validation.
Depending on the specified condition, either the source/target regexes must match (as in your case) or the content must match, for example a parsed number in the source, such as (\d+) must have the matching number in the target, such as $1 (where 1 is the corresponding capturing group number). To perform a validation with capturing groups, the Grouped ... condition (with the appropriate regex) must be specified. This is your error - you ha
... See more
Studio provides 8 conditions for regex validation.
Depending on the specified condition, either the source/target regexes must match (as in your case) or the content must match, for example a parsed number in the source, such as (\d+) must have the matching number in the target, such as $1 (where 1 is the corresponding capturing group number). To perform a validation with capturing groups, the Grouped ... condition (with the appropriate regex) must be specified. This is your error - you have mixed the two conditions.
Collapse


 
Lenart
Lenart  Identity Verified
Luxembourg
Local time: 16:15
TOPIC STARTER
thank you! Jun 15, 2019

thank you Anthony!

as soon as you red „Studio provides 8 conditions“ it clicked:) make sense


 
Lenart
Lenart  Identity Verified
Luxembourg
Local time: 16:15
TOPIC STARTER
one more question Jun 19, 2019

Source text: règlement no 207/2009

Correct Target text: xy

Regex source: règlement \d*

Regex target: .*

rule: if source and target match


I get a signal that regex source is recognized in source text and don't understand why. In source text a word „règlement“ is followed by word „no“ and not by a number. Anybody sees the problem?

thank you!

[Edited at 2019-06-19 14:55 GMT]


 
Pages in topic:   < [1 2]


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


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

QA Checker 3.0 > Check numbers







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 »
TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »