cmusphinx / sphinx4

Pure Java speech recognition library
cmusphinx.sourceforge.net
Other
1.4k stars 587 forks source link

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 161 at edu.cmu.sphinx.decoder.search.WordPruningBreadthF #90

Closed habtbog closed 5 years ago

habtbog commented 5 years ago

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 161 at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstLookaheadSearchManager.updateLookaheadPenalty(WordPruningBreadthFirstLookaheadSearchManager.java:479) at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstLookaheadSearchManager.collectSuccessorTokens(WordPruningBreadthFirstLookaheadSearchManager.java:435) at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.growBranches(WordPruningBreadthFirstSearchManager.java:396) at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.localStart(WordPruningBreadthFirstSearchManager.java:371) at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstLookaheadSearchManager.localStart(WordPruningBreadthFirstLookaheadSearchManager.java:246) at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.startRecognition(WordPruningBreadthFirstSearchManager.java:274) at edu.cmu.sphinx.decoder.Decoder.decode(Decoder.java:62) at edu.cmu.sphinx.recognizer.Recognizer.recognize(Recognizer.java:106) at edu.cmu.sphinx.recognizer.Recognizer.recognize(Recognizer.java:122) at edu.cmu.sphinx.api.AbstractSpeechRecognizer.getResult(AbstractSpeechRecognizer.java:60) at sphinx.Sphinx.main(Sphinx.java:37) Java Result: 1

nshmyrev commented 5 years ago

Sorry, the information you provided is not sufficient to help you. Provide more information on what you done to get help.

habtbog commented 5 years ago

I got the same problem like https://sourceforge.net/p/cmusphinx/discussion/sphinx4/thread/a2ffb413/