Posted: Wed Apr 18, 2007 2:57 am Post subject: [asterisk-speech-rec] Pizza demo problems and LVSRE7.5
I had a few problems getting the Pizza demo to work - specifically getting
the grammars to load. It turns out that when I changed the grammars files
to include the UTF-8 parameter on the first line of the file and placed an
extra CR/LF between each line in the files so that it matched the
ABNFDigits.gram example that is installed with the LVSRE 7.5 files the
grammars were able to load.
Now that I have the grammars loading I can't get the engine to actually
recognize "Takeout or deliver." Barging over the prompt works fine as the
prompt immediately stops playing so it is recognizing that there is incoming
speech but the result from the SPEECH(results) parameter is always 0. I've
increased the rxgain on the zap channel to 8.0 in case the speech is too
quiet but so far no recognition is happening in the dialplan. From the
Decode log file I do see that some sort of recognition is happening but it
doesn't appear to be passed back up to the asterisk dialplan. The log file
appears below.
Andrew Willerding
04/17/2007 22:50:42,333,0,[AmericanEnglish][MODEL_LOW:ThreadNdx:0] Begin
Decode Using Context-Free Grammar
04/17/2007 22:50:42,334,0,[AmericanEnglish][MODEL_LOW:ThreadNdx:0] Loading
Context Free Gramamr
04/17/2007 22:50:42,335,0,[AmericanEnglish][MODEL_LOW:ThreadNdx:0]
Retrieving words
04/17/2007 22:50:42,335,0,[AmericanEnglish][MODEL_LOW:ThreadNdx:0] Word
retrieval time: 0
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