Text grammar format (SAPI 5.4)

Microsoft Speech API 5.4

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:

Name
Text Grammar Format Overview
Grammar Rules and State Graphs
Designing Grammar Rules
Grammar Format Tags
Grammar Format Tags: Special Characters
SAPI Grammar Example: Solitaire