hfst-compose-intersect - =Compose a lexicon with one or more rule transducers.
hfst-compose-intersect [OPTIONS...] [INFILE1 [INFILE2]]
Compose a lexicon with one or more rule transducers.
- -I, --invert
- Compose the intersection of the rules with the lexicon instead of composing the lexicon with the intersection of the rules.
- -f, --fast
- Faster compose instersect using more memory.
- -e, --encode-weights
- Encode weights when minimizing (default is false).
- -a, --harmonize
- Harmonize symbols.
If OUTFILE, or either INFILE1 or INFILE2 is missing or -, standard streams will be used. INFILE1, INFILE2, or both, must be specified The format of INFILE1 and INFILE2 must be the same; the result will have the same format as these. INFILE1 (the lexicon) must contain exactly one transducer. INFILE2 (rule file) may contain several transducers.
- hfst-compose-intersect -o analyzer.hfst lexicon.hfst rules.hfst
compose rules with lexicon
Report bugs to <email@example.com> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>
hfst-compose-intersect home page:
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.