HFST Java Runtime

To run and test binary transducers with java you need to have hfstruntime.jar-file in your classpath. Hfstruntime.jar is not yet publicly available.

Running Binary Transducer

java -jar hfstruntime.jar RunTransducer [--input FILENAME] [--output FILENAME] [--transducer FILENAME] [--symbolfile FILENAME] [--iterator CLASSNAME]

Parameters

input File containing strings to be analysed, one inputstring per line (if omitted STDIN is used).
output File where analyses will be written (if omitted STDOUT is used).
transducer A file containing the input binary transducer.
symbolfile File containing symbols used by binary transducer.
iterator iterator classname which is used to iterate throught symbolstrings (if omitted default is used).

Testing Binary Transducer

java -jar hfstruntime.jar TestTransducer [--testcase FILENAME] [--output FILENAME] [--transducer FILENAME] [--symbolfile FILENAME] [--iterator CLASSNAME]

Parameters

testcase File containing HfstTransducerTestCaseFile to be tested (if omitted, command line testing application will be started)
output File where report of given testcase will be written (if omitted STDOUT is used).
transducer A file containing the input binary transducer.
symbolfile File containing symbols used by binary transducer.
iterator iterator classname which is used to iterate throught symbolstrings (if omitted default is used).

-- PetriUusitalo - 2009-03-27

Topic revision: r5 - 2009-10-06 - SamHardwick
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback