![]() |
![]()
| ![]() |
![]()
NAMElt-trim —
compiled dictionary trimmer for Apertium
SYNOPSIS
DESCRIPTIONlt-trim is the application responsible for trimming
compiled dictionaries. The analyses (right-side when compiling lr) of
analyser_binary are trimmed to the input side of bidix_binary (left-side when
compiling lr, right-side when compiling rl), such that only analyses which
would pass through
‘lt-proc(1)
-b bidix_binary ’ are
kept.
Warning: this program is experimental! It has been tested, but not deployed extensively yet. Both compound tags (“<compound-only-L>”, “<compound-R>”) and join elements (“<j/>” in XML, “+” in the stream) and the group element (“<g/>” in XML, “#” in the stream) should be handled correctly, even combinations of + followed by # in monodix are handled. Some minor caveats: If you have the capitalised lemma
“Foo” in the monodix, but “foo” in the bidix, an
analysis “^Foo<tag>$” would pass through bidix when
doing
lt-proc(1)
You should not trim a generator unless you have a very simple translator pipeline, since the output of bidix seldom goes unchanged through transfer. FILES
SEE ALSOapertium(1), apertium-tagger(1), lt-comp(1), lt-expand(1), lt-print(1), lt-proc(1)AUTHORCopyright © 2005, 2006 Universitat d'Alacant / Universidad de Alicante. This is free software. You may redistribute copies of it under the terms of the GNU General Public License.BUGSMany... lurking in the dark and waiting for you!
|