Thanks Mark, I now switched back to rev. 10003 and the Pizza works again.
Best regards Petere mszla...@aol.com schrieb: > I think you need to talk to Brian. > > Apparently this is a "new" pocketsphinx which works on a different > format from those found in the pizza demo. > > Also, pocketsphinx crashes if it "hears" anything outside the grammar > which apparently is a longstanding bug. Brian mentioned they are > working on getting this fixed. > > I kept getting: > > 2009-02-25 19:49:32 [ERR] mod_pocketsphinx.c:140 > pocketsphinx_asr_load_grammar() Can't open dictionary > C:\Source\freeswitch-snapshot\Debug\grammar\default.dic. > 2009-02-25 19:49:32 [WARNING] mod_pocketsphinx.c:219 > pocketsphinx_asr_close() Port Closed. > > The suggestion was to "Just copy the cmudict.0.6d to default.dic, not > sure how well it will perform on windows.. if it does badly you can > slim the dictionary down to words you know you'll be using." > > https://cmusphinx.svn.sourceforge.net/svnroot/cmusphinx/trunk/cmudict/cmudict.0.6d > > That gave me more problems so I'm waiting for the fix. > > Mark. > > > > -----Original Message----- > From: Peter P GMX <prometheus...@gmx.net> > To: freeswitch-users@lists.freeswitch.org > Sent: Mon, 2 Mar 2009 3:42 pm > Subject: Re: [Freeswitch-users] pocketsphinx and event socket > > Thanks Addison. > > > > > > > > The Pizza files are there (as mentionned is it a copy of an already > > > > > > > > working system). > > > > > > > > In fact freeswitch is complaning about > > > > > > > > /usr/local/freeswitch/grammar/model/communicator which he cannot load > > > > > > > > > > > > > > > > So somehow freeswitch is not willing to open the files, but I have no > > > > > > > > clue why. So any hints are welcome. > > > > > > > > > > > > > > > > Best regards > > > > > > > > Peter > > > > > > > > > > > > > > > > > > > > > > > > Addison Martin schrieb: > > > > > > > > > Peter, > > > > > > > > > > > > > > > > > > You need the grammar files for the pizza demo: > > > > > > > > > http://wiki.freeswitch.org/wiki/Mod_pocketsphinx#Testing_with_the_Pizza_Demo > > > > > > > > > has lonks to premade fles for everyhting to get the pizza demo working > > > > > > > > > with pocketshinx. Those to not come with the source code when you > > > > > > > > > update from SVN. > > > > > > > > > > > > > > > > > > Nik > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Mar 2, 2009 at 2:31 PM, Peter P GMX <prometheus...@gmx.net > > <mailto:prometheus...@gmx.net>> wrote: > > > > > > > > > > > > > > > > > >> Some more info: > > > > > > > > >> the system I am working on is a copy (dd copy) of a system where the > > > > > > > > >> pizza demo works on. > > > > > > > > >> The only thing I changed was to update to the current freeswitch trunk > > > > > > > > >> 12293 (it was 10003 before). > > > > > > > > >> > > > > > > > > >> Do I need to update the model? I did a make in the model directory, but > > > > > > > > >> no change. > > > > > > > > >> > > > > > > > > >> Best regards > > > > > > > > >> Peter > > > > > > > > >> > > > > > > > > >> Peter P GMX schrieb: > > > > > > > > >> > > > > > > > > >>> Hello Brian, > > > > > > > > >>> > > > > > > > > >>> thanks for the info. I am a step further, but it cannot load the grammar > > > > > > > > >>> files. > > > > > > > > >>> I am sending through event_socket: > > > > > > > > >>> > > > > > > > > >>> SendMsg > > > > > > > > >>> call-command: execute > > > > > > > > >>> execute-app-name: detect_speech > > > > > > > > >>> execute-app-arg: pocketsphinx yes no > > > > > > > > >>> > > > > > > > > >>> However I get the message (also when I am using Pizza demo): > > > > > > > > >>> 2009-03-01 23:02:24 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event() > > > > > > > > >>> sofia/internal/1...@sip2.server.com <mailto:1...@sip2.server.com> Command > >>> Execute > > > > > > > > >>> detect_speech(pocketsphinx yes no) > > > > > > > > >>> 2009-03-01 23:02:24 [WARNING] mod_pocketsphinx.c:145 > > > > > > > > >>> pocketsphinx_asr_load_grammar() Can't open language model > > > > > > > > >>> /usr/local/freeswitch/grammar/model/communicator. > > > > > > > > >>> 2009-03-01 23:02:24 [DEBUG] switch_ivr_async.c:2041 > > > > > > > > >>> switch_ivr_detect_speech() Error loading Grammar > > > > > > > > >>> 2009-03-01 23:02:24 [WARNING] mod_pocketsphinx.c:219 > > > > > > > > >>> pocketsphinx_asr_close() Port Closed. > > > > > > > > >>> > > > > > > > > >>> However the grammar files are there: > > > > > > > > >>> r...@sip2:/usr/local/freeswitch/grammar/model/communicator# > > > > > > > > >>> r...@sip2:/usr/local/freeswitch/grammar/model/communicator# ls -al > > > > > > > > >>> total 12752 > > > > > > > > >>> drwxr-xr-x 2 freeswitch root 4096 2008-08-13 16:00 . > > > > > > > > >>> drwxr-xr-x 4 freeswitch root 4096 2008-08-13 16:00 .. > > > > > > > > >>> -rw-r--r-- 1 freeswitch root 1775 2008-03-21 23:32 COPYING > > > > > > > > >>> -rw-r--r-- 1 freeswitch root 169 2008-03-21 09:21 feat.params > > > > > > > > >>> -rw-r--r-- 1 freeswitch root 6476668 2008-03-21 09:21 mdef > > > > > > > > >>> -rw-r--r-- 1 freeswitch root 52304 2008-03-21 10:07 means > > > > > > > > >>> -rw-r--r-- 1 freeswitch root 263 2008-03-21 15:24 noisedict > > > > > > > > >>> -rw-r--r-- 1 freeswitch root 6406784 2008-03-21 10:07 sendump > > > > > > > > >>> -rw-r--r-- 1 freeswitch root 6184 2008-03-21 10:07 transition_matrices > > > > > > > > >>> -rw-r--r-- 1 freeswitch root 52304 2008-03-21 10:07 variances > > > > > > > > >>> > > > > > > > > >>> > > > > > > > > >>> Any hint? > > > > > > > > >>> > > > > > > > > >>> Best regards > > > > > > > > >>> Peter > > > > > > > > >>> > > > > > > > > >>> Brian West schrieb: > > > > > > > > >>> > > > > > > > > >>> > > > > > > > > >>>> You can accomplish this .... here is an example using ESL in perl > > > > > > > > >>>> > > > > > > > > >>>> http://fisheye.freeswitch.org/browse/FreeSWITCH/libs/esl/perl/server3.pl?r=12344 > > > > > > > > >>>> > > > > > > > > >>>> /b > > > > > > > > >>>> > > > > > > > > >>>> On Feb 28, 2009, at 6:18 AM, Peter P GMX wrote: > > > > > > > > >>>> > > > > > > > > >>>> > > > > > > > > >>>> > > > > > > > > >>>> > > > > > > > > >>>>> Or back to the basics: Is it possible to use pocketsphinx through > > > > > > > > >>>>> event > > > > > > > > >>>>> socket? > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>> _______________________________________________ > > > > > > > > >>>> Freeswitch-users mailing list > > > > > > > > >>>> Freeswitch-users@lists.freeswitch.org > >>>> <mailto: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 > >>> <mailto: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 > >> <mailto: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 > > <mailto: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 > <mailto: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 > > > > > > > > > ------------------------------------------------------------------------ > *A Good Credit Score is 700 or Above. See yours in just 2 easy steps! > <http://pr.atwola.com/promoclk/100126575x1219957551x1201325337/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62>* > > ------------------------------------------------------------------------ > > _______________________________________________ > 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