dictionary_file
The input dictionary.
Augmented letter transducer compiler for apertium
lt-comp {[{-a | -v | -l | -r | -m | -h}]
lr | rl
dictionary_file
output_file
[acx_file]}
lt-comp is the application responsible for compiling dictionaries used by lt-proc(1) in Apertium into a compact and efficient representation (a class of finite-state transducers called augmented letter transducers).
-a, --alt
Sets the value of the alt attribute to use in compilation.
Note that if no value is set, all entries containing an alt attribute are omitted.
-v, --var
Sets the value of the v attribute to use in compilation. This should only be used with monodixes; for bidixes, see -l and -r.
Note that if no value is set, all entries containing a v attribute are considered to be left-to-right.
-l, --var-left
Sets the value of the vl attribute for use in compilation of bidixes. “Left” here refers to the side of the dictionary, so this option is only valid in rl mode.
-r, --var-right
Sets the value of the vr attribute for use in compilation of bidixes. “Right” here refers to the side of the dictionary, so this option is only valid in lr mode.
-m, --keep-boundaries
Keep any morpheme boundaries defined by the '<m/>' symbol
-H, --hfst
expect HFST symbols
-S, --no-split
don't attempt to split into word and punctuation transducers
-j, --jobs
Parallelise minimisation by using one cpu core per section. By default, this also creates a new section after 50.000 entries. You can override this number by setting the environment variable LT_MAX_SECTION_ENTRIES to some number. If set to 0, sections are never split (but kept exactly as in the dix file). You can also set the environment variable LT_JOBS=true if you always want parallel minimisation even if lt-comp was called without this option.
-h, --help
Prints a short help message.
lrThe resulting transducer will process dictionary entries left-to-right.
rlThe resulting transducer will process dictionary entries right-to-left.
dictionary_file
The input dictionary.
output_file
The compiled dictionary (a finite state transducer).
acx_file
Optional XML file of equivalent characters in monodices.
10 releases since Debian 4.0 (Etch); the text changed 6 times.
--alt since Debian 9 (Stretch);
--help since Debian 9 (Stretch);
--hfst since Debian 12 (Bookworm);
--jobs since Debian 12 (Bookworm);
--keep-boundaries since Debian 11 (Bullseye);
--no-split since Debian 12 (Bookworm);
--var since Debian 9 (Stretch);
--var-left since Debian 9 (Stretch);
--var-right since Debian 9 (Stretch);
-H since Debian 12 (Bookworm);
-S since Debian 12 (Bookworm);
-a since Debian 9 (Stretch);
-h since Debian 9 (Stretch);
-j since Debian 12 (Bookworm);
-l since Debian 9 (Stretch);
-m since Debian 11 (Bullseye);
-r since Debian 9 (Stretch);
-v since Debian 9 (Stretch).