lt-compose
—
compiled dictionary composition for Apertium
lt-compose |
transducer1_binary
transducer2_binary
composed_binary |
lt-compose
is the application responsible
for composing two compiled dictionaries, matching the output-side of
transducer1 with the input-side of transducer2. By default, matches are
anchored to initial/final states, so the transducer2 has to match full paths
(in regex terms, transducer2 is implicitly surrounded by ^ and $). But there
is also support for letting transducer2 match sub-paths of transducer1 (in
which matches become optional, making the composition a superset of
transducer1). Matching sub-paths means that transducer2 can start matching
in the midst of paths of transducer2 (in regex terms, transducer2 is
implicitly surrounded in .* on both sides).
-i
,
--inverted
- Apply transducer2 to the input-side (left) of transducer1 instead of the
output-side. You would do this when altering the forms of an
analyser.
-a
,
--anywhere
- Allow transducer2 to match sub-paths instead of requiring matching
initial/final states. Matches then become optional.
-j
,
--jobs
- Parallelise composition by using one cpu core per section of transducer1.
You can also set the environment variable LT_JOBS=true if you always want
parallelisation where available in lttoolbox.
- transducer1_binary
- a finite state transducer
- transducer2_binary
- a finite state transducer
- composed_binary
- a finite state transducer
Copyright © 2005-2022 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.
Many... lurking in the dark and waiting for you!