Skip to content

Commit dcc8ffa

Browse files
authored
Merge pull request #188446 from eric-urban/patch-2
Accuracy availability limited
2 parents 282b942 + dc8a530 commit dcc8ffa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/cognitive-services/Speech-Service/language-identification.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: speech-service
1010
ms.topic: conceptual
11-
ms.date: 01/25/2022
11+
ms.date: 02/13/2022
1212
ms.author: eur
1313
zone_pivot_groups: programming-languages-speech-services-nomore-variant
1414
---
@@ -106,6 +106,9 @@ Prioritize `Latency` if you need a low-latency result such as during live stream
106106
* **At-start:** With at-start LID in `Latency` mode the result is returned in less than 5 seconds. With at-start LID in `Accuracy` mode the result is returned within 30 seconds. You set the priority for at-start LID with the `SpeechServiceConnection_SingleLanguageIdPriority` property.
107107
* **Continuous:** With continuous LID in `Latency` mode the results are returned every 2 seconds for the duration of the audio. With continuous LID in `Accuracy` mode the results are returned within no set time frame for the duration of the audio. You set the priority for continuous LID with the `SpeechServiceConnection_ContinuousLanguageIdPriority` property.
108108
109+
> [!IMPORTANT]
110+
> With [speech-to-text](#speech-to-text) and [speech translation](#speech-translation) continuous recognition, do not set `Accuracy`with the SpeechServiceConnection_ContinuousLanguageIdPriority property. The setting will be ignored without error, and the default priority of `Latency` will remain in effect. Only [standalone language identification](#standalone-language-identification) supports continuous LID with `Accuracy` prioritization.
111+
109112
Speech uses at-start LID with `Latency` prioritization by default. You need to set a priority property for any other LID configuration.
110113
111114
::: zone pivot="programming-language-csharp"
@@ -133,7 +136,7 @@ For continuous LID using `Latency` as the priority, the Speech service returns o
133136
134137
Language identification is completed with recognition objects and operations. You will make a request to the Speech service for recognition of audio.
135138
136-
> [!IMPORTANT]
139+
> [!NOTE]
137140
> Don't confuse recognition with identification. Recognition can be used with or without language identification.
138141
139142
Let's map these concepts to the code. You will either call the recognize once method, or the start and stop continuous recognition methods. You choose from:
@@ -290,7 +293,6 @@ using (var recognizer = new SpeechRecognizer(
290293
291294
### [Continuous recognition](#tab/continuous)
292295
293-
294296
```csharp
295297
using Microsoft.CognitiveServices.Speech;
296298
using Microsoft.CognitiveServices.Speech.Audio;

0 commit comments

Comments
 (0)