---
name: "lt-compose"
section: "1"
platform: "linux"
package: "lttoolbox-dev"
version: "3.8.0-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lt-compose"
---

# lt-compose(1)

compiled dictionary composition for Apertium

## NAME

**lt-compose** – compiled dictionary composition for Apertium

## SYNOPSIS

**lt-compose** *transducer1\_binary* *transducer2\_binary* *composed\_binary*

## DESCRIPTION

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

## SEE ALSO

[apertium(1)](/apertium/1.md), [apertium-tagger(1)](/apertium-tagger/1.md), [lt-comp(1)](/lt-comp/1.md), [lt-expand(1)](/lt-expand/1.md), [lt-print(1)](/lt-print/1.md), [lt-trim(1)](/lt-trim/1.md), [lt-proc(1)](/lt-proc/1.md)

## 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!
