我想在Ubuntu上使用Julius。幾個小時後,我終於開始工作了。在Julius語音識別上觸發腳本或外部程序
基本上,我需要它做的唯一事情就是當它識別某個單詞(例如「computer」)時觸發一個腳本。這是主要問題。什麼是最好的方式來做到這一點?
而且好像我不能設法在 「安靜」 模式下運行朱利葉斯·
$ julius -quiet -input mic -C julian.jconf 2>/dev/null
還輸出了太多的信息:
..........
reject short input = off
----------------------- System Information end -----------------------
*************************************************************
* NOTICE: The first input may not be recognized, since *
* no initial CMN parameter is available on startup. *
* for MFCC01*
*************************************************************
Stat: capture audio at 16000Hz
Stat: adin_alsa: latency set to 32 msec (chunk = 512 bytes)
Error: adin_alsa: unable to get pcm info from card control
Warning: adin_alsa: skip output of detailed audio device info
STAT: AD-in thread created
Warning: strip: sample 0-27 has zero value, stripped
pass1_best:
DOWarning: strip: sample 192-444 has zero value, strippedpass1_best:
DO PLAYsentence1:
DO PLAYpass1_best:
sentence1: DO PLAYpass1_best:Warning: strip: sample 406-436 has zero value, stripped
....
等上。
有什麼建議嗎?
我處於相同的情況。你找到了路嗎? – user1573607
是。是否通過php:julius -input mic -C /var/www/julius-grammar/julian.jconf -quiet | php /var/www/index.php主要julius –