I am new to Sphinx and my eventual goal is to convert a wave file into corresponding text.
To this end i wanted to check out the wavefile demo which comes with sphinx4 but am getting an error which i am unable to figure out.
Help me undestand what is the problem and how i can rectify it .
I installed the sphinx4-1.0 beta binary and also the freetts-1.2.1-bin.zip for JSAPI and ran the jsapi.exe and accepted the license.
Now when i trty to run the demo...i get the folllowing error message :
Exception in thread "main" java.lang.NoClassDefFoundError: javax/speech/recognit
ion/GrammarException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:203)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(Valida
tingPropertySheet.java:403)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.
java:248)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(Valida
tingPropertySheet.java:403)
at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.newProp
erties(SimpleBreadthFirstSearchManager.java:180)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(Valida
tingPropertySheet.java:403)
at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:71)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(Valida
tingPropertySheet.java:403)
at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:93
)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:214)
at demo.sphinx.wavfile.WavFile.main(WavFile.java:62)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am new to Sphinx and my eventual goal is to convert a wave file into corresponding text.
To this end i wanted to check out the wavefile demo which comes with sphinx4 but am getting an error which i am unable to figure out.
Help me undestand what is the problem and how i can rectify it .
I installed the sphinx4-1.0 beta binary and also the freetts-1.2.1-bin.zip for JSAPI and ran the jsapi.exe and accepted the license.
Now when i trty to run the demo...i get the folllowing error message :
Thanks a ton
Augustya
D:\share_for_spiff\sphinx related\sphinx4-1.0beta>java -jar bin/WavFile.jar
Loading Recognizer...
Exception in thread "main" java.lang.NoClassDefFoundError: javax/speech/recognit
ion/GrammarException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:203)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(Valida
tingPropertySheet.java:403)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.
java:248)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(Valida
tingPropertySheet.java:403)
at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.newProp
erties(SimpleBreadthFirstSearchManager.java:180)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(Valida
tingPropertySheet.java:403)
at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:71)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(Valida
tingPropertySheet.java:403)
at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:93
)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationMa
nager.java:214)
at demo.sphinx.wavfile.WavFile.main(WavFile.java:62)