Last reviewed: 3/23/2024 8:30:33 AM
SAPI 5 Speech Recognition Grammar Elements and Attributes
SAPI 5 context-free grammars are expressed with XML elements and attributes. The following SAPI 5 grammar elements may be used to construct context-free grammars:
- <!--COMMENT-->,
- <DEFINE>,
- <DICTATION>,
- <GRAMMAR>,
- <ID>,
- <LIST>,
- <OPT>,
- <PHRASE>,
- <RESOURCE>,
- <RULE>,
- <RULEREF>,
- <TEXTBUFFER>, and
- <WILDCARD>.