How to disable NBest matching?
Posted: Tue May 02, 2006 2:43 pm
I am working on integrating our speech application with your platform and have quick question. Your recognizer seems to want to return an array of results for each utterance it recognizes (ala-nbest). Is there a way to disable this?
For example, the following VoiceXML causes the engine/gateway to choke:
<filled>
<assign name="_inputmode" expr="application.lastresult$.inputmode"/>
<assign name="_confidencescore" expr="application.lastresult$.confidence"/>
<submit next="Processor" method="get" namelist="_inputmode _confidencescore" fetchaudio="audio_files/percolate.wav"/>
</filled>
This is what I see in the logs:
Found grammar match
hypothesis #0: number (0.7020)
Saved utterance 1 for DNIS 3140 on channel 2
errmsg TypeError: document.lastresult$ has no properties line 1 linetxt tokentxt
received event: error.semantic.ecmascript
Thanks in advance,
Jose de Castro
Application Architect
For example, the following VoiceXML causes the engine/gateway to choke:
<filled>
<assign name="_inputmode" expr="application.lastresult$.inputmode"/>
<assign name="_confidencescore" expr="application.lastresult$.confidence"/>
<submit next="Processor" method="get" namelist="_inputmode _confidencescore" fetchaudio="audio_files/percolate.wav"/>
</filled>
This is what I see in the logs:
Found grammar match
hypothesis #0: number (0.7020)
Saved utterance 1 for DNIS 3140 on channel 2
errmsg TypeError: document.lastresult$ has no properties line 1 linetxt tokentxt
received event: error.semantic.ecmascript
Thanks in advance,
Jose de Castro
Application Architect