HFST-TXT2FST(1)
π HFST-TXT2FST β the manual page, bestie edition π
okay so real talk: this is the hfst-txt2fst manual page, section 1 of User Commands. She's from the HFST family, she takes an AT&T or prolog format file and she turns it into a binary transducer. Glow-up complete. β¨
πΈ NAME πΈ
hfst-txt2fst β =Convert AT&T or prolog format into a binary transducer
(no fr, that stray = at the start of the description is literally in the original, I'm not touching it, she's iconic as she is π«Ά)
β¨ SYNOPSIS β¨
hfst-txt2fst [OPTIONS...] [INFILE]
π DESCRIPTION π
Convert AT&T or prolog format into a binary transducer. That's the whole job. She does one thing and she ate. π
π Common options:
-h,--helpβ Print help message-V,--versionβ Print version info-v,--verboseβ Print verbosely while processing (she will narrate, and honestly? let her)-q,--quietβ Only print fatal erros and requested output-s,--silentβ Alias of--quiet
π¦ Input/Output options:
-i,--input=INFILEβ Read input transducer from INFILE-o,--output=OUTFILEβ Write output transducer to OUTFILE
π Text and format options:
-f,--format=FMTβ Write result using FMT as backend format-e,--epsilon=EPSβ Interpret string EPS as epsilon in att format-p,--prologβ Read prolog format instead of att-j,--disjunctβ Disjunct multiple transducers in input
π§ Other options:
-C,--check-negative-epsilon-cyclesβ Issue a warning if there are epsilon cycles with a negative weight in the transducer
β οΈ okay the fine print, and this part is important so pay attention bestie:
If OUTFILE or INFILE is missing or -, standard streams will be used. If FMT is not given, OpenFst's tropical format will be used. The possible values for FMT are { foma, openfst-tropical, openfst-log, sfst, optimized-lookup-weighted, optimized-lookup-unweighted }. If EPS is not given, @0@ will be used.
Space in transition symbols must be escaped as '@_SPACE_@' when using att format. no cap, the space will simply not behave otherwise π
π REPORTING BUGS π
Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>
hfst-txt2fsthome page: <https://github.com/hfst/hfst/wiki/HfstTxt2Fst>- 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.
and that's the whole page, bestie π this one's HFST, dated August 2018, and it lives at HFST-TXT2FST(1). go forth and convert, you absolute main character πβ¨
π¦ 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