In-class Speech Lab using Sphinx4
Modify the Sphinx4 Hello World example to use a different dictionary and grammar.
Try using different parameters for the frequently tuned properties in the config file and see how they compare.
Prepare to share your experience with the class.
~~~~~~~ STEPS ~~~~~~~~
1. Download Sphinx4 source
Instructions for building:
Make sure to also follow instructions for installing JSAPI:
These instructions assume you are in terminal and have unpacked the Sphinx4 source
3. Get all tutorials running.
The tutorial instructions assume you are in the top-level of the Sphinx directory using a terminal application.
java -Xmx256m -jar bin/HelloWorld.jar
Invokes Java with a heap memory allocation of 256Mb.
Tells Java to run the jar file specified.
Useful info on Java command line options here:
4. Modify a tutorial
Tutorial Source Code is located in
Demos can be rebuilt on the commandline:
$ ant demos
Here is a link to a
description of modifying the Sphinx Hello World Example
Documentation describing the config file
Info on creating Java Grammars