Man page - hfst-expand(1)
Packages contas this manual
- hfst-info(1)
- hfst-pmatch2fst(1)
- hfst-disjunct(1)
- hfst-reweight(1)
- hfst-head(1)
- hfst-tail(1)
- hfst-push-weights(1)
- hfst-edit-metadata(1)
- hfst-format(1)
- hfst-summarize(1)
- hfst-optimised-lookup(1)
- hfst-optimized-lookup(1)
- hfst-proc2(1)
- hfst-xfst(1)
- hfst-substitute(1)
- hfst-intersect(1)
- hfst-union(1)
- hfst-determinise(1)
- hfst-compose-intersect(1)
- hfst-compose(1)
- hfst-repeat(1)
- hfst-minimize(1)
- hfst-twolc(1)
- hfst-grep(1)
- hfst-lookup(1)
- hfst-tag(1)
- hfst-txt2fst(1)
- hfst-fst2txt(1)
- hfst-compare(1)
- hfst-expand(1)
- hfst-pmatch(1)
- hfst-regexp2fst(1)
- hfst-lexc(1)
- hfst-split(1)
- hfst-minimise(1)
- hfst-reverse(1)
- hfst-reweight-tagger(1)
- hfst-multiply(1)
- hfst-project(1)
- hfst-minus(1)
- hfst-pair-test(1)
- hfst-fst2fst(1)
- hfst-traverse(1)
- hfst-calculate(1)
- hfst-determinize(1)
- hfst-conjunct(1)
- hfst-prune-alphabet(1)
- hfst-guessify(1)
- hfst-invert(1)
- hfst-subtract(1)
- hfst-tokenize(1)
- hfst-remove-epsilons(1)
- hfst-shuffle(1)
- hfst-summarise(1)
- hfst-expand-equivalences(1)
- hfst-affix-guessify(1)
- hfst-proc(1)
- hfst-apertium-proc(1)
- hfst-strings2fst(1)
- hfst-sfstpl2fst(1)
- hfst-tokenise(1)
- hfst-name(1)
- hfst-fst2strings(1)
- hfst-concatenate(1)
- hfst-guess(1)
apt-get install hfst
Manual
| HFST-FST2STRINGS(1) | User Commands | HFST-FST2STRINGS(1) |
NAME
hfst-fst2strings - =Display the strings recognized by a transducer
SYNOPSIS
hfst-fst2strings [OPTIONS...] [INFILE]
DESCRIPTION
Display the strings recognized by a transducer
Common options:
- -h, --help
- Print help message
- -V, --version
- Print version info
- -v, --verbose
- Print verbosely while processing
- -q, --quiet
- Only print fatal erros and requested output
- -s, --silent
- Alias of --quiet
Fst2strings options:
- -n, --max-strings=NSTR
- print at most NSTR strings
- -N, --nbest=NBEST
- print at most NBEST best strings
- -r, --random=NRAND
- print at most NRAND random strings
- -c, --cycles=NCYC
- follow cycles at most NCYC times
- -w, --print-weights
- display the weight for each string
- -S, --print-separator
- print separator "--" after each transducer
- -e, --epsilon-format=EPS
- print epsilon as EPS
- -X, --xfst=VARIABLE
- toggle xfst compatibility option VARIABLE
Ignore paths if:
- -b, --beam=B
- output string weight not within B from the weight of the best output string
- -l, --max-in-length=MIL
- input string longer than MIL
- -L, --max-out-length=MOL
- output string longer than MOL
- -p, --in-prefix=OPREFIX
- input string not beginning with IPREFIX
- -P, --out-prefix=OPREFIX
- output string not beginning with OPREFIX
- -u, --in-exclude=IXSTR
- input string containing IXSTR
- -U, --out-exclude=OXST
- output string containing OXSTR
If OUTFILE or INFILE is missing or -, standard streams will be used. Format of result depends on format of INFILE If all NSTR, NBEST and NCYC are omitted, all possible paths are printed: NSTR, NBEST and NCYC default to infinity. NBEST overrides NSTR and NCYC NRAND overrides NBEST, NSTR and NCYC B must be a non-negative float If EPS is not given, default is empty string. Numeric options are parsed with strtod(3). Xfst variables supported are { obey-flags, print-flags, print-pairs, print-space, quote-special }.
EXAMPLES
- hfst-fst2strings lexical.hfst
- generates all forms of lexical.hfst
Known bugs:
- Does not work correctly for hfst optimized lookup format.
REPORTING BUGS
Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>
hfst-fst2strings home page:
<https://github.com/hfst/hfst/wiki/HfstFst2Strings>
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. There is NO
WARRANTY, to the extent permitted by law.
| August 2018 | HFST |