hfst-lexc man page on DragonFly
[printable version]
HFST-LEXC(1) User Commands HFST-LEXC(1)
NAME
hfst-lexc - =Compile lexc files into transducer
SYNOPSIS
hfst-lexc [OPTIONS...] [INFILE1...]]
DESCRIPTION
Compile lexc files into 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
Input/Output options:
-f, --format=FORMAT
compile into FORMAT transducer
-o, --output=OUTFILE
write result into OUTFILE
Lexc options:
-F, --withFlags
use flags to hyperminimize result
-M, --minimizeFlags
if --withFlags is used, minimize the number of flags
-R, --renameFlags
if --withFlags and --minimizeFlags are used, rename flags (for
testing)
-x, --xerox-composition=VALUE Whether flag diacritics are treated as
ordinary
symbols in composition (default is true).
-X, --xfst=VARIABLE
toggle xfst compatibility option VARIABLE.
-W, --Werror
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, open‐
fst-log, foma, optimized-lookup-unweighted, optimized-lookup-weighted
}. VALUEs recognized are {true,ON,yes} and {false,OFF,no}. Xfst vari‐
ables are {flag-is-epsilon (default OFF)}.
EXAMPLES
hfst-lexc -o cat.hfst cat.lexc
Compile single-file lexicon
hfst-lexc -o L.hfst Root.lexc 2.lexc 3.lexc
Compile multi-file lexicon
Using weights:
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. { open‐
fst-tropical, openfst-log, optimized-lookup-weighted }.
REPORTING BUGS
Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker
at: <https://source‐
forge.net/tracker/?atid=1061990&group_id=224521&func=browse>
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
Copyright © 2010 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.
HFST October 2014 HFST-LEXC(1)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|