ok ive downloaded sphinx a couple of times and same problem occurs.
chmod +x ./jsapi.sh {works fine}
sh ./jsapi.sh {get the following errror}:
...
...
For inquiries please contact: Sun Microsystems, Inc. 901 San Antonio
Road, Palo Alto, California 94303 (LFI#108931/Form ID#011801)
Accept (y/n)?:
y
x - creating lock directory
x - extracting jsapi.jar (binary)
./jsapi.sh: line 257: uudecode: command not found
restore of jsapi.jar failed
jsapi.jar: MD5 check failed
i have no clue how to absolve this please please help
thank you
rich
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i thank you for the help it worked and the jsapi loaded correctly but when trying run the HelloWorld.jar demo i get the following errors? all these files should be there. i followed all the download and build instructions and the only thing that was holdin me up was the jsapi? any ideas?
Problem configuring HelloWorld: Property Exception component:'flatLinguist' property:'grammar' - Can't instantiate: jsgfGrammar Can't find class edu.cmu.sphinx.jsapi.JSGFGrammar object:jsgfGrammar
Property Exception component:'flatLinguist' property:'grammar' - Can't instantiate: jsgfGrammar Can't find class edu.cmu.sphinx.jsapi.JSGFGrammar object:jsgfGrammar
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:414)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.java:248)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.newProperties(SimpleBreadthFirstSearchManager.java:180)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:71)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:93)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
at demo.sphinx.helloworld.HelloWorld.main(HelloWorld.java:49)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's hard to tell. Did you recompile all of Sphinx-4 after unpacking jsapi.jar? The build is set up to build only a subset of Sphinx-4 if jsapi.jar is not present.
In addition, what command are you using to start hello world?
Will
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok ive downloaded sphinx a couple of times and same problem occurs.
chmod +x ./jsapi.sh {works fine}
sh ./jsapi.sh {get the following errror}:
...
...
For inquiries please contact: Sun Microsystems, Inc. 901 San Antonio
Road, Palo Alto, California 94303 (LFI#108931/Form ID#011801)
Accept (y/n)?:
y
x - creating lock directory
x - extracting jsapi.jar (binary)
./jsapi.sh: line 257: uudecode: command not found
restore of jsapi.jar failed
jsapi.jar: MD5 check failed
i have no clue how to absolve this please please help
thank you
rich
Hi:
It appears as though your system does not have the 'uudecode' command, which is needed to create the jar file.
http://linuxcommand.org/man_pages/uudecode1.html
Will
i thank you for the help it worked and the jsapi loaded correctly but when trying run the HelloWorld.jar demo i get the following errors? all these files should be there. i followed all the download and build instructions and the only thing that was holdin me up was the jsapi? any ideas?
Problem configuring HelloWorld: Property Exception component:'flatLinguist' property:'grammar' - Can't instantiate: jsgfGrammar Can't find class edu.cmu.sphinx.jsapi.JSGFGrammar object:jsgfGrammar
Property Exception component:'flatLinguist' property:'grammar' - Can't instantiate: jsgfGrammar Can't find class edu.cmu.sphinx.jsapi.JSGFGrammar object:jsgfGrammar
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:414)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.java:248)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.newProperties(SimpleBreadthFirstSearchManager.java:180)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:71)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:93)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
at demo.sphinx.helloworld.HelloWorld.main(HelloWorld.java:49)
It's hard to tell. Did you recompile all of Sphinx-4 after unpacking jsapi.jar? The build is set up to build only a subset of Sphinx-4 if jsapi.jar is not present.
In addition, what command are you using to start hello world?
Will
ok i got i recompied sphinx and all those errors get absolved except one:
rich@linux:~/development/sphinx4> java -mx256m -jar bin/HelloWorld.jar
Exception in thread "main" java.lang.NoClassDefFoundError: edu/cmu/sphinx/util/props/PropertyException
this file is located in the edu/cmu/sphinx/util/props
rich@linux:~/development/sphinx4> ls edu/cmu/sphinx/util/props
Configurable.java PropertyException.java Resetable.java
ConfigurationManager.java PropertySheet.java SaxLoader.java
CVS PropertyType.java Symbol.java
doc-files RawPropertyData.java ValidatingPropertySheet.java
package.html Registry.java
this is very confusing to me in that it is there but get a class not found exception
I'm stumped as well. I just pulled fresh sources from the CVS repository, extracted jsapi.jar, and then executed ant from the top level directory.
java -mx256m -jar bin/HelloWorld.jar worked fine for me. :-(
Maybe something didn't get built for you?
mac:~/work/SourceForge/cmusphinx/sphinx4 wwalker$ find . -name PropertyException*
./bld/classes/edu/cmu/sphinx/util/props/PropertyException.class
./edu/cmu/sphinx/util/props/PropertyException.java
mac:~/work/SourceForge/cmusphinx/sphinx4 wwalker$ jar tvf lib/sphinx4.jar | grep PropertyException
1311 Sun Oct 23 17:05:26 EDT 2005 edu/cmu/sphinx/util/props/PropertyException.class
Will