works better if you do this correctly

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9007 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-07-12 22:05:13 +00:00
parent 42c821af13
commit 2380cce175
1 changed files with 1 additions and 1 deletions

View File

@ -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) {