]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweaks to the recognizer from CMU
authorBrian West <brian@freeswitch.org>
Wed, 9 Jul 2008 16:15:21 +0000 (16:15 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 9 Jul 2008 16:15:21 +0000 (16:15 +0000)
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

index eb28a531669bb61284a9c08925172c25c314f6a6..3ce70fc5db3ab207e58f72d7e72e545be8d7ea0c 100644 (file)
@@ -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) {