Compiling Erzya automata with HFST 3 tools.


All lexicons compile with hfst-lexc or foma, so using hfst-lexc -o file in place of lexc's compile-source and hfst-compose-intersect -l file rules -o result in place of read-rules rules, compose-result and save-result result works as usual.

Another way; for f in **/*lexc ; do hfst-lexc -o $f.hfst $f ; done


The grammars compile with hfst-twolc in the usual way hfst-twolc erzya.twolc -R.


After making lexc and twolc compilation hfst-xfst or foma will work as drop-in replacement of xfst. (Before it, a syntax error will occur on missing automata files).

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatEXT Make-nounLex manage 0.1 K 2010-12-31 - 12:57 UnknownUser HFST version of making nouns
Texttxt Make-nounLex.orig.txt manage 0.2 K 2010-12-31 - 12:59 UnknownUser original noun compilation script
Topic revision: r2 - 2011-03-15 - MiikkaSilfverberg
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback