HFST-XFST(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

πŸ’– NAME πŸ’–

okay so welcome to the hfst-xfst(1) page, filed under User Commands β€” this is the whole vibe for hfst-xfst, and bestie, what it does is compile XFST scripts or execute XFST commands interactively. that's it, that's the whole personality. πŸŽ€


✨ SYNOPSIS ✨

hfst-xfst [OPTIONS...]

like. that's it. give it options, or don't, she's flexible. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

hfst-xfst compiles XFST scripts, or it runs XFST commands interactively, or honestly both depending on your mood. main character energy either way. πŸ‘‘

🌸 Common options:

  • -h, --help β€” prints the help message. the "hey bestie here's what I can do" moment.
  • -V, --version β€” prints version info. the "who even am I" moment.
  • -v, --verbose β€” prints verbosely while processing. she will NOT stop talking and honestly? iconic.
  • -q, --quiet β€” only print fatal errors and whatever output you actually asked for. lowkey mode. 🀫
  • -s, --silent β€” literally just an alias of --quiet. same girl, different name. ✨

🧚 Xfst-specific options:

  • -e, --execute=CMD β€” execute command CMD on startup. like walking in the door already mid-sentence.
  • -E, --execute-and-quit=CMD β€” execute command CMD, and quit. does the thing and immediately leaves. no small talk. πŸ’€
  • -f, --format=FMT β€” write the result using FMT as the backend format.
  • -F, --scriptfile=FILE β€” read commands from FILE, and quit.
  • -l, --startupfile=FILE β€” read commands from FILE on startup.
  • -p, --pipe-mode[=STREAM] β€” control input and output streams.
  • -r, --no-readline β€” do not use the readline library for input. raw dogging the terminal, basically. 🫢
  • -w, --print-weight β€” print weights for each operation. the receipts. 🧾
  • -R, --restricted-mode β€” allow read and write operations only in the current directory, and do not allow system calls. she's on a leash and it's for everyone's safety. πŸ”’
ngl the --execute option can be invoked many times. stack 'em up bestie.

if FMT is not given, OpenFst's tropical format will be used. the possible values for FMT are { foma, openfst-tropical, openfst-log, sfst }. ✨

the Readline library, if it was enabled when configuring, is used for input by default. and input files are always treated as UTF-8. no cap, always. πŸ’–

STREAM can be { input, output, both }. if it's not given, it defaults to {both}. if the input file is not specified with -F, input is read interactively line by line from the user β€” yes, that means you, typing. 😭 if you redirect input from a file, use --pipe-mode=input. and heads up: --pipe-mode=output is ignored on non-windows platforms. periodt. πŸ’…


πŸ› REPORTING BUGS πŸ›

found a bug? first of all, thank you for your service 🫑 report it to <hfst-bugs@helsinki.fi> or straight to the bug tracker at <https://github.com/hfst/hfst/issues>.


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. read that again. NO WARRANTY. πŸ’€


and that's the whole page bestie, no crumbs left πŸ“ β€” this was HFST, from August 2018, and you were reading HFST-XFST(1) the entire time. slay, go compile something. πŸ’œβœ¨

πŸ“¦ where this page comes from