2016-09-01 6 views
0

私はsphinx4-5prealphaを使用してテキストと音声のアライメントを行っています。私はAcousticモデルとこのバージョンでパックされた辞書を使用します。何らかの理由で私は古いスフィンクス-4バージョンと同じAMと音響モデルを使用したいが、私は得る:音響モデルの互換性の問題

java.lang.IndexOutOfBoundsException: Index: 13824, Size: 13824 
at java.util.ArrayList.rangeCheck(ArrayList.java:653) 
at java.util.ArrayList.get(ArrayList.java:429) 
at edu.cmu.sphinx.linguist.acoustic.tiedstate.Pool.get(Pool.java:55) 
at edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader.createSenonePool(Sphinx3Loader.java:406) 
at edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader.loadModelFiles(Sphinx3Loader.java:343) 
at edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader.load(Sphinx3Loader.java:280) 
at edu.cmu.sphinx.frontend.AutoCepstrum.newProperties(AutoCepstrum.java:120) 
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:508) 
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:161) 
at edu.cmu.sphinx.util.props.PropertySheet.getComponentList(PropertySheet.java:422) 
at edu.cmu.sphinx.frontend.FrontEnd.newProperties(FrontEnd.java:160) 
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:508) 
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:290) 
at edu.cmu.sphinx.decoder.scorer.SimpleAcousticScorer.newProperties(SimpleAcousticScorer.java:46) 
at edu.cmu.sphinx.decoder.scorer.ThreadedAcousticScorer.newProperties(ThreadedAcousticScorer.java:130) 
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:508) 
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:290) 
at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.newProperties(WordPruningBreadthFirstSearchManager.java:201) 
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:508) 
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:290) 
at edu.cmu.sphinx.decoder.AbstractDecoder.newProperties(AbstractDecoder.java:71) 
at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:37) 
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:508) 
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:290) 
at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:90) 
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:508) 
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:161) 
at edu.cmu.sphinx.api.Context.<init>(Context.java:77) 
at edu.cmu.sphinx.api.Context.<init>(Context.java:49) 
at edu.cmu.sphinx.api.SpeechAligner.<init>(SpeechAligner.java:41) 

はどこでAMと古いスフィンクスのバージョンと互換性の辞書の古いフランス語版を見つけることができますか?ありがとうございました。

答えて

0

古いフランス語の音響モデルはありません。新しい音響モデルと新しいコードを使用する必要があります。新しいコードに問題がある場合は、代わりに修正する方が簡単です。