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