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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
لم يتم العثور على الملف
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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:
لم يتم العثور على الملف
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
> 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.