Tikal: Wrong conversion of <bpt> and <ept> tag pair converting TMX to MXLF
Issue #541
new
Tikal command: ./tikal-0.29/tikal.sh -xm okapi-confusion.tmx -sl en-us -to okapi-confusion.tmx.mxlf.en-us
TMX source segment: The <bpt i="1" type="10001" x="2" />return<ept i="1" /> icon is disabled on the <bpt i="2" type="10001" x="2" />HOME<ept i="2" /> screen.
Is wrongly converted to: The <g id="2">return<ex id="1"/> icon is disabled on the <g id="2">HOME</g> screen.
Should be converted: The <g id="1">return</g> icon is disabled on the <g id="2">HOME</g> screen.
Issue has been verified.
classes involved:
net.sf.okapi.steps.moses.ExtractionStep
and/ornet.sf.okapi.filters.mosestext.MosesTextFilterWriter
. The issue is likely in thetoMosesText
method. If not, it's a problem in the main object model or the TMX Reader.