HFST-XFST(1)
π 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>.
- hfst-xfst home page:
<https://github.com/hfst/hfst/wiki/HfstXfst2Fst> - 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. 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
- 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