HFST-SPLIT(1)
β¨ HFST-SPLIT(1) β¨
okay bestie, welcome to the HFST manual, section 1 (User Commands) π
this one's about hfst-split, and it's literally the friend who splits your giant pile of transducers into separate lil files with names that actually make sense π
πΈ NAME πΈ
hfst-split β =Extract transducers from archive with systematic file names
π¦ SYNOPSIS π¦
hfst-split [OPTIONS...] [INFILE]
π DESCRIPTION π
Extract transducers from archive with systematic file names π«Ά like, you feed it a whole archive of transducers and it hands them back to you one by one, each in its own file, all named in a nice orderly way. no chaos. we love to see it β¨
π Common options:
-h,--helpβ Print help message π-V,--versionβ Print version info β-v,--verboseβ Print verbosely while processing π like, it tells you everything it's doing, no secrets-q,--quietβ Only print fatal erros and requested output π (yes, that's spelled exactly like that, iykyk)-s,--silentβ Alias of--quietπ€« same energy, different name
π Input/Output options:
-i,--input=INFILEβ Read input transducer from INFILE π₯-p,--prefix=PREβ Use the prefix PRE in naming output files π·οΈ-e,--extension=EXTβ Use the extension EXT in naming output files π
If INFILE is omitted or -, stdin is used. If PRE is omitted, no prefix is used. If EXT is omitted, .hfst is used. The extracted files are named "PRE" + N + "EXT", where N is the number of the transducer in the archive π§ so cute, so systematic, so iconic.
π An example:
cat transducer_a transducer_b | hfst-split -p "rule" -e ".tr"
This command creates files "rule1.tr" (equivalent to transducer_a) and "rule2.tr" (equivalent to transducer_b) π₯ like, boom, split, slay.
π REPORTING BUGS π
found something cursed? Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues> π
hfst-split home page: <https://github.com/hfst/hfst/wiki/HfstSplit>
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. (that's the dramatic part, bestie β no cap, it really says that π«Ά)
fr fr, that's the whole page. go split some transducers, you main character π
later, legend π β this was the HFST manual, hfst-split(1), from August 2018 β¨
π¦ 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