Diary/2007-12-19の変更点
- 追加された行はこのように表示されます。
- 削除された行はこのように表示されます。
!音声認識?
JuliusとMeCabを使って遊んでみたり。
{{files v}}
 mpg123 --rate 16000 --mono --wav `echo $1 | sed 's/mp3/wav/g'` $1
 echo `echo $1 |sed 's/mp3/wav/g'` > tmpfile
 julius -C /usr/local/julius/dictation-kit-v3.0/light.jconf -input rawfile -filelist tmpfile > tmp.result
 touch result.html
 grep sentence1 tmp.result | ruby parse.rb -s $1 >! result.html
 grep sentence1 tmp.result | ruby parse.rb -s $1 > result.html
とか。
QuickTimeの.Stepとかに指定すべき値がよくわからないので、
再生位置があわない...