Last reviewed: 3/23/2024 8:27:08 AM

<DICTATION>

A <DICTATION> element indicates to listen for any range of words that are found in the recognizer's dictionary.

<GRAMMAR LANGID="409">
    <RULE NAME="chatter" TOPLEVEL="ACTIVE">
        <DICTATION MIN="1" MAX="5" PROPID="DICTID" PROPNAME="RANDOMWORDS"/>
    </RULE>
</GRAMMAR>

Attributes

MAX

The maximum number of times valid recognitions of this element's contents may be recognized repeatedly. A value INF indicates that any number of recognitions may occur. The valid range of values for this is 1 to 255, or INF for infinite. The default value is 1. This attribute is optional.

MIN

The minimum number of times valid recognitions of this element's contents may be recognized repeatedly. The valid range of values for this is 0 to 255 and must be less than the value specified in MAX. If the MIN value is greater than the MAX value, the MAX is used. The default value is 1. This attribute is optional.

PROPID

NAME attribute of an <ID> element. The <ID> element VAL attribute is returned when recognitions occur. This attribute is optional.

PROPNAME

String identifier to indicate that a PROPID value is returned when recognitions occur. This attribute is optional.

Children

none

Parents

<LIST>, <OPT>, <PHRASE>, and <RULEREF>.