computerline1z / okapi

Automatically exported from code.google.com/p/okapi
0 stars 0 forks source link

Inconsitent handling of <bx pos="begin" in extraction to moses inline format #409

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the attached test-tikalu.tmx file.
2. Run the extraction into moses inline (wiht two files as output) :

 tikal.sh -xm test-tiaklu.tmx -sl EN-Us -tl CS_CZ -2 

3. Expected : the <bx pos="begin"> will be exported as <bx id="1"/> in both 
English and Czech file.

4. Examined: In Czech file the result is <g id="1">.

Important - this inconsitency breaks functionality of other tools (m4loc for 
example) as apparently the g tag is not closed.

I would appreciate 

See attached test-tikalu.tmx.en-us and test-tikalu.tmx.cs-cz. 

Tested on M24 an M25 in Suse Linux , but no difference found.

Original issue reported on code.google.com by toma...@moravia.com on 16 Jul 2014 at 4:31

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, looks like a possible bug in the TMX filter.

Original comment by fli...@enlaso.com on 19 Jul 2014 at 5:50

GoogleCodeExporter commented 9 years ago
Fredrik fixed the issue.
The latest snapshot has the fix.

Original comment by yves.sav...@gmail.com on 25 Jul 2014 at 11:02