HFST-FST2FST(1)
πΈ HFST-FST2FST(1) πΈ
okay bestie, welcome to the hfst-fst2fst page from the HFST manual β it's a User Commands one, and it's literally the glow-up station for your transducers β¨
π NAME π
hfst-fst2fst β converts transducers between binary formats π¦
β¨ SYNOPSIS β¨
hfst-fst2fst [OPTIONS...] [INFILE]
π DESCRIPTION π
So basically: it converts transducers between binary formats. That's the whole vibe. You hand it a transducer, it hands you back a transducer in a different binary format. iconic behavior, no notes π
π Common options: π
-h,--helpβ prints the help message, your lil cheat sheet π«Ά-V,--versionβ prints version info, so you know what era of HFST you're living in-v,--verboseβ prints stuff verbosely while it's processing, so it yaps the whole time π¬-q,--quietβ only prints fatal erros and requested output. yes, that's "erros" β we keep the original spelling, it's part of the lore π-s,--silentβ alias of--quiet, same energy, different letter π€«
π§ Input/Output options: π§
-i,--input=INFILEβ reads the input transducer from INFILE-o,--output=OUTFILEβ writes the output transducer to OUTFILE
π Conversion options: π
-f,--format=FMTβ writes the result in FMT format-b,--use-backend-formatβ writes the result in implementation format, without any HFST wrappers (raw, unfiltered, main character energy)-S,--sfstβ writes output in (HFST's) SFST implementation-F,--fomaβ writes output in (HFST's) foma implementation-x,--xfsmβ writes output in native xfsm format-t,--openfst-tropicalβ writes output in (HFST's) tropical weight (OpenFST) implementation-l,--openfst-logβ writes output in (HFST's) log weight (OpenFST) implementation-O,--optimized-lookup-unweightedβ writes output in the HFST optimized-lookup implementation-w,--optimized-lookup-weightedβ writes output in optimized-lookup (weighted) implementation-Q --quickβ when converting to optimized-lookup, doesn't try hard to compress. low effort, on purpose, we respect it π
okay so, housekeeping stuff:
If OUTFILE or INFILE is missing or is -, standard streams will be used. π«§
The format of the result depends on the format of INFILE. FMT must be the name of a format usable by libhfst, i.e. one of the following:
{ foma, openfst-tropical, openfst-log, sfst, xfsm
optimized-lookup-weighted, optimized-lookup-unweighted }
β οΈ heads up bestie: note that xfsm format is always written in native format without HFST wrappers. no wrapping, no bow, just the format itself π
π REPORTING BUGS π
Found a bug? Tell the devs, they wanna know fr fr:
- Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>
hfst-fst2fsthome page: <https://github.com/hfst/hfst/wiki/HfstFst2Fst>- 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. There is NO WARRANTY, to the extent permitted by law. (fr fr, no warranty, read it and weep π)
and that's the whole page, babe π stay slay, convert responsibly, and remember: this was HFST, dated August 2018, from the HFST era of the manual πβ¨
π¦ 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