DOKK / manpages / debian 11 / hfst / hfst-lexc.1.en
HFST-LEXC(1) User Commands HFST-LEXC(1)

hfst-lexc - =Compile lexc files into transducer

hfst-lexc [OPTIONS...] [INFILE1...]]

Compile lexc files into transducer

Print help message
Print version info
Print verbosely while processing
Only print fatal erros and requested output
Alias of --quiet

compile into FORMAT transducer
write result into OUTFILE

align characters in input and output strings
encode weights when minimizing (default is false)
use flags to hyperminimize result
if --withFlags is used, minimize the number of flags
if --withFlags and --minimizeFlags are used, rename flags (for testing)
symbols in composition (default is true).
toggle xfst compatibility option VARIABLE.
treat warnings as errors

If INFILE or OUTFILE are omitted or -, standard streams will be used The possible values for FORMAT are { sfst, openfst-tropical, openfst-log, foma, optimized-lookup-unweighted, optimized-lookup-weighted }. VALUEs recognized are {true,ON,yes} and {false,OFF,no}. Xfst variables are {flag-is-epsilon (default OFF)}.

Compile single-file lexicon
Compile multi-file lexicon

LEXICON Root cat # "weight: 2" ; Define weight for a word <[dog::1]+> # ; Use weights in regular expressions

Using weights has an effect only if FORMAT is weighted, i.e. { openfst-tropical, openfst-log, optimized-lookup-weighted }.

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

hfst-lexc home page: <https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstLexc>
General help using HFST software: <https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstHome>

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