From Apertium
Jump to: navigation, search
apertium-cleanstream removes superblanks and such from the Apertium Stream Format, and with the -n option puts each lexical unit on one line, so ^foo/bar<n>$[<b>]^fie/fum<vblex>$ ^./.<sent>$ sent through apertium-cleanstream -n turns into

Check out, compile and install like this (no prerequisites apart from g++):

$ svn co
$ make
$ sudo cp apertium-cleanstream /usr/local/bin
Personal tools