HFST-COMPOSE(1)
π HFST-COMPOSE β bestie, we're composing transducers β¨
okay so real talk: this page lives in the User Commands section of the manual, and it's all about hfst-compose. no cap, it's a whole vibe.
π SYNOPSIS
hfst-compose [OPTIONS...] [INFILE1 [INFILE2]]
π DESCRIPTION
Compose two transducers. that's it. that's the whole job. and honestly? it eats. π«Ά
π Common options:
-h,--helpβ prints the help message, aka the "bestie explain" button π-V,--versionβ prints version info, so you know exactly what you're working with π-v,--verboseβ print verbosely while processing, like it's telling you its whole day π£οΈ-q,--quietβ only prints fatal errors and the output you actually asked for π€«-s,--silentβ literally just an alias of--quiet. same energy, different letter β¨
π¦ Input/Output options:
-1,--input1=INFILE1β read the first input transducer from INFILE1 π₯-2,--input2=INFILE2β read the second input transducer from INFILE2 π₯-C,--do-not-convertβ do not let transducers be converted into the same type. nope, not today π«-o,--output=OUTFILEβ write the results to OUTFILE π€
π₯ Composition options:
-x,--xerox-composition=VALUEβ controls whether flag diacritics are treated as ordinary symbols in composition (default isfalse). it's giving "do the rules even apply to me" energy π-X,--xfst=VARIABLEβ toggles the xfst compatibility option VARIABLE. flip the switch, bestie ποΈ
πΈ Harmonization:
-H,--do-not-harmonizeβ do not harmonize symbols. leave them exactly as they are, main character behavior π-F,--harmonize-flagsβ harmonize flag diacritics. yes we're matching them up, it's a group chat now π«
okay so the important stuff about streams, no skipping: if OUTFILE, or either INFILE1 or INFILE2, is missing or -, then standard streams get used instead. but listen β INFILE1, INFILE2, or both must be specified. that part is not optional, periodt. π
the format of the result depends on the format of INFILE1 and INFILE2, and bestie, both of them should have the same format. matching outfits only π
the operation is applied pairwise for INFILE1 and INFILE2, which must have the same number of transducers. and if INFILE2 has only one transducer? iconic β the operation gets applied to each transducer in INFILE1 while keeping that second transducer constant. one of them just gets to chill π
xfst variables are {flag-is-epsilon (default OFF)}. and VALUE can be one of these: [true|false], [yes|no] or [ON|OFF] β with false being the default. lowkey a lot of ways to say no but we respect the range π
β EXAMPLES
hfst-compose -o cat2dog.hfst cat2mouse.hfst mouse2dog.hfst
composes two automata π±β‘οΈπβ‘οΈπΆ and yes, the glow-up pipeline is real.
π REPORTING BUGS
found a bug? don't suffer in silence, bestie. report bugs to <hfst-bugs@helsinki.fi> or directly to the bug tracker at: <https://github.com/hfst/hfst/issues> π
- hfst-compose home page: <https://github.com/hfst/hfst/wiki/HfstCompose>
- general help using HFST software: <https://github.com/hfst/hfst/wiki>
π COPYRIGHT
Copyright Β© 2017 University of Helsinki, License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
this is free software: you are free to change and redistribute it. and there is NO WARRANTY, to the extent permitted by law. (fr fr, no warranty. read it and weep π« )
and that's the whole page, bestie!! this was the HFST manual page for hfst-compose, dated August 2018, written by the HFST girlies π
β¨ go compose something iconic, ily, bye!! ππ¦π
π¦ where this page comes from
- debian bookworm: hfst 3.16.0-5 Β· GPL-3.0-or-later
- debian trixie: hfst 3.16.2-1+b1 Β· GPL-3.0-or-later
- nixos 26.05: hfst 3.16.2
- opensuse-leap 16.0: hfst 3.16.0-bp160.1.11 Β· Apache-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND GPL-3.0-only
- ubuntu jammy: hfst 3.15.4-2 Β· GPL-3.0-or-later
- ubuntu noble: hfst 3.16.0-5build4 Β· GPL-3.0-or-later
- ubuntu questing: hfst 3.16.2-1
- ubuntu resolute: hfst 3.16.2-1build2 Β· GPL-3.0-or-later
- ubuntu stonking: hfst 3.17.1-6 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms