Mass confirmation of number-only segments after MT
Thread poster: Dominic D.
Dominic D.
Dominic D.
Local time: 00:08
Serbian to Russian
+ ...
Mar 15, 2021

Has anyone managed to get around this nonsense of MemoQ not being able to quickly pre-translate, confirm and lock all number-only segments AFTER the document has been pretranslated with machine translation? After years of work, I'm really tired of having to confirm things like "1.", "1,500" etc.

MemoQ may be more stable and in some cases more functional than Trados, but it really excels in wasting your time...

[Edited at 2021-03-15 12:57 GMT]


Grigori Gazarian
Tradupro17
Adieu
 
Tomás Cano Binder, BA, CT
Tomás Cano Binder, BA, CT  Identity Verified
Spain
Local time: 00:08
Member (2005)
English to Spanish
+ ...
Sort alphabetically Mar 15, 2021

Maybe there is a different way to do it, but in this situation I usually sort alphabetically, select all segments containing numbers, and confirm them in one go.

Oleksandr Ivanov
Arkadiusz Jasiński
Wolfgang Schoene
 
Dominic D.
Dominic D.
Local time: 00:08
Serbian to Russian
+ ...
TOPIC STARTER
It’s 2021 Mar 15, 2021

This is what I am forced to do too, but we’re in 2021, c’mon MemoQ... They could
have at least included a respective function in the Automated Actions.

It’s funny how both Studio and MemoQ just HAVE to have their traditional workflow-destroying shortcomings. With Trados it’s the horribly slow and tedious find&replace process.

To think you pay hundreds of dollars for this software and they leave obvious workflow retardants of this sort for years on end is
... See more
This is what I am forced to do too, but we’re in 2021, c’mon MemoQ... They could
have at least included a respective function in the Automated Actions.

It’s funny how both Studio and MemoQ just HAVE to have their traditional workflow-destroying shortcomings. With Trados it’s the horribly slow and tedious find&replace process.

To think you pay hundreds of dollars for this software and they leave obvious workflow retardants of this sort for years on end is outrageous. This is stuff an average software developer could probably handle within a day‘s work.

[Edited at 2021-03-15 18:32 GMT]

[Edited at 2021-03-15 18:33 GMT]

[Edited at 2021-03-15 18:33 GMT]
Collapse


 
Tomasz Sienicki
Tomasz Sienicki  Identity Verified
Denmark
Local time: 00:08
Member (2007)
Danish to Polish
+ ...
Use regex to mass-confirm number-only segments Mar 16, 2021

There's an easy way of achieving just that, assuming the numbers are supposed to look the same on both sides (source and target).

  1. Click the sprocket icon over the translation grid and check the “Use regex” checkbox

  2. Type ^\P{L}*\d\P{L}*$ in the filter field over the source column and press Enter

  3. Press Ctrl+Shift+A to mark all segments; then Shift+Alt+S to copy source to target; then Ctrl+Shift+Enter to confirm all the se... See more
There's an easy way of achieving just that, assuming the numbers are supposed to look the same on both sides (source and target).

  1. Click the sprocket icon over the translation grid and check the “Use regex” checkbox

  2. Type ^\P{L}*\d\P{L}*$ in the filter field over the source column and press Enter

  3. Press Ctrl+Shift+A to mark all segments; then Shift+Alt+S to copy source to target; then Ctrl+Shift+Enter to confirm all the segments without committing them to the TM; then Ctrl+L to lock them

Done.
Collapse


Stepan Konev
 
Dominic D.
Dominic D.
Local time: 00:08
Serbian to Russian
+ ...
TOPIC STARTER
Nice Mar 16, 2021

Nice one, fellow countryman! Will definitely give this a try with my next numericals-heavy project, but the enormous regex command seems to be doing the trick so far. I've actually been looking for something of this sort some time ago, but never managed to find it.

 
Adieu
Adieu  Identity Verified
Ukrainian to English
+ ...
There's an EASY way Mar 28, 2021

Tomasz Sienicki wrote:

There's an easy way of achieving just that, assuming the numbers are supposed to look the same on both sides (source and target).

  1. Click the sprocket icon over the translation grid and check the “Use regex” checkbox

  2. Type ^\P{L}*\d\P{L}*$ in the filter field over the source column and press Enter

  3. Press Ctrl+Shift+A to mark all segments; then Shift+Alt+S to copy source to target; then Ctrl+Shift+Enter to confirm all the segments without committing them to the TM; then Ctrl+L to lock them

Done.


Easy-peasy lol

Does this odd spell require eye of newt or ritualistic dancing in the buff?


 
Stepan Konev
Stepan Konev  Identity Verified
Russian Federation
Local time: 02:08
English to Russian
But how do you know May 10, 2021

whether 1.5 is a number (as in 1.5kg) or a list item (as in 1.1.... 1.2... 1.3...)?
When you translate from English into Russian for example, '1.5kg' must be '1,5 кг'. While list item number 1.5 must remain the same. Replacing all instances automatically may cause even more troubles. That's why this feature is still not available.
Also 1.5 and 1,500 are not number-only. If you really mean what you write, i.e. number-only segments, there is a button called 'Populate Number-Only Se
... See more
whether 1.5 is a number (as in 1.5kg) or a list item (as in 1.1.... 1.2... 1.3...)?
When you translate from English into Russian for example, '1.5kg' must be '1,5 кг'. While list item number 1.5 must remain the same. Replacing all instances automatically may cause even more troubles. That's why this feature is still not available.
Also 1.5 and 1,500 are not number-only. If you really mean what you write, i.e. number-only segments, there is a button called 'Populate Number-Only Segments' (Preparation tab). It confirms and locks all number-only segments.
On the other hand, you can easily replace period with comma, if need be, using a regex. It's 2021, and it takes nothing to google that [0-9] = any number. Replace ([0-9]).([0-9]) with $1,$2. That's it.
This regex will filter any number with a period inside (like 1.5 or 1.55 or 11.55, etc.):
^([0-9]+).([0-9]+)$
Where ^ = start of line,
$ = end of line.
If you remove ^ and $, memoQ will show all segments containing such numbers amid other text.
If you need to filter numbers with comma (like 1,500, or 15,00, or 150,0, etc.), just replace . with , in the same regex.

[Edited at 2021-05-10 23:29 GMT]
Collapse


 
Anthony Rudd
Anthony Rudd

Local time: 00:08
German to English
+ ...
Number only segments May 14, 2021

Why not use the simpler regex:
^\d+$
It can also be easily extended to match decimal numbers, such as 1.23 or even with thousand separators.


 
Tomasz Sienicki
Tomasz Sienicki  Identity Verified
Denmark
Local time: 00:08
Member (2007)
Danish to Polish
+ ...
Why not use the simpler regex May 14, 2021

Anthony Rudd wrote:

Why not use the simpler regex:


Because:

1-22

[23]

(3)

4+

!2

3-3/3

~2

6.6.3

^3*5…

4:5

Such strings normally don't require any translation; my solution takes care of them.


Stepan Konev
 


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


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

Mass confirmation of number-only segments after MT






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 »
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! »