i ran it in eclipse and it says:
"Exception in thread "main" java.lang.Error: Unresolved compilation problems:
assert cannot be resolved to a type
Duplicate local variable variance
Syntax error on token ".", = expected
length cannot be resolved
i problem in JBuilder
I get
Problem configuring HelloDigits: Property Exception component:'jsgfGrammar' property:'grammarLocation' - Can't locate resource:/demo.sphinx.hellodigits.HelloDigits
at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getResource(ValidatingPropertySheet.java:372)
at edu.cmu.sphinx.jsapi.JSGFGrammar.newProperties(JSGFGrammar.java:272)
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.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.hellodigits.HelloDigits.main(HelloDigits.java:48)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed sphinx4 and wanted to try out the demos, but everytime I open for example HelloWorld.jar it stops when loading
> sphinx4 # java -mx312m -jar bin/HelloWorld.jar
> Loading...
I don't know why. Anyone can help?
I'd really appreciate it!
you are missing some .jar files in the classpath. I had the same errors if you still need help post back. I'll try to help but I'm new as well
try -Xmx instead -mx
Best regards,
Holger
thanks for the response, but doesn't help :(
> ...stops loading...
What is the error message?
-holger
no error. it just says > Loading...
and then nothing occurs until I stop it by hand (ctrl+c).
i ran it in eclipse and it says:
"Exception in thread "main" java.lang.Error: Unresolved compilation problems:
assert cannot be resolved to a type
Duplicate local variable variance
Syntax error on token ".", = expected
length cannot be resolved
i problem in JBuilder
I get
Problem configuring HelloDigits: Property Exception component:'jsgfGrammar' property:'grammarLocation' - Can't locate resource:/demo.sphinx.hellodigits.HelloDigits
Property Exception component:'jsgfGrammar' property:'grammarLocation' - Can't locate resource:/demo.sphinx.hellodigits.HelloDigits