HFST-SPLIT(1)

πŸ“¦
version 3.17.1 Β· 2 versions
  • 3.17.1 Β· debian bookworm, debian trixie, nixos 26.05, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 3.17.3 Β· nixpkgs unstable
, in debian bookworm, debian trixie, nixos 26.05, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 Β© 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