lt-compose(1)

lt-compose1

Compiled dictionary composition for apertium

Usage

lt-compose transducer1_binary transducer2_binary composed_binary

Overview

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).

Options

-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.

Files

transducer1_binary

a finite state transducer

transducer2_binary

a finite state transducer

composed_binary

a finite state transducer

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Author

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: https://www.gnu.org/licenses/gpl.html.

Bugs

Many... lurking in the dark and waiting for you!

From lttoolbox-dev 3.8.0-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.