HFST-APERTIUM-PROC(1)
πΈ NAME πΈ
hfst-apertium-proc β bestie, this is the transducer-lookup queen π and here's literally the usage line that comes with her:
=Usage: hfst-proc [-a [-p|-C|-x] [-k]|-g|-n|-d|-t] [-W] [-n N] [-c|-w] [-z] [-v|-q|]
β¨ SYNOPSIS β¨
hfst-proc [-a [-p|-C|-x] [-k]|-g|-n|-d|-t] [-W] [-n N] [-c|-w] [-z]
[-v|-q|]
π DESCRIPTION π
okay so, plot twist: the actual positional args go like this π«Ά
transducer_file [input_file [output_file]]
She performs a transducer lookup on a text stream, tokenizing on the fly β¨ β the whole thing, live, no cap.
π¨ real talk: the transducer must be in HFST optimized lookup format. No optimized lookup format? It's giving nothing, and she will not run. π
π OPTIONS π
-a,--analysisβ morphological analysis, and yes she's the default, main character energy π-g,--generationβ morphological generation, we're going the other way now π¦-n,--non-marked-genβ morph. generation but without the unknown word marks πΈ-d,--debugged-genβ morph. generation where literally everything gets printed, no secrets π-t--tokenizeβ tokenize the input stream into symbols (this one's for debugging, bestie) π-p--apertiumβ Apertium output format for analysis (default, iconic) β¨-C--cgβ Constraint Grammar output format for analysis π-x,--xeroxβ Xerox output format for analysis π-e,--do-compoundsβ treat'+'and'#'as compound boundaries β-k,--keep-compoundsβ keep those compound analyses even when analyses with fewer compound-boundaries are available (she's loyal like that) π-W,--show-weightsβ print the final analysis weights, if there are any π₯-r,--show-raw-in-cgβ print the raw analysis string as a sub-reading in CG output π-N N,--analyses=Nβ output no more than N analyses (and if the transducer is weighted, it's the N best analyses, periodt) π--weight-classes Nβ output no more than N best weight classes (where analyses with equal weight constitute a class) π-c,--case-sensitiveβ perform lookup using the literal case of the input characters, exactly as written π€-w--dictionary-caseβ output results using dictionary case instead of surface case π§-z--null-flushβ flush output on the null character π§-v,--verboseβ be verbose, tell us everything π£οΈ-q,--quietβ don't be verbose (default β she's chill like that) π€«-V,--versionβ print version information π-h,--helpβ print this help message π-X,--rawβ do not perform any mangling to: case, ``superblanks'' or anything else!!! like, hands off, no edits, raw as she came π
π REPORTING BUGS π
Found a bug? not the vibe. Report bugs to hfst-bugs@helsinki.fi π¬
and for the record, the version flex on this one:
hfst-proc 0.0 (hfst 3.12.2)
Mar 23 2017 15:03:05 copyright (C) 2009-2011 University of Helsinki
okay that's the whole page, bestie π this one came from the HFST girlies, dated March 2017, and she ate fr fr. go tokenize something pretty π¦β¨
π¦ 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
- nixpkgs unstable: hfst 3.17.3
- 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