From: Brian West Date: Wed, 9 Jul 2008 16:15:21 +0000 (+0000) Subject: tweaks to the recognizer from CMU X-Git-Tag: v1.0.1~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c381f4ee344fa1f2c641b62b707222685a11280;p=thirdparty%2Ffreeswitch.git tweaks to the recognizer from CMU git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8956 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c b/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c index eb28a53166..3ce70fc5db 100644 --- a/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c +++ b/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c @@ -131,6 +131,14 @@ static switch_status_t pocketsphinx_asr_load_grammar(switch_asr_handle_t *ah, co "-hmm", model, "-lm", lm, "-dict", dic, + "-beam", "1e-60", + "-wbeam", "1e-40", + "-ci_pbeam", "1e-8", + "-subvqbeam", "1e-2", + "-maxhmmpf", "2000", + "-maxcdsenpf", "1000", + "-maxwpf", "8", + "-ds", "2", NULL); if (ps->config == NULL) {