Grammar Members
Provides run time support for obtaining and managing Speech grammar information.
The following tables list the members exposed by the Grammar type.
Public Constructors
Name | Description | |
---|---|---|
Grammar | Overloaded. Creates instances of SpeechRecognizer objects. |
Top
Public Properties
Name | Description | |
---|---|---|
Enabled | Gets or sets a value controlling whether a Grammar can be used by a recognition engine. | |
Loaded | Ready only attribute, indicates if a Grammar has been loaded into a recognition engine. | |
Name | Gets or sets the user-friendly name of an instance of Grammar. | |
Priority | Set or gets a value used as a tie breaker when one or more grammars have returned a recognized phrase. | |
RuleName | Read-only value containing the name of root or entry point rule of a valid Grammar instance. | |
Weight | Property used to control the influence of a grammar on a recognition engine's algorithm. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
IsPronounceable | Returns information about the pronounceability of the specified word. | |
ReferenceEquals | (inherited from Object ) | |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Top
Public Events
Name | Description | |
---|---|---|
SpeechRecognized | The event raised when the current grammar has been used by the recognition engine to detect speech and find one or more phrases with sufficient confidence levels. |
Top
See Also
Reference
Grammar Class
Microsoft.Speech.Recognition Namespace
Microsoft.Speech.Recognition.SrgsGrammar
SrgsDocument
SrgsRule
SrgsTag
OnInit
OnParse
OnError
OnRecognition
SrgsRule
Document
GrammarBuilder