Grammars are at the core of speech recognition and are perhaps the most important component under control of the speech application developer that affects the accuracy of speech recognition. Grammars work in conjunction with the speech recognition engine and its lexicons and speech models to define the factors that affect speech recognition performance.
System.Speech provides programmatic processes for authoring speech recognition grammars and also offers support for XML-format grammars authored in compliance with industry standards.
You can create speech recognition grammars in System.Speech using any of the following processes:
Use constructors and methods on classes in the System.Speech.Recognition.SrgsGrammar namespace to programmatically create SRGS-compliant grammars.
Use XML to create grammar documents that conform to the Speech Recognition Grammar Specification (SRGS) Version 1.0, the W3C standard for speech recognition grammars.