I'm trying to use the HUB4 acoustic model and language model with Sphinx4.1.0 Beta2.
I'm receiving the following error message when allocating the recognizer:
java.lang.NullPointerException
at edu.cmu.sphinx.linguist.util.HMMPool.synthesizeUnit(HMMPool.java:145)
at edu.cmu.sphinx.linguist.util.HMMPool.<init>(HMMPool.java:98)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.generateHmmTree(LexTreeLinguist.java:364)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.compileGrammar(LexTreeLinguist.java:353)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.allocate(LexTreeLinguist.java:279)
at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.allocate(WordPruningBreadthFirstSearchManager.java:209)
at edu.cmu.sphinx.decoder.AbstractDecoder.allocate(AbstractDecoder.java:67)
at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:157)
Below is the HUB4 recognizer section of the config.xml :
<!-- ******** -->
<!-- word recognizer configuration -->
<!-- ******** -->
I'm trying to use the HUB4 acoustic model and language model with Sphinx4.1.0 Beta2.
I'm receiving the following error message when allocating the recognizer:
java.lang.NullPointerException
at edu.cmu.sphinx.linguist.util.HMMPool.synthesizeUnit(HMMPool.java:145)
at edu.cmu.sphinx.linguist.util.HMMPool.<init>(HMMPool.java:98)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.generateHmmTree(LexTreeLinguist.java:364)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.compileGrammar(LexTreeLinguist.java:353)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.allocate(LexTreeLinguist.java:279)
at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.allocate(WordPruningBreadthFirstSearchManager.java:209)
at edu.cmu.sphinx.decoder.AbstractDecoder.allocate(AbstractDecoder.java:67)
at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:157)
Below is the HUB4 recognizer section of the config.xml :
<!-- ******** -->
<!-- word recognizer configuration -->
<!-- ******** -->
Any suggestions on what the issue may be?
Most probably it's a typo somewhere. See this thread:
https://sourceforge.net/forum/message.php?msg_id=7062951
To help you more I need to get the complete test, not just the configuration file.