Sphinx-4 Classbased Language Model Demo |
This is a simple command line program illustrating the use of class-based language models.
When you start up the demo program the following will show:
Loading Recognizer... Sample sentences: one ticket to boston two tickets to washington for tuesday Start speaking. Press Ctrl-C to quit. one ticket to boston
The language model describing this recognizer is class-based.
The code for this demo is in ClassBased.java.
Check the bin
directory to see if it has the file
ClassBased.jar
. If not, type the following at the top level
directory:
ant -find demo.xml
To run the demo, type:
sphinx4> java -mx200m -jar bin/ClassBased.jar
NOTE:
lib/sphinx4.jar
is built. If not, go to the top level
directory and type: ant