hfst-optimized-lookup-python is not current. The transducers shipped with hfst 2.0 work, but since then there have been bugfixes and changes to the binary transducer format not reflected in hfst-optimized-lookup-python. For support, please email hfst-bugs@helsinki.fi


Load a transducer in the HFST optimized lookup format, take input one word at a time and output analyses.



python HfstOptimizedLookup.py TRANSDUCER

Once the transducer is loaded, input is taken on stdin and output is given on stdout. Each input word should be separated by a newline. To input and output files, UNIX redirection is recommended, eg.

python HfstOptimizedLookup.py TRANSDUCER < INPUTFILE > OUTPUTFILE
Edit | Attach | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r5 - 2010-03-23 - KimmoKoskenniemi
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