[Freeswitch-svn] [commit] r9007 - freeswitch/trunk/scripts/js_modules

Freeswitch SVN brian at freeswitch.org
Sat Jul 12 18:05:14 EDT 2008


Author: brian
Date: Sat Jul 12 18:05:13 2008
New Revision: 9007

Modified:
   freeswitch/trunk/scripts/js_modules/SpeechTools.jm

Log:
works better if you do this correctly

Modified: freeswitch/trunk/scripts/js_modules/SpeechTools.jm
==============================================================================
--- freeswitch/trunk/scripts/js_modules/SpeechTools.jm	(original)
+++ freeswitch/trunk/scripts/js_modules/SpeechTools.jm	Sat Jul 12 18:05:13 2008
@@ -181,7 +181,7 @@
 					console_log("debug", "----Hit score " + interp. at 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. at score >= grammar_object.min_score) {
 						if (interp. at score >= grammar_object.confirm_score) {



More information about the Freeswitch-svn mailing list