GrammarBuilder Methods

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

The GrammarBuilder type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAdd(String, GrammarBuilder)Creates a new GrammarBuilder that contains a phrase followed by a GrammarBuilder object.
Public methodStatic memberAdd(Choices, GrammarBuilder)Creates a new GrammarBuilder that contains a Choices object followed by a GrammarBuilder object.
Public methodStatic memberAdd(GrammarBuilder, Choices)Creates a new GrammarBuilder that contains a GrammarBuilder object followed by a Choices object.
Public methodStatic memberAdd(GrammarBuilder, GrammarBuilder)Creates a new GrammarBuilder that contains a sequence of two GrammarBuilder objects.
Public methodStatic memberAdd(GrammarBuilder, String)Creates a new GrammarBuilder that contains a GrammarBuilder object followed by a phrase.
Public methodAppend(String)Appends a phrase to the current sequence of grammar elements.
Public methodAppend(Choices)Appends a set of alternatives to the current sequence of grammar elements.
Public methodAppend(GrammarBuilder)Appends a grammar element to the current sequence of grammar elements.
Public methodAppend(SemanticResultKey)Appends a semantic key to the current sequence of grammar elements.
Public methodAppend(SemanticResultValue)Appends a semantic value to the current sequence of grammar elements.
Public methodAppend(String, SubsetMatchingMode)Appends an element for a subset of a phrase to the current sequence of grammar elements.
Public methodAppend(String, Int32, Int32)Appends a repeated phrase to the current sequence of grammar elements.
Public methodAppend(GrammarBuilder, Int32, Int32)Appends a repeated grammar element to the current sequence of grammar elements.
Public methodAppendDictation()()()()Appends grammar logic to provide access the default, free-text, dictation grammar provided by the Microsoft Speech Platform SDK 11.
Public methodAppendDictation(String)Appends grammar logic to provide access to a special-function dictation grammar specified by a string.
Public methodAppendRuleReference(String)Appends a grammar definition file to the current sequence of grammar elements.
Public methodAppendRuleReference(String, String)Appends the specified rule of a grammar definition file to the current sequence of grammar elements.
Public methodAppendWildcardAppends a recognition grammar element that matches any input to the current sequence of grammar elements.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

See Also