VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
Prometheus001 at gmx.net Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Sun Mar 01, 2009 5:35 pm Post subject: [Freeswitch-users] pocketsphinx and 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:
_______________________________________________
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 |
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Mon Mar 02, 2009 3:41 pm Post subject: [Freeswitch-users] pocketsphinx and event socket |
|
|
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:
Quote: | 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:
_______________________________________________
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 |
|
Back to top |
|
|
freeswitch at serverco... Guest
|
Posted: Mon Mar 02, 2009 5:53 pm Post subject: [Freeswitch-users] pocketsphinx and event socket |
|
|
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:
Quote: | 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:
Quote: | 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:
_______________________________________________
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 |
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Mon Mar 02, 2009 6:53 pm Post subject: [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:
Quote: | 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:
Quote: | 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:
Quote: | 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:
_______________________________________________
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 |
|
Back to top |
|
|
mszlazak at aol.com Guest
|
Posted: Mon Mar 02, 2009 8:01 pm Post subject: [Freeswitch-users] pocketsphinx and event socket |
|
|
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 <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
Quote: | 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:
Quote: | You need the grammar files for the pizza demo:
|
Quote: | has lonks to premade fles for everyhting to get the pizza demo working
|
Quote: | with pocketshinx. Those to not come with the source code when you
|
Quote: | On Mon, Mar 2, 2009 at 2:31 PM, Peter P GMX <Prometheus001@gmx.net (Prometheus001@gmx.net)> wrote:
|
Quote: | Quote: | the system I am working on is a copy (dd copy) of a system where the
|
|
Quote: | Quote: | pizza demo works on.
|
|
Quote: | Quote: | The only thing I changed was to update to the current freeswitch trunk
|
|
Quote: | Quote: | 12293 (it was 10003 before).
|
|
Quote: | Quote: | Do I need to update the model? I did a make in the model directory, but
|
|
Quote: | Quote: | Peter P GMX schrieb:
|
|
Quote: | Quote: | Quote: | thanks for the info. I am a step further, but it cannot load the grammar
|
|
|
Quote: | Quote: | Quote: | I am sending through event_socket:
|
|
|
Quote: | Quote: | Quote: | call-command: execute
|
|
|
Quote: | Quote: | Quote: | execute-app-name: detect_speech
|
|
|
Quote: | Quote: | Quote: | execute-app-arg: pocketsphinx yes no
|
|
|
Quote: | Quote: | Quote: | However I get the message (also when I am using Pizza demo):
|
|
|
Quote: | Quote: | Quote: | 2009-03-01 23:02:24 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event()
|
|
|
Quote: | Quote: | Quote: | detect_speech(pocketsphinx yes no)
|
|
|
Quote: | Quote: | Quote: | 2009-03-01 23:02:24 [WARNING] mod_pocketsphinx.c:145
|
|
|
Quote: | Quote: | Quote: | pocketsphinx_asr_load_grammar() Can't open language model
|
|
|
Quote: | Quote: | Quote: | /usr/local/freeswitch/grammar/model/communicator.
|
|
|
Quote: | Quote: | Quote: | 2009-03-01 23:02:24 [DEBUG] switch_ivr_async.c:2041
|
|
|
Quote: | Quote: | Quote: | switch_ivr_detect_speech() Error loading Grammar
|
|
|
Quote: | Quote: | Quote: | 2009-03-01 23:02:24 [WARNING] mod_pocketsphinx.c:219
|
|
|
Quote: | Quote: | Quote: | pocketsphinx_asr_close() Port Closed.
|
|
|
Quote: | Quote: | Quote: | However the grammar files are there:
|
|
|
Quote: | Quote: | Quote: | root@sip2:/usr/local/freeswitch/grammar/model/communicator#
|
|
|
Quote: | Quote: | Quote: | root@sip2:/usr/local/freeswitch/grammar/model/communicator# ls -al
|
|
|
Quote: | Quote: | Quote: | drwxr-xr-x 2 freeswitch root 4096 2008-08-13 16:00 .
|
|
|
Quote: | Quote: | Quote: | drwxr-xr-x 4 freeswitch root 4096 2008-08-13 16:00 ..
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 1775 2008-03-21 23:32 COPYING
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 169 2008-03-21 09:21 feat.params
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 6476668 2008-03-21 09:21 mdef
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 52304 2008-03-21 10:07 means
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 263 2008-03-21 15:24 noisedict
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 6406784 2008-03-21 10:07 sendump
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 6184 2008-03-21 10:07 transition_matrices
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 52304 2008-03-21 10:07 variances
|
|
|
Quote: | Quote: | Quote: | Brian West schrieb:
|
|
|
Quote: | Quote: | Quote: | Quote: | You can accomplish this .... here is an example using ESL in perl
|
|
|
|
Quote: | Quote: | Quote: | Quote: | On Feb 28, 2009, at 6:18 AM, Peter P GMX wrote:
|
|
|
|
Quote: | Quote: | Quote: | Quote: | Quote: | Or back to the basics: Is it possible to use pocketsphinx through
|
|
|
|
|
Quote: | Quote: | Quote: | Quote: | _______________________________________________
|
|
|
|
Quote: | Quote: | Quote: | Quote: | Freeswitch-users mailing list
|
|
|
|
Quote: | Quote: | Quote: | _______________________________________________
|
|
|
Quote: | Quote: | Quote: | Freeswitch-users mailing list
|
|
|
Quote: | Quote: | _______________________________________________
|
|
Quote: | Quote: | Freeswitch-users mailing list
|
|
Quote: | _______________________________________________
|
Quote: | Freeswitch-users mailing list
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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! |
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Tue Mar 03, 2009 6:20 am Post subject: [Freeswitch-users] pocketsphinx and event socket |
|
|
Thanks Mark,
I now switched back to rev. 10003 and the Pizza works again.
Best regards
Petere
mszlazak@aol.com schrieb:
Quote: | 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 <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:
Quote: | You need the grammar files for the pizza demo:
|
Quote: | http://wiki.freeswitch.org/wiki/Mod_pocketsphinx#Testing_with_the_Pizza_Demo
|
Quote: | has lonks to premade fles for everyhting to get the pizza demo working
|
Quote: | with pocketshinx. Those to not come with the source code when you
|
Quote: | On Mon, Mar 2, 2009 at 2:31 PM, Peter P GMX <Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>> wrote:
|
Quote: | Quote: | the system I am working on is a copy (dd copy) of a system where the
|
|
Quote: | Quote: | pizza demo works on.
|
|
Quote: | Quote: | The only thing I changed was to update to the current freeswitch trunk
|
|
Quote: | Quote: | 12293 (it was 10003 before).
|
|
Quote: | Quote: | Do I need to update the model? I did a make in the model directory, but
|
|
Quote: | Quote: | Peter P GMX schrieb:
|
|
Quote: | Quote: | Quote: | thanks for the info. I am a step further, but it cannot load the grammar
|
|
|
Quote: | Quote: | Quote: | I am sending through event_socket:
|
|
|
Quote: | Quote: | Quote: | call-command: execute
|
|
|
Quote: | Quote: | Quote: | execute-app-name: detect_speech
|
|
|
Quote: | Quote: | Quote: | execute-app-arg: pocketsphinx yes no
|
|
|
Quote: | Quote: | Quote: | However I get the message (also when I am using Pizza demo):
|
|
|
Quote: | Quote: | Quote: | 2009-03-01 23:02:24 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event()
|
|
|
Quote: | Quote: | Quote: | sofia/internal/1000@sip2.server.com <mailto:1000@sip2.server.com> Command Execute
|
|
|
Quote: | Quote: | Quote: | detect_speech(pocketsphinx yes no)
|
|
|
Quote: | Quote: | Quote: | 2009-03-01 23:02:24 [WARNING] mod_pocketsphinx.c:145
|
|
|
Quote: | Quote: | Quote: | pocketsphinx_asr_load_grammar() Can't open language model
|
|
|
Quote: | Quote: | Quote: | /usr/local/freeswitch/grammar/model/communicator.
|
|
|
Quote: | Quote: | Quote: | 2009-03-01 23:02:24 [DEBUG] switch_ivr_async.c:2041
|
|
|
Quote: | Quote: | Quote: | switch_ivr_detect_speech() Error loading Grammar
|
|
|
Quote: | Quote: | Quote: | 2009-03-01 23:02:24 [WARNING] mod_pocketsphinx.c:219
|
|
|
Quote: | Quote: | Quote: | pocketsphinx_asr_close() Port Closed.
|
|
|
Quote: | Quote: | Quote: | However the grammar files are there:
|
|
|
Quote: | Quote: | Quote: | root@sip2:/usr/local/freeswitch/grammar/model/communicator#
|
|
|
Quote: | Quote: | Quote: | root@sip2:/usr/local/freeswitch/grammar/model/communicator# ls -al
|
|
|
Quote: | Quote: | Quote: | drwxr-xr-x 2 freeswitch root 4096 2008-08-13 16:00 .
|
|
|
Quote: | Quote: | Quote: | drwxr-xr-x 4 freeswitch root 4096 2008-08-13 16:00 ..
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 1775 2008-03-21 23:32 COPYING
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 169 2008-03-21 09:21 feat.params
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 6476668 2008-03-21 09:21 mdef
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 52304 2008-03-21 10:07 means
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 263 2008-03-21 15:24 noisedict
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 6406784 2008-03-21 10:07 sendump
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 6184 2008-03-21 10:07 transition_matrices
|
|
|
Quote: | Quote: | Quote: | -rw-r--r-- 1 freeswitch root 52304 2008-03-21 10:07 variances
|
|
|
Quote: | Quote: | Quote: | Brian West schrieb:
|
|
|
Quote: | Quote: | Quote: | Quote: | You can accomplish this .... here is an example using ESL in perl
|
|
|
|
Quote: | Quote: | Quote: | Quote: | http://fisheye.freeswitch.org/browse/FreeSWITCH/libs/esl/perl/server3.pl?r=12344
|
|
|
|
Quote: | Quote: | Quote: | Quote: | On Feb 28, 2009, at 6:18 AM, Peter P GMX wrote:
|
|
|
|
Quote: | Quote: | Quote: | Quote: | Quote: | Or back to the basics: Is it possible to use pocketsphinx through
|
|
|
|
|
Quote: | Quote: | Quote: | Quote: | _______________________________________________
|
|
|
|
Quote: | Quote: | Quote: | Quote: | Freeswitch-users mailing list
|
|
|
|
Quote: | Quote: | Quote: | Quote: | Freeswitch-users@lists.freeswitch.org <mailto:Freeswitch-users@lists.freeswitch.org>
|
|
|
|
Quote: | Quote: | Quote: | Quote: | http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
|
|
|
|
Quote: | Quote: | Quote: | Quote: | UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
|
|
|
|
Quote: | Quote: | Quote: | Quote: | http://www.freeswitch.org
|
|
|
|
Quote: | Quote: | Quote: | _______________________________________________
|
|
|
Quote: | Quote: | Quote: | Freeswitch-users mailing list
|
|
|
Quote: | Quote: | Quote: | Freeswitch-users@lists.freeswitch.org <mailto:Freeswitch-users@lists.freeswitch.org>
|
|
|
Quote: | Quote: | Quote: | http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
|
|
|
Quote: | Quote: | Quote: | UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
|
|
|
Quote: | Quote: | Quote: | http://www.freeswitch.org
|
|
|
Quote: | Quote: | _______________________________________________
|
|
Quote: | Quote: | Freeswitch-users mailing list
|
|
Quote: | Quote: | Freeswitch-users@lists.freeswitch.org <mailto:Freeswitch-users@lists.freeswitch.org>
|
|
Quote: | Quote: | http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
|
|
Quote: | Quote: | UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
|
|
Quote: | Quote: | http://www.freeswitch.org
|
|
Quote: | _______________________________________________
|
Quote: | Freeswitch-users mailing list
|
Quote: | Freeswitch-users@lists.freeswitch.org <mailto:Freeswitch-users@lists.freeswitch.org>
|
Quote: | http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
|
Quote: | UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
|
Quote: | 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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Mar 03, 2009 9:38 am Post subject: [Freeswitch-users] pocketsphinx and event socket |
|
|
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:
Quote: | 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
|
_______________________________________________
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Tue Mar 03, 2009 8:16 pm Post subject: [Freeswitch-users] pocketsphinx and event socket |
|
|
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:
_______________________________________________
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Mar 03, 2009 10:13 pm Post subject: [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:
Quote: | 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 |
|
Back to top |
|
|
mszlazak at aol.com Guest
|
Posted: Wed Mar 04, 2009 2:34 am Post subject: [Freeswitch-users] pocketsphinx and event socket |
|
|
Brian,
Peter says:
Quote: | "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
A Good Credit Score is 700 or Above. See yours in just 2 easy steps! |
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Thu Mar 05, 2009 3:36 pm Post subject: [Freeswitch-users] pocketsphinx and event socket |
|
|
Hello Brian,
concerning
Quote: | 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:
Quote: | Will there also be major changes in the events I receive through
| mod_eventsocket?
Quote: | Will I need updated grammar files for the other models too?
|
and receiving
Quote: | Well you should use ESL then
|
is frustrating.
Best regards
Peter
Brian West schrieb:
Quote: | Well you should use ESL then
/b
On Mar 3, 2009, at 7:05 PM, Peter P GMX wrote:
Quote: | 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
|
_______________________________________________
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 |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Mar 05, 2009 3:40 pm Post subject: [Freeswitch-users] pocketsphinx and event socket |
|
|
On Thu, Mar 5, 2009 at 12:20 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
Quote: | Hello Brian,
concerning
Quote: | 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|