hfst-lexc-wrapper
Purpose
Compile lexc files into transducer or imitate Xerox lexc. This is a wrapper around foma lexc, and does not support weights.
For a native hfst tool with weights, use
hfst-lexc instead.
Usage
Usage: hfst-lexc-wrapper [OPTIONS...] [INFILE1...]]
Compile lexc files into transducer or imitate Xerox lexc
This is a wrapper around foma lexc, and does not support weights
For a native hfst tool with weights, use hfst-lexc instead
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
Input/Output options:
-f, --format=FORMAT compile into FORMAT transducer
-o, --output=OUTFILE write result into OUTFILE
-X, --xerox, --readline imitate Xerox lexc user interface
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 }.
Examples:
hfst-lexc-wrapper -o cat.hfst cat.lexc Compile single-file lexicon
hfst-lexc-wrapper -o L.hfst Root.lexc 2.lexc 3.lexc Compile multi-file lexicon
Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at:
<https://sourceforge.net/tracker/?atid=1061990&group_id=224521&func=browse>
Bugs
Program uses mainly foma to parse lexc files, most bugs from foma are inherited.
Multichar_Symbols
containing
0
must be escaped in
%0
form (foma-0.9.14).
See also
HfstCommandLineTools,
HfstLexc