以下コマンドを
$ julius -nostrip -C `brew --prefix julius-dictation-kit`/share/main.jconf -C `brew --prefix julius-dictation-kit`/share/am-gmm.jconf
実行すると
### read waveform input
STAT: AD-in thread created
<<< please speak >>>Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
Warning: strip: sample 0-4095 is invalid, stripped
...
何やらWarnigが出まくる…
どうやら特徴抽出する際にJuliusがあやしいサンプル?(何もないデータ?)があったから飛ばしたって事っぽい。
解決方法
-nostrip
オプションを付けるとWarnigは出なくなる。
$ julius -nostrip -C `brew --prefix julius-dictation-kit`/share/main.jconf -C `brew --prefix julius-dictation-kit`/share/am-gmm.jconf