application.lastresult$[i].interpretation

application.lastresult$[i].interpretation

Contains the interpretation, or the exact match to the active grammar.

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

Last updated