Difference between revisions of "Multitrans"
Jump to navigation
Jump to search
(Created page with "'''multitrans''' is a program found in apertium-lex-tools, used as a helper when training (see Learning rules from parallel and non-parallel corpora). <pre> multitrans sl...") |
|||
Line 1: | Line 1: | ||
'''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''' is a program found in apertium-lex-tools, used as a helper when training (see [[Learning rules from parallel and non-parallel corpora]]). |
||
==-b== |
|||
<pre> |
<pre> |
||
multitrans sl-tl.autobil.bin -b |
multitrans sl-tl.autobil.bin -b |
||
Line 6: | Line 7: | ||
is equivalent to doing <code>lt-proc -b sl-tl.autobil.bin</code> if the input consists of just correctly formatted lexical units (lt-proc -b fails on some misformattings that multitrans ignores). |
is equivalent to doing <code>lt-proc -b sl-tl.autobil.bin</code> if the input consists of just correctly formatted lexical units (lt-proc -b fails on some misformattings that multitrans ignores). |
||
==-p== |
|||
<pre> |
<pre> |
||
multitrans sl-tl.autobil.bin -p -t |
multitrans sl-tl.autobil.bin -p -t |
Revision as of 12:43, 29 April 2015
multitrans is a program found in apertium-lex-tools, used as a helper when training (see Learning rules from parallel and non-parallel corpora).
-b
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).
-p
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 ^kake<n><f><*>$