Documentation

Unity Engine

Download Unity

Unity Engine

DictationRecognizer

Creates a new dictation recognizer with the default confidence level and dictation topic.
Read time 1 minuteLast updated a month ago

Definition

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

confidenceLevel

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

minimumConfidence

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
minimumConfidence
, and optimizes its recognition for
topic
.