LoginSignup
6
5

More than 5 years have passed since last update.

Julius実行時に出るWarningの非表示方法

Last updated at Posted at 2014-05-19

以下コマンドを

$ 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
6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5