pocketsphinx and event socket
Hello, I have tried the pizza demo and did it get to work so far. However I would like to use pocketsphinx through event socket. I saw in the wiki that there is a chapter for Speech Synthesis Commands: http://wiki.freeswitch.org/wiki/Mod_commands#Speech_Synthesis_Commands However this is empty. Also http://wiki.freeswitch.org/wiki/ASR didn't give me a hint. As I am not a Java programmer, it's hard for me to determine how the pizza demo actually works. Anybody has a sample how he did it e.g. in Php/Perl or so? (I am working with Ruby) Or back to the basics: Is it possible to use pocketsphinx through event socket? Best regards Peter
You can accomplish this .... here is an example using ESL in perl http://fisheye.freeswitch.org/browse/FreeSWITCH/libs/esl/perl/server3.pl?r=1... /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?
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/1000@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: root@sip2:/usr/local/freeswitch/grammar/model/communicator# root@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=1...
/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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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/1000@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: root@sip2:/usr/local/freeswitch/grammar/model/communicator# root@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=1...
/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 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
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 <Prometheus001@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/1000@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: root@sip2:/usr/local/freeswitch/grammar/model/communicator# root@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=1...
/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 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
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 <Prometheus001@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/1000@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: root@sip2:/usr/local/freeswitch/grammar/model/communicator# root@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=1...
/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 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
_______________________________________________ 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
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/cmudic... That gave me more problems so I'm waiting for the fix. Mark. -----Original Message----- From: Peter P GMX <Prometheus001@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 <Prometheus001@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/1000@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:
root@sip2:/usr/local/freeswitch/grammar/model/communicator#
root@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=1...
/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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________ 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
Thanks Mark, I now switched back to rev. 10003 and the Pizza works again. Best regards Petere mszlazak@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/cmudic...
That gave me more problems so I'm waiting for the fix.
Mark.
-----Original Message----- From: Peter P GMX <Prometheus001@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 <Prometheus001@gmx.net <mailto:Prometheus001@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/1000@sip2.server.com <mailto:1000@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:
root@sip2:/usr/local/freeswitch/grammar/model/communicator#
root@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=1...
/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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
------------------------------------------------------------------------ *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
It works if you have the latest SVN with the new grammar files in jsgf format. http://www.bkw.org/pizza_gram.tar.gz /b On Mar 3, 2009, at 5:07 AM, Peter P GMX wrote:
Thanks Mark,
I now switched back to rev. 10003 and the Pizza works again.
Best regards Petere
Thank you Brian, I will try this later. Currently I was happy to get this working on SVN 10003. As mod_pockesphinx has changed/evolved significantely: Will there also be major changes in the events I receive through mod_eventsocket? I spend some time on parsing the right data out of the eventsocket interface, and I would just have an idea, if I will have to expect significant work to do, when I later switch to the current SVN. Will I need updated grammar files for the other models too? Best regards Peter Brian West schrieb:
It works if you have the latest SVN with the new grammar files in jsgf format. http://www.bkw.org/pizza_gram.tar.gz
/b
On Mar 3, 2009, at 5:07 AM, Peter P GMX wrote:
Thanks Mark,
I now switched back to rev. 10003 and the Pizza works again.
Best regards Petere
_______________________________________________ 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
Well you should use ESL then ;) /b On Mar 3, 2009, at 7:05 PM, Peter P GMX wrote:
Thank you Brian,
I will try this later.
Currently I was happy to get this working on SVN 10003.
As mod_pockesphinx has changed/evolved significantely: Will there also be major changes in the events I receive through mod_eventsocket? I spend some time on parsing the right data out of the eventsocket interface, and I would just have an idea, if I will have to expect significant work to do, when I later switch to the current SVN.
Will I need updated grammar files for the other models too?
Best regards Peter
Brian, Peter says: "mod_pockesphinx has changed/evolved significantely" Since this seems to be coming without any warning, what specifically are all these and future changes and why are they happening? Mark. -----Original Message----- From: Brian West <brian@freeswitch.org> To: freeswitch-users@lists.freeswitch.org Sent: Tue, 3 Mar 2009 7:00 pm Subject: Re: [Freeswitch-users] pocketsphinx and event socket Well you should use ESL then ;) /b On Mar 3, 2009, at 7:05 PM, Peter P GMX wrote:
Thank you Brian,
I will try this later.
Currently I was happy to get this working on SVN 10003.
As : Will there also be major changes in the events I receive through mod_eventsocket? I spend some time on parsing the right data out of the eventsocket interface, and I would just have an idea, if I will have to expect significant work to do, when I later switch to the current SVN.
Will I need updated grammar files for the other models too?
Best regards Peter
_______________________________________________ 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
Hello Brian, concerning
Well you should use ESL then ;) I simply do not understand what you mean by this. Is it sarcastic? Am I asking stupid questions?
After upgrading Freeswitch to the newest trunk, mod_pocketsphinx didn't work anymore. So I asked this mailing list about information about what happened. I understand now that there were some significant changes in mod_pocketsphinx and that also some other files have to be updated. I could not find any documentation about these changes, and asking here on this mailing list was rather disappointing for me. Some bits, yes. Some things don't work/crash, as I have read here. We are not using Freeswitch just as a toy to play around. Sometimes it's simply important to know which impact a certain change may have on our system. And other people will run into the same problem. So any advice was needed about the status and how to make it work. I'll update the wiki with this information (as I usually do), I promise. I honor the great work you do and freeswitch is really great. But asking:
Will there also be major changes in the events I receive through mod_eventsocket? Will I need updated grammar files for the other models too?
and receiving
Well you should use ESL then ;)
is frustrating. Best regards Peter Brian West schrieb:
Well you should use ESL then ;)
/b
On Mar 3, 2009, at 7:05 PM, Peter P GMX wrote:
Thank you Brian,
I will try this later.
Currently I was happy to get this working on SVN 10003.
As mod_pockesphinx has changed/evolved significantely: Will there also be major changes in the events I receive through mod_eventsocket? I spend some time on parsing the right data out of the eventsocket interface, and I would just have an idea, if I will have to expect significant work to do, when I later switch to the current SVN.
Will I need updated grammar files for the other models too?
Best regards Peter
_______________________________________________ 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
On Thu, Mar 5, 2009 at 12:20 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello Brian,
concerning
Well you should use ESL then ;) I simply do not understand what you mean by this. Is it sarcastic? Am I asking stupid questions?
ESL = Event Socket Library. It is an abstraction layer to make interacting with the FS event socket a little easier. Look in the source directory under libs/esl and you'll see all sorts of stuff. Also check out the new-but-growing ESL wiki page: http://wiki.freeswitch.org/wiki/Esl -MC
Hello Michael, now some time later I did another try with the latest trunk. The problem were the grammar files fr the pizza demo. The old ones didn't work anymore with ne tnew version of pocketsphinx. Now with the new grammar files it works. I have updated the wiki accordingly. Best regards Peter Michael Collins schrieb:
On Thu, Mar 5, 2009 at 12:20 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello Brian,
concerning
Well you should use ESL then ;)
I simply do not understand what you mean by this. Is it sarcastic? Am I asking stupid questions?
ESL = Event Socket Library. It is an abstraction layer to make interacting with the FS event socket a little easier. Look in the source directory under libs/esl and you'll see all sorts of stuff. Also check out the new-but-growing ESL wiki page:
http://wiki.freeswitch.org/wiki/Esl
-MC
_______________________________________________ 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
Looks like the acoustical model wasn't installed... you might need to remove all references of pocketsphinx and sphinxbase from libs and let it redownload them all. /b On Mar 2, 2009, at 5:42 PM, Peter P GMX wrote:
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
participants (5)
-
Addison Martin
-
Brian West
-
Michael Collins
-
mszlazak@aol.com
-
Peter P GMX