Text grammar format (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Text Grammar Format

The context-free grammar (CFG) format in SAPI 5 defines the structure of grammars and grammar rules using the Extensible Markup Language (XML) tagging language. The CFG compiler transforms the XML tags defining the grammar elements into a binary format used by speech engines. This compiling process can be performed either before or during application run time. Speech recognition engines use CFGs to constrain the user's words to words that it will recognize.

Text Grammar Format Section Topics:

Text Grammar Format OverviewDescribes grammar terminology and basic structure.
Grammar Rules and State GraphsDescribes rule state graphs with examples.
Designing Grammar RulesGeneral and advanced guidelines for command & control grammars.
Grammar Format TagsDescribes the entire set of XML Grammar tags with examples.
Grammar Format Tags: Special CharactersDescribes tags which use special characters.
SAPI Grammar Example: SolitaireSample XML grammar covering basic grammar structure.