DictationRecognizer
Creates a new dictation recognizer with the default confidence level and dictation topic.
Read time 1 minuteLast updated a month ago
Definition
- Type: Constructor
- Namespace: UnityEngine.Windows.Speech
- Assembly: UnityEngine.CoreModule
DictationRecognizer()
Creates a new dictation recognizer with the default confidence level and dictation topic.
public DictationRecognizer()
Remarks
The recognizer accepts phrases at ConfidenceLevel.Medium confidence or higher, and uses the DictationTopicConstraint.Dictation topic. To change either setting, use one of the other constructors.
DictationRecognizer(ConfidenceLevel)
Creates a new dictation recognizer that accepts phrases at or above the specified confidence level.
public DictationRecognizer(ConfidenceLevel confidenceLevel)
Parameters
The minimum confidence level at which the recognizer accepts phrases. The recognizer ignores phrases below this level.
Remarks
The recognizer uses the DictationTopicConstraint.Dictation topic. To choose a topic as well, use the constructor that takes a DictationTopicConstraint.
DictationRecognizer(DictationTopicConstraint)
Creates a new dictation recognizer that optimizes its recognition for the specified dictation topic.
public DictationRecognizer(DictationTopicConstraint topic)
Parameters
The dictation topic that the recognizer optimizes its recognition for.
Remarks
The recognizer accepts phrases at ConfidenceLevel.Medium confidence or higher. To set the minimum confidence level as well, use the constructor that takes a ConfidenceLevel.
DictationRecognizer(ConfidenceLevel, DictationTopicConstraint)
Creates a new dictation recognizer with the specified minimum confidence level and dictation topic.
public DictationRecognizer(ConfidenceLevel minimumConfidence, DictationTopicConstraint topic)
Parameters
The minimum confidence level at which the recognizer accepts phrases. The recognizer ignores phrases below this level.
The dictation topic that the recognizer optimizes its recognition for.
Remarks
The recognizer ignores phrases below , and optimizes its recognition for .
minimumConfidencetopic