Hi, Kevin! Yes we have the same result with cat file.txt | sed -r 's/$/\n\n\n\n\n\n\n\n\n\n/' | apertium -n -d ./apertium-tat tat-tagger > file.txt
Am So., 4. Nov. 2018 um 15:00 Uhr schrieb Kevin Brubeck Unhammer < unham...@fsfe.org>: > mansur <6688...@gmail.com> čálii: > > > Hello! > > > > I have a very big file (some millions of lines) with one sentence per > line. > > > > When I run Apertium's tagger sometimes it merges those lines. I tried to > > insert empty lines between real lines and it merged fewer lines. I > inserted > > 10 empty lines and it merges even fewer lines, but there are some merging > > what is not acceptable for me. What can I do to stop merging lines? > > > > cat file.txt | sed -r 's/$/\n\n\n\n\n\n\n\n\n\n/' | apertium -n -d > > ./apertium-tat tat-tagger | cg-proc ./apertium-tat/dev/mansur.bin > > file.txt > > Does tat-tagger without cg-proc do it too? > _______________________________________________ > Apertium-stuff mailing list > Apertium-stuff@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/apertium-stuff >
_______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff