[commit] r8951 - freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx
Author: brian Date: Tue Jul 8 19:37:56 2008 New Revision: 8951 Modified: freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c Log: woops Modified: freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c ============================================================================== --- freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c (original) +++ freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c Tue Jul 8 19:37:56 2008 @@ -332,12 +332,12 @@ if (switch_test_flag(ps, PSFLAG_HAS_TEXT)) { switch_mutex_lock(ps->flag_mutex); switch_clear_flag(ps, PSFLAG_HAS_TEXT); - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Recognized: %s, Score: 300\n", ps->hyp); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Recognized: %s, Score: 600\n", ps->hyp); switch_mutex_unlock(ps->flag_mutex); /* ps->score isn't a confidence score. PocketSphinx doesn't support that yet. */ - *xmlstr = switch_mprintf("<interpretation grammar=\"%s\" score=\"300\">\n" + *xmlstr = switch_mprintf("<interpretation grammar=\"%s\" score=\"600\">\n" " <result name=\"%s\">%s</result>\n" " <input>%s</input>\n" "</interpretation>",
participants (1)
-
Freeswitch SVN