computerline1z / okapi

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

TextUnitMerger removes codes in target not found in source... #435

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
setting addMissingCodes to true does fix this case, but what does it break?

nput:
<source><x id="x1"/><x id="x2"/>Implementation Plan for XTM/Palau</source>
<target state="translated"><x id="x3"/><x id="x2"/>BAD FR2__Implementation Plan 
for XTM/Palau</target>

New Merger:
<source><x id="x1"/><x id="x2"/>Implementation Plan for XTM/Palau</source>
<target state="translated"><x id="x2"/>Implementation Plan for 
XTM/Palau</target>

Legacy Merger:
<source><x id="x1"/><x id="x2"/>Implementation Plan for XTM/Palau</source>
<target state="translated"><x id="x1"/><x id="x2"/>Implementation Plan for 
XTM/Palau</target>

Original issue reported on code.google.com by jhargrav...@gmail.com on 21 Jan 2015 at 12:31