From Apertium
Revision as of 12:43, 29 April 2015 by Unhammer (talk | contribs)
Jump to navigation Jump to search

multitrans is a program found in apertium-lex-tools, used as a helper when training (see Learning rules from parallel and non-parallel corpora).


multitrans sl-tl.autobil.bin -b

is equivalent to doing lt-proc -b sl-tl.autobil.bin if the input consists of just correctly formatted lexical units (lt-proc -b fails on some misformattings that multitrans ignores).


multitrans sl-tl.autobil.bin -p -t

will trim the tags to what the bidix has, so if bidix has an entry for kake<n><f>, you'll get

$ echo '^kake<n><f><sg><def>$' |multitrans nno-nob.autobil.bin -p -t