simple-speech-recognition
simple-speech-recognition copied to clipboard
Java exception in python2.7 centos 7 64 bit
Hi,
I tried running the demo_simple.py and gives me following error. Any idea how to resolve it ? or what the error is talking about ?
Exception in thread "main" java.lang.RuntimeException: Allocation of search manager resources failed
at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.allocate(WordPruningBreadthFirstSearchManager.java:242)
at edu.cmu.sphinx.decoder.AbstractDecoder.allocate(AbstractDecoder.java:87)
at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:168)
at StreamingTranscriber.getRecognizer(StreamingTranscriber.java:46)
at StreamingTranscriber.main(StreamingTranscriber.java:23)
Caused by: java.io.FileNotFoundException: /home/depasser/akson/speech_recog/simple-speech-recognition-master/lib/models/language_model.arpaformat.DMP (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at edu.cmu.sphinx.linguist.language.ngram.large.BinaryLoader.<init>(BinaryLoader.java:100)
at edu.cmu.sphinx.linguist.language.ngram.large.LargeNGramModel.allocate(LargeNGramModel.java:202)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.allocate(LexTreeLinguist.java:342)
at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.allocate(WordPruningBreadthFirstSearchManager.java:238)
... 4 more
Thank you