LT-COMP(1)
π lt-comp β the Apertium dictionary compiler, bestie edition π
okay so this is the lt-comp(1) page from the General Commands Manual, and I'm about to make it make sense for you. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
lt-comp β augmented letter transducer compiler for Apertium. yes it's a mouthful, no you don't have to say it out loud at parties.
β¨ SYNOPSIS β¨
lt-comp [-a | -v | -l | -r | -m | -h] lr | rl dictionary_file
output_file [acx_file]
look at that little command. so small. so powerful. π
β¨ DESCRIPTION β¨
lt-comp is the application that compiles the dictionaries lt-proc(1) uses in Apertium into a compact and efficient representation. the vibe? a whole class of finite-state transducers called augmented letter transducers. that's the glow-up. that's the transformation arc. π₯
β¨ OPTIONS β¨
-a,--altβ sets the value of thealtattribute to use in compilation. π heads up though: if you set no value, every entry that has analtattribute gets omitted. gone. not invited. no cap.-v,--varβ sets the value of thevattribute to use in compilation. this one is monodixes only, bestie β for bidixes you want-land-rinstead, scroll down. and note: if no value is set, every entry with avattribute is considered left-to-right.-l,--var-leftβ sets the value of thevlattribute for use in compilation of bidixes. "Left" here means the side of the dictionary, so this option is only valid inrlmode. periodt.-r,--var-rightβ sets the value of thevrattribute for use in compilation of bidixes. "Right" here means the side of the dictionary, so this option is only valid inlrmode. twin of the one above, opposite energy. π¦-m,--keep-boundariesβ keep any morpheme boundaries defined by the'<m/>'symbol. don't let them get lost in the shuffle. π-H,--hfstβ expect HFST symbols.-S,--no-splitβ don't attempt to split into word and punctuation transducers. sometimes you just want to leave things whole, yk?-j,--jobsβ parallelise minimisation by using one cpu core per section. π by default, this also creates a new section after50.000entries. you can override this number by setting the environment variableLT_MAX_SECTION_ENTRIESto some number. if set to0, sections are never split (but kept exactly as in the dix file). you can also set the environment variableLT_JOBS=trueif you always want parallel minimisation even iflt-compwas called without this option. main character energy fr fr.-h,--helpβ prints a short help message. iconic behaviour.lrβ the resulting transducer will process dictionary entries left-to-right. β‘οΈrlβ the resulting transducer will process dictionary entries right-to-left. β¬ οΈ
β¨ FILES β¨
dictionary_fileβ the input dictionary. the raw material. the before picture. β¨output_fileβ the compiled dictionary (a finite state transducer). the after picture. πacx_fileβ optional XML file of equivalent characters in monodices.
β¨ SEE ALSO β¨
apertium(1), apertium-tagger(1), lt-expand(1), lt-proc(1)
the friend group. the ensemble cast. go say hi to all of them. π«Ά
β¨ COPYRIGHT β¨
Copyright Β© 2005, 2006 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! π
not me warning you about the bugs like they're the monster under the bed. they are though. they literally are. π
apertium made this one, the manual page is dated March 8, 2006, and that's the whole thing bestie β go compile something cute. ππΈπ¦
π¦ 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