When i try to run this Demo, there are no problems with the decoders of connectedDigits and bishop. But as i changed to other decoders like Alpha Spelling, CommandAndControl, or Player, the same problem happend when i change the decoders list in the LiveFrame.
It is happened when the condigMOnitor is creating.
[java] Creating: configMonitor
[java] java.lang.NullPointerException
[java] at edu.cmu.sphinx.linguist.flat.SentenceHMMState.collectStates(S
entenceHMMState.java:693)
[java] at edu.cmu.sphinx.linguist.flat.FlatLinguist.compileGrammar(Flat
Linguist.java:329)
[java] at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLingui
st.java:220)
[java] at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager
.allocate(SimpleBreadthFirstSearchManager.java:576)
...
I don't know what is the real problems with the Linguist Model. Could any seniors shed some lights on me? thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-05-26
The problem can be solved by changing the order of decoders in 'decoders.list', I put the CommandAndContorl decoder in the first place, it works fine.
Probably this is caused by the class path changement after the connectedDigits decoder run. But i am not sure
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When i try to run this Demo, there are no problems with the decoders of connectedDigits and bishop. But as i changed to other decoders like Alpha Spelling, CommandAndControl, or Player, the same problem happend when i change the decoders list in the LiveFrame.
It is happened when the condigMOnitor is creating.
[java] Creating: configMonitor
[java] java.lang.NullPointerException
[java] at edu.cmu.sphinx.linguist.flat.SentenceHMMState.collectStates(S
entenceHMMState.java:693)
[java] at edu.cmu.sphinx.linguist.flat.FlatLinguist.compileGrammar(Flat
Linguist.java:329)
[java] at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLingui
st.java:220)
[java] at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager
.allocate(SimpleBreadthFirstSearchManager.java:576)
...
I don't know what is the real problems with the Linguist Model. Could any seniors shed some lights on me? thanks
The problem can be solved by changing the order of decoders in 'decoders.list', I put the CommandAndContorl decoder in the first place, it works fine.
Probably this is caused by the class path changement after the connectedDigits decoder run. But i am not sure