This documentation is archived and is not being maintained.

Microsoft.Speech.Recognition.SrgsGrammar Namespace

MssGrammarCompiler Represents a compiler for speech recognition grammars.
SrgsDocument Defines a design-time object that is used to build strongly typed runtime SRGS grammars.
SrgsElement Defines the base class for elements in a grammar.
SrgsGrammarCompiler Compiles an XML-format SRGS document into a binary CFG file.
SrgsItem Represents the grammar element that contains phrases or other entities that a user can speak to produce a successful recognition.
SrgsOneOf Represents a list of items from which a user can speak only one.
SrgsRule Represents a grammar rule.
SrgsRuleRef Represents the grammar element that specifies the rule to reference.
SrgsRulesCollection Represents a collection of SrgsRule objects.
SrgsSemanticInterpretationTag Represents a tag that contains ECMAScript that is run when the rule is matched.
SrgsText Represents the Text content for the World Wide Web Consortium (W3C) Speech Recognition Grammar Specification (SRGS) elements.
SrgsToken Represents the World Wide Web Consortium (W3C) Speech Recognition Grammar Specification (SRGS) token element.

SrgsGrammarMode Indicates the type of input that the Grammar object can expect.
SrgsPhoneticAlphabet Enumerates the supported phonetic alphabets.
SrgsRuleScope Enumerates values for the scope of a rule in an SRGS grammar.