HFST-GUESSIFY(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-guessify ✨

okay bestie, gather round πŸ’– this is the manual page for hfst-guessify, a lil User Commands icon that lives in section 1. she has one job and she does it flawlessly.


🌸 NAME 🌸

hfst-guessify β€” =Compile a morphological analyzer into a guesser and generator.

yes the little = is literally in the original, we don't ask questions, we just respect the source πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

hfst-guessify [OPTIONS...] [INFILE]

πŸ¦‹ DESCRIPTION πŸ¦‹

Compile a morphological analyzer into a guesser and generator. that's it, that's the whole vibe. she takes your analyzer and turns it into a guesser + generator duo. main character energy fr fr πŸ‘‘

⭐ Common options:

  • -h, --help β€” Print help message
  • -V, --version β€” Print version info
  • -v, --verbose β€” Print verbosely while processing
  • -q, --quiet β€” Only print fatal errors and requested output
  • -s, --silent β€” Alias of --quiet

🌈 Input/Output options:

  • -i, --input=INFILE β€” Read input transducer from INFILE
  • -o, --output=OUTFILE β€” Write output transducer to OUTFILE

πŸ’œ Guesser options:

  • -p, --default-penalty β€” Give penalty for skipping one symbol of input (1.0 by default).
  • -G, --do-not-compile-generator β€” When compiling the guesser, do not compile a model form generator.

okay so this is the part where the format rules come in and honestly? it's giving strict but fair 😀

All analyses in the morphological analyzer should have the form:

w o r d f o r m POS [GUESS_CATEGORY=CLASS] X Y Z ...

where POS is the part-of-speech tag, [GUESS_CATEGORY=CLASS] is an inflectional category marker and X, Y and Z are inflectional markers. The form of the inflectional category marker is fixed. CLASS can be any string, which doesn't contain "]".


Using the option -d will reduce the size of the guesser file by approximately half, but may substantially increase the load time of the guesser when generating model forms. If you only need to guess analyses of unknown word forms, -d has no effect on load time.

lowkey important: -d is not one of the listed options above, she's just out here living in the prose. do with that what you will 🫢

If OUTFILE or INFILE is missing or -, standard streams will be used. slay, no files needed, just vibes ✨


😭 REPORTING BUGS 😭

Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>

not me telling you to file bugs but like… pls do, they wanna know πŸ™ˆ


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. no cap, that's a real all-caps NO WARRANTY, respect it πŸ’€

and that's the whole page bestie!! πŸŽ€ this one comes to you from the HFST crew, dated August 2018, and it's literally iconic. go compile something gorgeous πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from