Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SpeechGrammarRuleStateTransitionType (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

SpeechGrammarRuleStateTransitionType Enum

The SpeechGrammarRuleStateTransitionType enumeration lists the types of transitions for the speech recognition engine.


Definition

Enum SpeechGrammarRuleStateTransitionType
    SGRSTTEpsilon = 0
    SGRSTTWord = 1
    SGRSTTRule = 2
    SGRSTTDictation = 3
    SGRSTTWildcard = 4
    SGRSTTTextBuffer = 5
End Enum

Elements

SGRSTTEpsilon
Indicates there should be an epsilon transition. These are NULL transitions that can be traversed without recognizing anything.
SGRSTTWord
Indicates there should be a word transition. These represent single words that the recognizer will recognize before advancing to the next state.
SGRSTTRule
Indicates there should be a rule transition. These represent transitions into sub-rules. This transition is only passed when a path through the sub-rule has been recognized.
SGRSTTDictation
Indicates there should be a dictation transition. SGRSTTDictation is a special transition and may not be supported by all engines. This is used to embed dictation within a context-free grammar (CFG). Each transition means one word should be recognized.
SGRSTTWildcard
Indicates there should be a wildcard transition. SGRSTTWildcard is a special transition and may not be supported by all engines. This indicates a transition that matches any word or words. The engine does not try and recognize the spoken words. The engine includes the string value WildcardInCFG as an attribute in its object token to inform the application that it is capable of supporting this.
SGRSTTTextBuffer
Indicates there should be a text buffer transition. SGRSTTTextBuffer is a special transition and may not be supported by all engines. This indicates that the engine is to recognize a sub-string of words from the text buffer, if it has been set.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.