*Note: the fourth item uses the Unicode character for [Roman numeral four][2].*
--
You received this message because you are subscribed to the Google Groups "okapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-devel/6cbaccbb-1041-4cb6-8c64-0388ac950a83n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-devel/f47ec6a4-4af1-4db7-b8e5-40757d0aaea0n%40googlegroups.com.
Yes, the second pass keeps the "*" tags OPEN/CLOSE but the char marker in TextFragment is changed to isolated.
I found this with the integration tests which reproduce a realistic pipeline - the code matcher found the differences and complained. That's the easiest way to test it. Just drop a new file in with the example string and create a new test case for that specific file.
--
You received this message because you are subscribed to the Google Groups "okapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-devel/3c039ec3-6db4-4006-a3f0-ca7e73fedc0fn%40googlegroups.com.
$ ./tikal.sh -m test.md.xlf
...
Merging
...
Code mismatch in TextUnit tu1
Can't find matching Code(s) id='3' originalId='' data='<g id=3>', Closing data='2'
Can't find matching Code(s) id='3' originalId='3' data='</g>'
Can't find matching Code(s) id='1' originalId='' data='*'
Done in 1.635s
$ cat test.out.md
Note: the fourth item uses the Unicode character for [Roman numeral four][2.]
$ cat test.md
*Note: the fourth item uses the Unicode character for [Roman numeral four][2].*
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-devel/52cc0080-fb96-425b-92ab-a76cfe43eca4n%40googlegroups.com.
Code mismatch in TextUnit tu1
Can't find matching Code(s) id='1' originalId='' data='</Xpt>'
Can't find matching Code(s) id='1' originalId='' data='*'
Code mismatch in TextUnit tu1
Can't find matching Code(s) id='1' originalId='' data='</Xpt>'
Can't find matching Code(s) id='4' originalId='' data=']'
$ cat test.out.md
*Note: the fourth item uses the Unicode character for [Roman numeral four][2.
$ cat test.md
*Note: the fourth item uses the Unicode character for [Roman numeral four][2].*
// Filter events to raw document final step (using the XLIFF writer)
FilterEventsWriterStep fewStep = new FilterEventsWriterStep();
XLIFFWriterParameters paramsXliff;
XLIFFWriter writer = new XLIFFWriter();
fewStep.setFilterWriter(writer);
paramsXliff = writer.getParameters();
paramsXliff.setPlaceholderMode(true); <---- Change to false to get full bpt/ept tags
paramsXliff.setCopySource(extOptCopy);
paramsXliff.setIncludeAltTrans(extOptAltTrans);
paramsXliff.setIncludeCodeAttrs(extOptCodeAttrs);
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-devel/989da180-76f2-42bc-b7b3-962179cbf8a6n%40googlegroups.com.
<source xml:lang="en"><it id="1" pos="open">*</it>Note: the fourth item uses the Unicode character for <bpt id="2">[</bpt>Roman numeral four<ept id="2">]</ept><bpt id="3">[</bpt><ept id="3">2</ept><it id="4" pos="close">]</it>.<it id="1" pos="close">*</it></source>
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-devel/0f3f619d-9829-4f65-a635-e741afe9e854n%40googlegroups.com.
Thanks Kuro!
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-devel/a7d2c030-29bd-4cf3-86be-8909d88eb20dn%40googlegroups.com.