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:
parent
42c821af13
commit
2380cce175
|
@ -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");
|
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. */
|
/* pocketsphinx scores 0 best to 100 worst. */
|
||||||
if (interp.@score >= grammar_object.min_score) {
|
if (interp.@score >= grammar_object.min_score) {
|
||||||
if (interp.@score >= grammar_object.confirm_score) {
|
if (interp.@score >= grammar_object.confirm_score) {
|
||||||
|
|
Loading…
Reference in New Issue