2016-05-19 20 views
0

私はヒンディー語の音声認識に取り組んでいます。モデルのパスを設定する際にエラーが発生します。私はそれらを次のように設定しています。どこが間違っていますか?音声認識Sphinx4 Hindi

configuration 
.setAcousticModelPath("file:///C/Users//Desktop/hindi/model_parameters/hindi.cd_cont_1000"); 
configuration 
.setDictionaryPath("file:///C/Users/apurvgandhwani/Desktop/hindi/etc/hindi.dic"); 
configuration 
.setLanguageModelPath("file:///C/Users/apurvgandhwani/Desktop/hindi/etc/lm/hindi.arpa"); 
+0

改良された書式と文法 – ankitr

+0

例外 "メイン" java.lang.NoSuchMethodErrorの:edu.cmu.sphinx.util.Utilities.pathJoin(Ljava /ラング/文字列; Ljava /ラング/文字列;)Ljava/lang/String; \t at edu.cmu.sphinx.api.Context.setAcousticModel(Context.java:89) \t at edu.cmu.sphinx.api.Context。 (Context.java:61) \t edu.cmu.sphinx.api.Context。 (Context.java:45) \t at edu.cmu.sphinx.api.AbstractSpeechRecognizer。 (AbstractSpeechRecognizer.java:44) \t(edu.cmu.sphinx.api.StreamSpeechRecognizer)。 (StreamSpeechRecognizer.java:35) \t com.example.TranscriberDemo.main(TranscriberDemo.java:24) – Maddy

答えて

0

あなたはいくつかの手順を行う必要があり、この問題を解決するには、次の

  1. あなたのクラスパスに必ずのみ最近sphinx4を作る、あなただけ sphinx4コア-5prealpha.jarを必要とし、ない古いsphinx4.jar
  2. 修正パスが適切なURLになるように、それはfile:///C:、sphinx4のWebサイトからではないfile:///C/
  3. 取得モデルである必要があり、それは追加のファイルが含まれているfeat.params

全体的に、ヒンディー語のモデルはまだ正確ではありません。訓練するデータがあれば、より正確で使いやすくなります。

さらなる詳細スレッドでhere