Grammar Format Tags (SAPI 5.3)

Microsoft Speech API 5.3

Grammar Format Tags

The SAPI text grammar format is composed of XML tags, which can be structured to define the phrases that the speech recognition engine recognizes. The following document explains each tag in more detail, including sample source code, sample XML grammar snippets, and relevant application scenarios.

The XML tags descriptions are organized by XML element, where each element description contains information for relevant attributes.

XML Tags: Elements

<DEFINE>
<DICTATION>
<GRAMMAR>
<ID>
<LIST>, <L>
<OPT>, <O>
<PHRASE>, <P>
<RESOURCE>
<RULE>
<RULEREF>
<TEXTBUFFER>
<WILDCARD>