Posted: Wed Jun 06, 2007 8:25 pm Post subject: [asterisk-speech-rec] Speech Score for Individual Tokens CRM
A couple of things:
1. The optional $WordsList at the start of the Tag rule seems unnecessary, and was creating multiple parse trees. I think you can remove it.
2. I'm not sure what is going on with $$$.score but it didn't seem to be working correctly. Instead we quickly converted the grammar over to use the latest SISR standard (which we support but which is not very well documented by us yet -- it's high on the to-do list). The grammar below seems to do what you want, you may want to check out the SISR spec to get a better idea of the syntax: http://www.w3.org/TR/semantic-interpretation/
Also, as a tip to everybody working with grammars: our Grammar Editor is included as part of the Speech Tuner, which is included with your LumenVox Speech Engine purchase (it's a separate download). It's a very handy tool, as you can parse phrases against a grammar and immediately see exactly how we're parsing it. If anyone has purchased LumenVox and needs the Tuner download link (just note it's a Windows application), feel free to e-mail me.
Here's the grammar:
I'm having a problem return the above mentioned. I've mailed someone on this and they mentioned the $$$.score variable which should return the confidence score of a particular rule in a grammar context. As can be seen below in the sample XML output from my test gramma this seems to be returning undefined. My grammar. I hope someone points out the blindingly obvious and makes me say Doh!! :)