---
title: DictationRecognizer
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/windows/speech/dictationrecognizer/ctor
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/windows/speech/dictationrecognizer/ctor.md
last_updated: 2026-10-13
generated_at: 2026-11-11T14:48:43.487Z
locale: en-us
---

# DictationRecognizer

> Creates a new dictation recognizer with the default confidence level and dictation topic.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.Windows.Speech](/engine/7000.0/script-reference/unityengine/windows/speech.md)
* **Assembly:** UnityEngine.CoreModule

## DictationRecognizer()

Creates a new dictation recognizer with the default confidence level and dictation topic.

```csharp
public DictationRecognizer()
```

### Remarks

The recognizer accepts phrases at [ConfidenceLevel.Medium](/engine/7000.0/script-reference/unityengine/windows/speech/confidencelevel/medium.md) confidence or higher, and uses the [DictationTopicConstraint.Dictation](/engine/7000.0/script-reference/unityengine/windows/speech/dictationtopicconstraint/dictation.md) 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.

```csharp
public DictationRecognizer(ConfidenceLevel confidenceLevel)
```

### Parameters

**** (\[ConfidenceLevel]\(/engine/7000.0/script-reference/unityengine/windows/speech/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](/engine/7000.0/script-reference/unityengine/windows/speech/dictationtopicconstraint/dictation.md) topic. To choose a topic as well, use the constructor that takes a [DictationTopicConstraint](/engine/7000.0/script-reference/unityengine/windows/speech/dictationtopicconstraint.md).

## DictationRecognizer(DictationTopicConstraint)

Creates a new dictation recognizer that optimizes its recognition for the specified dictation topic.

```csharp
public DictationRecognizer(DictationTopicConstraint topic)
```

### Parameters

**** (\[DictationTopicConstraint]\(/engine/7000.0/script-reference/unityengine/windows/speech/dictationtopicconstraint)): The dictation topic that the recognizer optimizes its recognition for.

### Remarks

The recognizer accepts phrases at [ConfidenceLevel.Medium](/engine/7000.0/script-reference/unityengine/windows/speech/confidencelevel/medium.md) confidence or higher. To set the minimum confidence level as well, use the constructor that takes a [ConfidenceLevel](/engine/7000.0/script-reference/unityengine/windows/speech/confidencelevel.md).

## DictationRecognizer(ConfidenceLevel, DictationTopicConstraint)

Creates a new dictation recognizer with the specified minimum confidence level and dictation topic.

```csharp
public DictationRecognizer(ConfidenceLevel minimumConfidence, DictationTopicConstraint topic)
```

### Parameters

**** (\[ConfidenceLevel]\(/engine/7000.0/script-reference/unityengine/windows/speech/confidencelevel)): The minimum confidence level at which the recognizer accepts phrases. The recognizer ignores phrases below this level.**** (\[DictationTopicConstraint]\(/engine/7000.0/script-reference/unityengine/windows/speech/dictationtopicconstraint)): The dictation topic that the recognizer optimizes its recognition for.

### Remarks

The recognizer ignores phrases below `minimumConfidence`, and optimizes its recognition for `topic`.
