Click here to register.

Edit Message

Visitor Name
Subject
Message

Re: How to train wav files in sphinx4

hi kmaclean,

thanks for the given link i hope it will help me!!

one thing is i trained the rm1 database using the Robust Group Tutorial and then i created a model by following the  this link

D:\sphinx4src\sphinx4-1.0beta\doc\UsingSphinxTrainModels.html

finally i created the model and now my problem is while using this created model in HelloWorld example it showing the following error help me on this

Loading...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 12
        at edu.cmu.sphinx.linguist.acoustic.tiedstate.MixtureComponent.transform
Stats(MixtureComponent.java:244)
        at edu.cmu.sphinx.linguist.acoustic.tiedstate.MixtureComponent.precomput
eDistance(MixtureComponent.java:197)
        at edu.cmu.sphinx.linguist.acoustic.tiedstate.MixtureComponent.<init>(Mi
xtureComponent.java:93)
        at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.
ModelLoader.createSenonePool(ModelLoader.java:614)
        at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.
ModelLoader.loadModelFiles(ModelLoader.java:558)
        at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.
ModelLoader.load(ModelLoader.java:476)
        at edu.cmu.sphinx.model.acoustic.TOY_8gau_13dCep_16k_40mel_130Hz_6800Hz.
Model.allocate(Model.java:177)
        at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocateAcousticModel(FlatL
inguist.java:336)
        at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLinguist.java:
318)
        at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.allocat
e(SimpleBreadthFirstSearchManager.java:602)
        at edu.cmu.sphinx.decoder.Decoder.allocate(Decoder.java:109)
        at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:182)
        at demo.sphinx.helloworld.HelloWorld.main(HelloWorld.java:54)

 

--- (Edited on 8/26/2008 2:09 am [GMT-0500] by Visitor) ---