application.lastresult$[i].confidence

application.lastresult$[i].confidence

Confidence level for this utterance. A value of 0.0 indicates minimum confidence, and a value of 1.0 indicates maximum confidence.

Example

<?xml version="1.0"?>
<vxml version="2.0">
<form>
<field name="myfield">
<grammar type="application/x-jsgf" mode="voice">
( one | two )+
</grammar>
<grammar type="application/x-jsgf" mode="dtmf">
( 1 | 2 )+
</grammar>
<prompt>
Say or enter any number of the digits one or two.
</prompt>
<filled>
You said or entered <value expr="myfield"/>.
The confidence level of this utterance is <value expr="myfield$.confidence"/>.
The utterance of the input is <value expr="myfield$.utterance"/>.
The way the input was entered is <value expr="myfield$.inputmode"/>.
The way the input was interpreted is <value expr="myfield$.interpretation"/>.
</filled>
<nomatch>
You did not say or enter any ones or twos.
<reprompt/>
</nomatch>
<noinput>
You did not say or enter anything.
<reprompt/>
</noinput>
</field>
</form>
</vxml>

Explanation

None

Notes

None