From 9c381f4ee344fa1f2c641b62b707222685a11280 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 9 Jul 2008 16:15:21 +0000 Subject: [PATCH] tweaks to the recognizer from CMU git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8956 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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) {