You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/language-identification.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,9 @@ For speech recognition, the initial latency is higher with language identificati
27
27
## Configuration options
28
28
29
29
> [!IMPORTANT]
30
-
> You must make a code change when upgrading to the Speech SDK version 1.25 from earlier versions. With Speech SDK version 1.25, the
30
+
> Language Identification (preview) APIs have been simplified in the Speech SDK version 1.25. The
31
31
`SpeechServiceConnection_SingleLanguageIdPriority` and `SpeechServiceConnection_ContinuousLanguageIdPriority` properties have
32
-
been removed and replaced by a single property `SpeechServiceConnection_LanguageIdMode`. The Speech service will prioritize latency over accuracy for language identification.
32
+
been removed and replaced by a single property `SpeechServiceConnection_LanguageIdMode`. Prioritizing between low latency and high accuracy is no longer necessary following recent model improvements. Results are very accurate at low latency, therefore we removed the priority option. The only setting supported now is whether to run at-start or continuous language identification, when doing continuous speech recognition or translation.
33
33
34
34
Whether you use language identification with [speech-to-text](#speech-to-text) or with [speech translation](#speech-translation), there are some common concepts and configuration options.
35
35
@@ -121,7 +121,7 @@ You'll either call the "recognize once" method, or the start and stop continuous
121
121
- Continuous recognition with at-start LID
122
122
- Continuous recognition with continuous LID
123
123
124
-
The `SpeechServiceConnection_LanguageIdMode` property is always required for continuous LID. Without it, the Speech service defaults to at-start lid. The supported values are "AtStart" for at-start LID or "Continuous" for continuous LID.
124
+
The `SpeechServiceConnection_LanguageIdMode` property is only required for continuous LID. Without it, the Speech service defaults to at-start lid. The supported values are "AtStart" for at-start LID or "Continuous" for continuous LID.
125
125
126
126
::: zone pivot="programming-language-csharp"
127
127
@@ -213,8 +213,8 @@ using Microsoft.CognitiveServices.Speech.Audio;
213
213
214
214
var speechConfig = SpeechConfig.FromSubscription("YourSubscriptionKey","YourServiceRegion");
215
215
216
-
// Set the LanguageIdMode (Optional; Either Continuous or AtStart are accepted; Default AtStart)
0 commit comments