Brian it looks like those four .lm files are blank but I decided to remake them myself.
I went to CMU's sphinx page and found this online LM tool http://www.speech.cs.cmu.edu/tools/lmtool.html and used the four corpus files in the four folder of with my empty .lm files to generate their contents. The pizza demo then seemed to fully work but struggled a bit "hearing"/"recognizing" some of my toppings. I have a couple requests/suggestion/questions for your teams consideration: 1) This page (http://wiki.freeswitch.org/wiki/Mod_pocketsphinx) on Mod Pocketsphinx needs updating to indicate this easy to use resource for building grammar files but if everyone is busy I could do it if their are no objections. 2) I believe the latest "snapshot" release of FS that Anthony asked that I try was using Pocketsphinx version 0.499 but the latest stable version of pocketsphinx is 0.5 (http://sourceforge.net/forum/forum.php?forum_id=843940). Which is about 50% smaller and up to 18% faster than the previous one, and introduces a new, re-entrant and "modern" API. Are you planning to use this updated version of pocketsphinx soon? Mark. -----Original Message----- From: Brian West <[EMAIL PROTECTED]> To: freeswitch-users@lists.freeswitch.org Sent: Fri, 7 Nov 2008 11:38 am Subject: Re: [Freeswitch-users] Different problems with "pizza" demo on newer build. -rw-r--r-- 2 brian staff 1325 Jul 8 20:35 pizza_arso/pizza_arso.lm -rw-r--r-- 2 brian staff 1797 Jul 8 19:51 pizza_crust/pizza_crust.lm -rw-r--r-- 2 brian staff 667 Jul 7 20:08 pizza_order/pizza_order.lm -rw-r--r-- 2 brian staff 1122 Jul 8 19:46 pizza_size/pizza_size.lm -rw-r--r-- 2 brian staff 2529 Jul 8 20:05 pizza_specialty/pizza_specialty.lm -rw-r--r-- 2 brian staff 3367 Jul 8 20:30 pizza_toppings/pizza_toppings.lm -rw-r--r-- 2 brian staff 885 Jul 8 19:55 pizza_type/pizza_type.lm -rw-r--r-- 2 brian staff 724 Jul 7 20:18 pizza_yesno/pizza_yesno.lm They all look fine to me. Where did you download yours from? /b On Nov 7, 2008, at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Anthony and Brian. I should have done this yesterday but I'm learning debugging in this IDE environment as I go. Anyway, have you looked at the .lm grammar files in the "pizza demo"? For the grammar file download in the wiki, I finding 9 .lm files: 6859, pizza_arso, pizza_crust, pizza_order, pizza_size, pizza_specialty, pizza_toppings, pizza_type, pizza_yesno. Of these, 4 files are empty: pizza_crust, pizza_size, pizza_specialty, pizza_toppings. I commented out the related sections in ps_pizza.js and the "pizza demo" seemed to work in this shortened form. It took the type of order (nothing else), order confirmation, when to come pick-up and then hung-up. Could I get the rest of the .lm files? Updating the grammar files download for "pizza" would nice. Thanks. Mark. -----Original Message----- From: Anthony Minessale <[EMAIL PROTECTED]> To: freeswitch-users@lists.freeswitch.org Sent: Thu, 6 Nov 2008 6:22 am Subject: Re: [Freeswitch-users] Different problems with "pizza" demo on newer build. can you please download and build the development snapshot instead of the 1.0.1 since we are almost to 1.0.2 now. http://files.freeswitch.org/freeswitch-snapshot.tar.gz On Wed, Nov 5, 2008 at 10:05 PM, <[EMAIL PROTECTED]> wrote: Yup, I'm using ps_pizza.js. Mark -----Original Message----- From: Brian West <[EMAIL PROTECTED]> To: freeswitch-users@lists.freeswitch.org Sent: Wed, 5 Nov 2008 4:50 pm Subject: Re: [Freeswitch-users] Different problems with "pizza" demo on newer build. Looks like the score is messed up. Are you using ps_pizza.js? /b On Nov 5, 2008, at 6:44 PM, [EMAIL PROTECTED] wrote: OK, I did my first FS "build" today from download "freeswitch-1.0.1.tar.gz" on Windows XP Pro with Visual C++ 2008 Express instead of using my previous MSI installed build which apparently uses the older FS version 1.0.9570. I'm not getting a crash as I did before with the MSI build on the "pizza" demo. Instead, in the newer build, the demo gets stuck in a loop and can't break out no matter what I say. See below: Any advice? Thank you in advance. Mark. </interpretation> 2008-11-05 16:22:19 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [²²²²½½½½½½½½ε■ε■] 2008-11-05 16:22:19 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78 2008-11-05 16:22:19 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this 2008-11-05 16:22:21 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming 2008-11-05 16:22:21 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:22:25 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file 2008-11-05 16:22:25 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/[EMAIL PROTECTED] [BREAK] 2008-11-05 16:22:26 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:22:26 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: TAKEOUT, Score: 0 2008-11-05 16:22:26 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_order" score="0"> <result name="match">TAKEOUT</result> <input>TAKEOUT</input> </interpretation> 2008-11-05 16:22:26 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [TAKEOUT] 2008-11-05 16:22:26 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78 2008-11-05 16:22:26 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file 2008-11-05 16:22:26 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this 2008-11-05 16:22:26 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/[EMAIL PROTECTED] [BREAK] 2008-11-05 16:22:27 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming 2008-11-05 16:22:27 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:22:33 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file 2008-11-05 16:22:33 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/[EMAIL PROTECTED] [BREAK] 2008-11-05 16:22:34 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:22:34 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file 2008-11-05 16:22:34 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/[EMAIL PROTECTED] [BREAK] 2008-11-05 16:22:35 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: TAKEOUT, Score: 0 2008-11-05 16:22:35 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_order" score="0"> <result name="match">TAKEOUT</result> <input>TAKEOUT</input> </interpretation> 2008-11-05 16:22:35 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [TAKEOUT] 2008-11-05 16:22:35 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78 2008-11-05 16:22:35 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this 2008-11-05 16:22:37 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming 2008-11-05 16:22:37 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:22:42 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file 2008-11-05 16:22:42 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/[EMAIL PROTECTED] [BREAK] 2008-11-05 16:22:43 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: DELIVERY, Score: 0 2008-11-05 16:22:43 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_order" score="0"> <result name="match">DELIVERY</result> <input>DELIVERY</input> </interpretation> 2008-11-05 16:22:43 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [DELIVERY] 2008-11-05 16:22:43 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78 2008-11-05 16:22:43 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this 2008-11-05 16:22:44 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming 2008-11-05 16:22:44 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:22:50 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file 2008-11-05 16:22:50 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/[EMAIL PROTECTED] [BREAK] 2008-11-05 16:22:50 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:22:51 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: TAKEOUT, Score: 0 2008-11-05 16:22:51 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_order" score="0"> <result name="match">TAKEOUT</result> <input>TAKEOUT</input> </interpretation> 2008-11-05 16:22:51 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [TAKEOUT] 2008-11-05 16:22:51 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78 2008-11-05 16:22:51 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file 2008-11-05 16:22:51 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this 2008-11-05 16:22:51 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/[EMAIL PROTECTED] [BREAK] 2008-11-05 16:22:53 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming 2008-11-05 16:22:53 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:22:58 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file 2008-11-05 16:22:58 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/[EMAIL PROTECTED] [BREAK] 2008-11-05 16:22:59 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:23:00 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file 2008-11-05 16:23:00 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/[EMAIL PROTECTED] [BREAK] 2008-11-05 16:23:01 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: PICKUP, Score: 0 2008-11-05 16:23:01 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_order" score="0"> <result name="match">PICKUP</result> <input>PICKUP</input> </interpretation> 2008-11-05 16:23:01 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [PICKUP] 2008-11-05 16:23:01 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78 2008-11-05 16:23:01 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this 2008-11-05 16:23:03 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming 2008-11-05 16:23:03 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated [EMAIL PROTECTED] 1 channels 20ms 2008-11-05 16:23:04 [DEBUG] sofia.c:197 sofia_event_callback() event [nua_i_state] status [0][INVITE sent] session: sofia/internal/[EMAIL PROTECTED] 2008-11-05 16:23:04 [DEBUG] sofia.c:2129 sofia_handle_sip_i_state() Channel sofia/internal/[EMAIL PROTECTED] entering state [calling] 2008-11-05 16:23:04 [DEBUG] sofia.c:2129 sofia_handle_sip_i_state() Channel sofia/internal/[EMAIL PROTECTED] entering state [ready] 2008-11-05 16:23:04 [DEBUG] sofia.c:2133 sofia_handle_sip_i_state() Remote SDP: Instant access to the latest & most popular FREE games while you browse with the Games Toolbar - Download Now! _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org = _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org Instant access to the latest & most popular FREE games while you browse with the Games Toolbar - Download Now! _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:[EMAIL PROTECTED] GTALK/JABBER/PAYPAL:[EMAIL PROTECTED] IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[EMAIL PROTECTED] iax:[EMAIL PROTECTED]/888 googletalk:[EMAIL PROTECTED] pstn:213-799-1400 _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org Instant access to the latest & most popular FREE games while you browse with the Games Toolbar - Download Now! _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org = _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org