Menu

exception when executing sphinx4

Help
atizgui
2009-08-17
2012-09-22
  • atizgui

    atizgui - 2009-08-17
    Hello everybody;
    

    So I have generated my acoustic model by sphinx train but when I integrated it in sphinx4 the build is done well but when I executed it ,there is an exception witch is run:

    Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 18, Size: 18
    at java.util.ArrayList.RangeCheck(ArrayList.java:546)
    at java.util.ArrayList.get(ArrayList.java:321)
    at edu.cmu.sphinx.linguist.acoustic.tiedstate.Pool.get(Pool.java:59)
    at edu.cmu.sphinx.model.acoustic.ALEF_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.getSenoneSequence(ModelLoader.java:1028)
    at edu.cmu.sphinx.model.acoustic.ALEF_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.loadHMMPool(ModelLoader.java:984)
    at edu.cmu.sphinx.model.acoustic.ALEF_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.loadModelFiles(ModelLoader.java:394)
    at edu.cmu.sphinx.model.acoustic.ALEF_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.load(ModelLoader.java:311)
    at edu.cmu.sphinx.model.acoustic.ALEF_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model.allocate(Model.java:122)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocateAcousticModel(FlatLinguist.java:243)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLinguist.java:228)
    at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.allocate(SimpleBreadthFirstSearchManager.java:603)
    at edu.cmu.sphinx.decoder.AbstractDecoder.allocate(AbstractDecoder.java:67)
    at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:157)
    at edu.cmu.sphinx.demo.hellodigits.HelloDigits.main(HelloDigits.java:43)
    Alef is the name of my jar.
    Can anyone tell me what is about?

     
    • Nickolay V. Shmyrev

      You packed wrong set of files, most probably you used ci mdef file with cd datafiles.

       
      • atizgui

        atizgui - 2009-08-17

        Thank you for your response.

        I verified the structure of all the files and all is ok but I still have the exception.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.