HFST-OPTIMIZED-LOOKUP(1)
πΈ hfst-optimized-lookup β NAME π
okay bestie, welcome to the hfst-optimized-lookup page, which lives in the User Commands section of the manual (section 1, the classics β¨). Here's the official NAME line, verbatim, no edits, because we respect the source:
hfst-optimized-lookup - =Usage: hfst-optimized-lookup [OPTIONS] TRANSDUCER
π¦ SYNOPSIS π¦
hfst-optimized-lookup [OPTIONS] TRANSDUCER
β¨ DESCRIPTION β¨
So what does this icon actually do? It runs a transducer on standard input β one word per line, bestie, one word per line β and prints out the analyses. Slay. π
β οΈ NOTE, and this is important, do not skip it:hfst-optimized-lookupdoes lookup from left to right, which is opposite toxfstandfomalookup, which is carried out from right to left. So if you want to do lookup in a similar way asxfstandfoma, you gotta invert the transducer first. No cap. π
Now the options, all of them, in order, because we don't gatekeep here:
-h,--helpβ print this help message π«Ά-V,--versionβ print version information π-v,--verboseβ be verbose (yes, talk to me)-q,--quietβ don't be verbose (this is the default, lowkey chill mode)-s,--silentβ same as quiet π€«-e,--echoβ echo inputs (super useful if you're redirecting lots of output to a file, fr fr)-w,--show-weightsβ print final analysis weights (if any)-u,--uniqueβ suppress duplicate analyses (we only need one of each, periodt)-n N,--analyses=Nβ output no more thanNanalyses (and if the transducer is weighted, it's theNbest analyses) π-b,--beam=Bβ output only analyses whose weight is withinBfrom the best analysis-t,--time-cutoff=Sβ limit search after having usedSseconds per input β³-x,--xeroxβ Xerox output format (this is the default)-f,--fastβ be as fast as possible. β‘ (but heads up: with this option enabled,-uand-ndon't work, and output won't be ordered by weight β it's giving chaos, but fast chaos)-p,--pipe-mode[=STREAM]β control input and output streams.
The rules of the game, bestie:
Nmust be a positive integer.Bmust be a non-negative float.Smust be a non-negative float. The default,0.0, indicates no cutoff.- Options
-nand-bare combined with AND, i.e. they both restrict the output. Both. Not one or the other. Both. π
And about STREAM:
STREAM can be { input, output, both }. If not given, it defaults to {both}. Input is read interactively line by line from the user. If you redirect input from a file, use --pipe-mode=input. And --pipe-mode=output is ignored on non-windows platforms. πͺπ«
π REPORTING BUGS π
Found a bug? Report bugs to hfst-bugs@helsinki.fi β they wanna hear about it, for real.
and that's the whole page, bestie!! π a cute little sign-off for you: this manual page is hfst-optimized-lookup 1.2, dated Aug 22 2018 13:57:15, with copyright (C) 2009 University of Helsinki. And the page itself is from the HFST collection, dated August 2018. obsessed with her honestly. ππ¦β¨ go run a transducer, you got this π
π¦ 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