What are the full set of parameters that can be specified in lumenvox.conf?
Is there a doc/link somewhere (I have already looked in
http://www.asterisk.org/doxygen/AstSpeech.html but there is nothing there on
Lumenvox specifics)
Is the code for res_speech_lumenvox.c available somewhere to help with
debug?
Posted: Sat Sep 02, 2006 9:23 am Post subject: [asterisk-speech-rec] Lumenvox
It sounds like /etc/asterisk/grammars doesn't exist. This directory is not created automatically with the current installation process, so you must manually create it (and put the appropriate grammars in it).
~Kenny Shumard
Digium
----- Original Message -----
From: Alan Parker <ajp_speech@ntlworld.com>
To: asterisk-speech-rec@lists.digium.com
Sent: Saturday, September 2, 2006 10:01:51 AM GMT-0600
Subject: [asterisk-speech-rec] Lumenvox
Posted: Sat Sep 02, 2006 12:28 pm Post subject: [asterisk-speech-rec] Lumenvox
The directory /etc/asterisk/grammars exists; as do the grammars required in
it. It seems that location is not the default location. Is it possible to
specify a location via a lumenvox.conf directive to be sure?
Alan
----- Original Message -----
From: "Kenneth Shumard" <kenny@digium.com>
To: "Discussing of speech recognition in Asterisk"
<asterisk-speech-rec@lists.digium.com>
Sent: Saturday, September 02, 2006 7:23 PM
Subject: Re: [asterisk-speech-rec] Lumenvox
Quote:
It sounds like /etc/asterisk/grammars doesn't exist. This directory is not
created automatically with the current installation process, so you must
manually create it (and put the appropriate grammars in it).
Quote:
~Kenny Shumard
Digium
----- Original Message -----
From: Alan Parker <ajp_speech@ntlworld.com>
To: asterisk-speech-rec@lists.digium.com
Sent: Saturday, September 2, 2006 10:01:51 AM GMT-0600
Subject: [asterisk-speech-rec] Lumenvox
Posted: Sat Sep 02, 2006 5:06 pm Post subject: [asterisk-speech-rec] Lumenvox
The fact that you're trying to load a grammar named "directory" is confusing. Asterisk isn't actually saying that the directory "/etc/asterisk/grammars" can't be loaded, it's saying that the file pointed to in lumenvox.conf in the [grammars] section as
directory=/path/to/some/grammar
cannot be loaded. I don't know off the top of my head what conditions must be met for the grammar to be loaded properly. I *do* know that just having the file there isn't enough; loading a grammar when all I had done was create the file via touch still gave me the same error you're seeing.
I will look through the available documentation to try to find out under what conditions a grammar can fail to load. If the available docs don't specify, I'll see if I can get that added in.
Thanks for pointing this out.
~Kenny Shumard
Digium
----- Original Message -----
From: Alan Parker <ajp_speech@ntlworld.com>
To: asterisk-speech-rec@lists.digium.com
Sent: Saturday, September 2, 2006 4:29:37 PM GMT-0600
Subject: RE: [asterisk-speech-rec] Lumenvox
The directory /etc/asterisk/grammars exists; as do the grammars required in
it. It seems that location is not the default location. Is it possible to
specify a location via a lumenvox.conf directive to be sure?
Posted: Tue Sep 05, 2006 6:45 am Post subject: [asterisk-speech-rec] Lumenvox
Some sort of validation is apparently done by the Lumenvox SRE before it considers a grammar to be loaded. If lumenvox.conf properly points to a grammar and it fails to load, that suggests that there is some problem within the grammar itself. I'm not (yet!) an expert on the syntax of the grammars, so I'm afraid I can't be of much help troubleshooting yours. I believe the Lumenvox Tuner can load a grammar, so you might try that utility to see if it helps.
~Kenny Shumard
Digium
----- Original Message -----
From: Kenneth Shumard <kenny@digium.com>
To: Discussing of speech recognition in Asterisk <asterisk-speech-rec@lists.digium.com>
Sent: Saturday, September 2, 2006 9:06:09 PM GMT-0600
Subject: Re: [asterisk-speech-rec] Lumenvox
I will look through the available documentation to try to find out under what conditions a grammar can fail to load. If the available docs don't specify, I'll see if I can get that added in.
I think the problem is elsewhere, as no matter which grammar is installed in
the directory (including the example grammars Lumnevox provides), the same
error message and failure occurs. Is it not possible output in verbose mode,
some indication of the cause of the error? Perhaps the file/path/directory
that it is trying to load?
Alan
-----Original Message-----
From: asterisk-speech-rec-bounces@lists.digium.com
[mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Kenneth
Shumard
Sent: 05 September 2006 16:46
To: Discussing of speech recognition in Asterisk
Subject: Re: [asterisk-speech-rec] Lumenvox
Some sort of validation is apparently done by the Lumenvox SRE before it
considers a grammar to be loaded. If lumenvox.conf properly points to a
grammar and it fails to load, that suggests that there is some problem
within the grammar itself. I'm not (yet!) an expert on the syntax of the
grammars, so I'm afraid I can't be of much help troubleshooting yours. I
believe the Lumenvox Tuner can load a grammar, so you might try that utility
to see if it helps.
~Kenny Shumard
Digium
----- Original Message -----
From: Kenneth Shumard <kenny@digium.com>
To: Discussing of speech recognition in Asterisk
<asterisk-speech-rec@lists.digium.com>
Sent: Saturday, September 2, 2006 9:06:09 PM GMT-0600
Subject: Re: [asterisk-speech-rec] Lumenvox
I will look through the available documentation to try to find out under
what conditions a grammar can fail to load. If the available docs don't
specify, I'll see if I can get that added in.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
You can post new topics in this forum You can 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