Menu

problem using acoustic Model after training

Help
2008-05-04
2012-09-22
  • Hasan Alkhedr

    Hasan Alkhedr - 2008-05-04

    hello
    I acheive the training process of simple acoustic model for few arabic words
    but when I try to use this model in sphinx4 after build the model jar file
    I make a demo (helloWorldArabic) to use the arabic model but when running the model I get the follwing:

    C:\sphinx4-1.0beta>java -mx312m -jar bin\HelloWorldArabic.jar
    Loading...
    Problem when loading HelloWorld: java.io.FileNotFoundException: JAR entry edu/cm
    u/sphinx/model/acoustic/SimpleModel_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/Simp
    leModel.dic not found in C:\sphinx4-1.0beta\lib\SimpleModel_8gau_13dCep_16k_40me
    l_130Hz_6800Hz.jar
    java.io.FileNotFoundException: JAR entry edu/cmu/sphinx/model/acoustic/SimpleMod
    el_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/SimpleModel.dic not found in C:\sphin
    x4-1.0beta\lib\SimpleModel_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar
    at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.ja
    va:114)
    at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnec
    tion.java:124)
    at java.net.URL.openStream(URL.java:1007)
    at edu.cmu.sphinx.linguist.dictionary.FullDictionary.allocate(FullDictio
    nary.java:154)
    at edu.cmu.sphinx.linguist.language.grammar.Grammar.allocate(Grammar.jav
    a:159)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLinguist.java:
    319)
    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.helloworldArabic.HelloWorld.main(HelloWorld.java:54)

    C:\sphinx4-1.0beta>

    please if someone can help me
    thanks very much

     
    • Nickolay V. Shmyrev

      JAR entry edu/cmu/sphinx/model/acoustic/SimpleMod
      el_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/SimpleModel.dic not found in C:\sphin
      x4-1.0beta\lib\SimpleModel_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar

      means that file not found. I can translate it to Arabic, hope googletranslated does it well:

      لم يتم العثور على الملف

       
    • Hasan Alkhedr

      Hasan Alkhedr - 2008-05-05

      oh, I know the meaning
      but I want to know what is the reason of this error
      because I have the jar file that include the file (SimpleModel.dic) in the specified path
      thanks

       
      • Nickolay V. Shmyrev

        > but I want to know what is the reason of this error

        Do you think there is such a file and computer decided to joke a bit and say it there isn't. There is no such file. Simple, isn't it?

        Upload this jar to some public resource so we can prove you are wrong.

         

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.