.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. .TH HFST-LEXC "1" "December 2015" "HFST" "User Commands" .SH NAME hfst-lexc \- =Compile lexc files into transducer .SH SYNOPSIS .B hfst-lexc [\fIOPTIONS\fR...] [\fIINFILE1\fR...]] .SH DESCRIPTION Compile lexc files into transducer .SS "Common options:" .TP \fB\-h\fR, \fB\-\-help\fR Print help message .TP \fB\-V\fR, \fB\-\-version\fR Print version info .TP \fB\-v\fR, \fB\-\-verbose\fR Print verbosely while processing .TP \fB\-q\fR, \fB\-\-quiet\fR Only print fatal erros and requested output .TP \fB\-s\fR, \fB\-\-silent\fR Alias of \fB\-\-quiet\fR .SS "Input/Output options:" .TP \fB\-f\fR, \fB\-\-format\fR=\fIFORMAT\fR compile into FORMAT transducer .TP \fB\-o\fR, \fB\-\-output\fR=\fIOUTFILE\fR write result into OUTFILE .SS "Lexc options:" .TP \fB\-A\fR, \fB\-\-alignStrings\fR align characters in input and output strings .TP \fB\-E\fR, \fB\-\-encode\-weights\fR encode weights when minimizing (default is false) .TP \fB\-F\fR, \fB\-\-withFlags\fR use flags to hyperminimize result .TP \fB\-M\fR, \fB\-\-minimizeFlags\fR if \fB\-\-withFlags\fR is used, minimize the number of flags .TP \fB\-R\fR, \fB\-\-renameFlags\fR if \fB\-\-withFlags\fR and \fB\-\-minimizeFlags\fR are used, rename flags (for testing) .TP \fB\-x\fR, \fB\-\-xerox\-composition\fR=\fIVALUE\fR Whether flag diacritics are treated as ordinary symbols in composition (default is true). .TP \fB\-X\fR, \fB\-\-xfst\fR=\fIVARIABLE\fR toggle xfst compatibility option VARIABLE. .TP \fB\-W\fR, \fB\-\-Werror\fR treat warnings as errors .PP 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)}. .SH EXAMPLES .TP hfst\-lexc \fB\-o\fR cat.hfst cat.lexc Compile single\-file lexicon .TP hfst\-lexc \fB\-o\fR L.hfst Root.lexc 2.lexc 3.lexc Compile multi\-file lexicon .SS "Using weights:" .IP LEXICON Root cat # "weight: 2" ; Define weight for a word <[dog::1]+> # ; Use weights in regular expressions .PP Using weights has an effect only if FORMAT is weighted, i.e. { openfst\-tropical, openfst\-log, optimized\-lookup\-weighted }. .SH "REPORTING BUGS" Report bugs to or directly to our bug tracker at: .PP hfst\-lexc home page: .br General help using HFST software: .SH COPYRIGHT Copyright \(co 2010 University of Helsinki, License GPLv3: GNU GPL version 3 .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.