Quantcast
Channel: ProZ.com Translation Forums
Viewing all articles
Browse latest Browse all 7927

Segmentation issue involving reference numbers. My custom rule is not working

$
0
0
Forum: MemoQ support
Topic: Segmentation issue involving reference numbers. My custom rule is not working
Poster: BNN Medical Tr.

Previously, memoQ would not segment the following test sentence:

[quote]Era uma vez.¹ Vejam vocês.² Um passarinho feio.[/quote]

Where the reference numbers 1 and 2 were made with the superscript and subscript functions in Word.

I have added a segmentation rule for reference numbers by following [url= [url removed] ]this guide[/url], so that my test sentence became on memoQ:

[quote]Era uma vez.¹
Vejam vocês.²
Um passarinho feio.[/quote]

(For your convenience, the regex code used on the guide is: [b]\p{Ll}\.[\)\]”"]?\d+([-–,]\d+)?#!#[\s]+\p{Lu}[/b] )

The problem is, when I imported a file I have previously translated which also has references, the new segmentation rule isn't working! I even manually inserted some reference numbers and re-tested, and still the phrase will not be segmented after the number. See screenshot:

The "1" after "LLC" was inserted in exactly the same way as in the test file. Why could it be working with my test file, but not the old file?

Thank you!

[Edited at 2017-08-24 21:46 GMT]

[Edited at 2017-08-24 21:48 GMT]

Viewing all articles
Browse latest Browse all 7927

Trending Articles