-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strange lt-tmxproc number copying #191
Comments
So apparently the tmx handling has this fancy feature for aligning translations even if there are numbers that might differ: $ lt-print test.tmx.bin
0 1 f f 0.000000
1 2 o o 0.000000
2 3 o o 0.000000
3 4 0.000000
4 5 <n> @ 0.000000
5 6 ε ( 0.000000
6 7 ε 1 0.000000
7 8 ε ) 0.000000
8 0.000000 lttoolbox/lttoolbox/fst_processor.cc Lines 281 to 303 in 39db772
Maybe handy if you have big tmx files with things like "Stock market things went up by 999 % in Q5" and you want to use that even if they went up by just 234 %. But it probably shouldn't copy the previous number – the alignment shouldn't look at stuff outside the matched segment. (And we may want to turn it off completely too?) |
Lines 714 to 749 in 39db772
😱 |
This: |
why does it match numbers that are not 1, and why does it "copy" previously seen numbers? 😵💫
The text was updated successfully, but these errors were encountered: