Pages in topic:   < [1 2]
QA Checker 3.0 > Check numbers
Thread poster: Lenart

Ekaterina Kroumova  Identity Verified
French to Bulgarian
+ ...
Minus two Jun 6

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

 

Lenart  Identity Verified
Luxembourg
Local time: 05:42
TOPIC STARTER
manual work in automated software Jun 6

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

Local time: 05:42
German to English
+ ...
Global replace Jun 6

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  Identity Verified
Luxembourg
Local time: 05:42
TOPIC STARTER
problem with concrete regex number code Jun 14

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

Local time: 05:42
German to English
+ ...
QA number error Jun 15

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  Identity Verified
Luxembourg
Local time: 05:42
TOPIC STARTER
thank you! Jun 15

thank you Anthony!

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


 

Lenart  Identity Verified
Luxembourg
Local time: 05:42
TOPIC STARTER
one more question Jun 19

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

Advanced search







SDL MultiTerm 2019
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2019 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2019 you can automatically create term lists from your existing documentation to save time.

More info »
SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running, helps experienced users make the most of the powerful features.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search