Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
SrgsRuleRef Members
Include Protected Members
Include Inherited Members
Represents the grammar element that specifies a reference to a rule.
The SrgsRuleRef type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SrgsRuleRef(Uri) | Initializes a new instance of the SrgsRuleRef class and specifies the location of the external grammar file to reference. | |
SrgsRuleRef(SrgsRule) | Initializes a new instance of the SrgsRuleRef class and specifies the rule to reference. | |
SrgsRuleRef(Uri, String) | Initializes a new instance of the SrgsRuleRef class, specifying the location of the external grammar file and the identifier of the rule to reference. | |
SrgsRuleRef(SrgsRule, String) | Initializes a new instance of the SrgsRuleRef class, specifying the rule to reference and a string that contains a semantic key. | |
SrgsRuleRef(Uri, String, String) | Initializes a new instance of the SrgsRuleRef class, specifying the location of the external grammar file, the identifier of the rule, and the string alias of the semantic dictionary. |
Top
Properties
Name | Description | |
---|---|---|
Params | Gets the initialization parameters for a SrgsRuleRef object. | |
SemanticKey | Gets an alias string for the semantic dictionary. | |
Uri | Gets the URI for the rule that this SrgsRuleRef object references. |
Top
Methods
Name | Description | |
---|---|---|
CreateObjRef | (inherited from MarshalByRefObject) | |
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetLifetimeService | (inherited from MarshalByRefObject) | |
GetType | (inherited from Object) | |
InitializeLifetimeService | (inherited from MarshalByRefObject) | |
MemberwiseClone() | (inherited from Object) | |
MemberwiseClone(Boolean) | (inherited from MarshalByRefObject) | |
ToString | (inherited from Object) |
Top
Fields
Name | Description | |
---|---|---|
Dictation | Defines a rule that can match spoken input as defined by the dictation topic associated with this grammar. | |
Garbage | Defines a rule that can match any speech up to the next rule match, the next token, or until the end of spoken input. | |
MnemonicSpelling | ||
Null | Defines a rule that is automatically matched in the absence of any audio input. | |
Void | Defines a rule that can never be spoken. Inserting VOID into a sequence automatically makes that sequence unspeakable. |
Top