LT-COMPOSE(1)
π lt-compose β the compiled dictionary composition girlie of Apertium π
okay bestie, welcome to the lt-compose(1) page, manual section 1, General Commands Manual vibes only β¨
β¨ NAME β¨
lt-compose β compiled dictionary composition for Apertium π¦
π SYNOPSIS π
lt-compose transducer1_binary transducer2_binary composed_binary
π DESCRIPTION π
so lt-compose is the application in charge of composing two compiled dictionaries together, and what it does is match the output-side of transducer1 with the input-side of transducer2. iconic behaviour, truly.
by default, the matches are anchored to initial/final states β which means transducer2 has to match full paths. in regex terms? transducer2 is implicitly surrounded by ^ and $. periodt.
but wait, there's more π« there's also support for letting transducer2 match sub-paths of transducer1. when that happens, the matches become optional, which makes the composition a superset of transducer1. lowkey powerful.
and when we say matching sub-paths, we mean transducer2 can start matching in the midst of paths of transducer2 β yes bestie, it says transducer2 twice in the original and we're keeping it exactly like that. in regex terms, transducer2 is implicitly surrounded in .* on both sides. no cap.
πΈ OPTIONS πΈ
-i,--invertedβ apply transducer2 to the input-side (left) of transducer1 instead of the output-side. you'd reach for this when you're altering the forms of an analyser. it's giving "flip the script" π«Ά-a,--anywhereβ let transducer2 match sub-paths instead of requiring matching initial/final states. matches then become optional. freedom, honestly β¨-j,--jobsβ parallelise composition by using one cpu core per section of transducer1. you can also set the environment variableLT_JOBS=trueif you always want parallelisation wherever it's available in lttoolbox. multitasking queen π
π FILES π
- transducer1_binary β a finite state transducer
- transducer2_binary β a finite state transducer
- composed_binary β a finite state transducer
(three of them. all finite state transducers. we love consistency π)
π¦ SEE ALSO π¦
apertium(1), apertium-tagger(1), lt-comp(1), lt-expand(1), lt-print(1), lt-trim(1), lt-proc(1)
go read those too, they're the rest of the friend group π
π 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.
free software AND a license link? we stan a legally generous icon π
π BUGS π
Many... lurking in the dark and waiting for you!
not me reading that at 2am. bestie they are literally in the walls. π
and that's the whole page, you ate it up π written by Apertium, dated September 25, 2022, section 1 of the manual, mwah π β¨
π¦ where this page comes from
- debian bookworm: lttoolbox-dev 3.7.1-1+b2 Β· GPL-2.0-or-later
- debian trixie: lttoolbox-dev 3.8.0-2 Β· GPL-2.0-or-later
- nixos 26.05: lttoolbox 3.7.6
- nixpkgs unstable: lttoolbox 3.8.2
- opensuse-leap 16.0: lttoolbox 3.7.6-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lttoolbox 3.7.6-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lttoolbox 3.7.6-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lttoolbox 3.7.6-bp160.1.12 Β· GPL-2.0-or-later
- ubuntu noble: lttoolbox-dev 3.7.6-1build1 Β· GPL-2.0-or-later
- ubuntu questing: lttoolbox-dev 3.8.2-1
- ubuntu resolute: lttoolbox-dev 3.8.2-1build2 Β· GPL-2.0-or-later
- ubuntu stonking: lttoolbox-dev 3.8.3-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms