java - Exception in VOCE sample C++ app -


i've been playing around c++ api of voce speech recognition in 1 of projects. far, i've been able compile c++ version of 1 of sample apps provided voce named recognitiontest (provided under samples directory in voce-0.9.1).

however, when try running recognitiontest.exe, hit indexoutofboundsexception (console output provided below).

[voce] java virtual machine created [voce] initializing recognizer. may take time... [voce] initialization complete speech recognition test. speak digits 0-9 microphone. speak 'quit' quit. exception in thread "recognition thread" java.lang.indexoutofboundsexception: index: 110,size: 109     @ java.util.sublist.rangecheck(unknown source)     @ java.util.sublist.get(unknown source)     @ edu.cmu.sphinx.decoder.scorer.scoreablejob.getfirst(threadedacousticscorer.java:516)     @ edu.cmu.sphinx.decoder.scorer.threadedacousticscorer.scorescoreables(threadedacousticscorer.java:310)     @ edu.cmu.sphinx.decoder.scorer.threadedacousticscorer.calculatescores(threadedacousticscorer.java:276)     @ edu.cmu.sphinx.decoder.search.simplebreadthfirstsearchmanager.scoretokens(simplebreadthfirstsearchmanager.java:337)     @ edu.cmu.sphinx.decoder.search.simplebreadthfirstsearchmanager.recognize(simplebreadthfirstsearchmanager.java:258)     @ edu.cmu.sphinx.decoder.search.simplebreadthfirstsearchmanager.recognize(simplebreadthfirstsearchmanager.java:226)     @ edu.cmu.sphinx.decoder.decoder.decode(decoder.java:94)     @ edu.cmu.sphinx.recognizer.recognizer.recognize(recognizer.java:116)     @ edu.cmu.sphinx.recognizer.recognizer.recognize(recognizer.java:135)     @ voce.speechrecognizer.run(speechrecognizer.java:129)     @ java.lang.thread.run(unknown source) 

i'm using windows 8 , 32-bit version of java 1.5.

question: has encountered similar error before? exception seems thrown underlying cmusphinx library. so, i'm unable debug issue.

any appreciated!

please let me know if additional info helpful in figuring out issue.

thanks in advance!


Popular posts from this blog