提交 2380cce1 authored 作者: Brian West's avatar Brian West

works better if you do this correctly

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9007 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 42c821af
......@@ -181,7 +181,7 @@ function SpeechDetect(session, mod, ip) {
console_log("debug", "----Hit score " + interp.@score + "/" + grammar_object.min_score + "/" + grammar_object.confirm_score + "\n");
}
if (this.mod == "pocketsphinx") {
if (_this.mod == "pocketsphinx") {
/* pocketsphinx scores 0 best to 100 worst. */
if (interp.@score >= grammar_object.min_score) {
if (interp.@score >= grammar_object.confirm_score) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论