Skip to content

Commit 70bea4c

Browse files
committed
remove standalone LID from public preview
1 parent c85b3aa commit 70bea4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Prioritize `Latency` if you need a low-latency result such as during live stream
117117
* **Continuous:** With continuous LID in `Latency` mode the results are returned every 2 seconds for the duration of the audio. You set the priority for continuous LID with the `SpeechServiceConnection_ContinuousLanguageIdPriority` property.
118118
119119
> [!IMPORTANT]
120-
> 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.
120+
> 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.
121121
122122
Speech uses at-start LID with `Latency` prioritization by default. You need to set a priority property for any other LID configuration.
123123
@@ -1057,8 +1057,8 @@ translation_config = speechsdk.translation.SpeechTranslationConfig(
10571057
target_languages=('de', 'fr'))
10581058
audio_config = speechsdk.audio.AudioConfig(filename=weatherfilename)
10591059

1060-
# Set the Priority
1061-
translation_config.set_property(property_id=speechsdk.PropertyId.SpeechServiceConnection_SingleLanguageIdPriority, value='Latency')
1060+
# Set the Priority (optional, default Latency, either Latency or Accuracy is accepted)
1061+
translation_config.set_property(property_id=speechsdk.PropertyId.SpeechServiceConnection_SingleLanguageIdPriority, value='Accuracy')
10621062

10631063
# Specify the AutoDetectSourceLanguageConfig, which defines the number of possible languages
10641064
auto_detect_source_language_config = speechsdk.languageconfig.AutoDetectSourceLanguageConfig(languages=["en-US", "de-DE", "zh-CN"])

0 commit comments

Comments
 (0)