Asterisk的语音识别



http://zaf.github.io/asterisk-speech-recog/

;;Simple speech recognition
exten => 1234,1,Answer()
exten => 1234,n,agi(speech-recog.agi,en-US)
exten => 1234,n,Verbose(1,The text you just said is: ${utterance})
exten => 1234,n,Verbose(1,The probability to be right is: ${confidence})
exten => 1234,n,Hangup()

但它给出了以下结果:-

The text you just said is: -1
The probability to be right is: -1

仔细检查是否安装了所有依赖项。

Perl: The Perl Programming Language 
perl-libwww: The World-Wide Web
library for Perl flac: Free Lossless Audio Codec

安装在我的一个实现谷歌语音识别API,AGI脚本:的软件包示例

[user@box ~]$ sudo rpm -qa | grep -Pi "libwww|flac|^perl-d"
perl-libwww-perl-5.833-2.el6.noarch
flac-devel-1.2.1-6.1.el6.x86_64
perl-5.10.1-130.el6_4.x86_64
flac-1.2.1-6.1.el6.x86_64

相关内容

  • 没有找到相关文章

最新更新