We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a530ce9 commit 1e6a3a4Copy full SHA for 1e6a3a4
articles/cognitive-services/Speech-Service/language-identification.md
@@ -424,6 +424,9 @@ endpoint_string = "wss://{}.stt.speech.microsoft.com/speech/universal/v2".format
424
speech_config = speechsdk.SpeechConfig(subscription=speech_key, endpoint=endpoint_string)
425
audio_config = speechsdk.audio.AudioConfig(filename=weatherfilename)
426
427
+# Set the LanguageIdMode (Optional; Either Continuous or AtStart are accepted; Default AtStart)
428
+speech_config.set_property(property_id=speechsdk.PropertyId.SpeechServiceConnection_LanguageIdMode, value='Continuous')
429
+
430
auto_detect_source_language_config = speechsdk.languageconfig.AutoDetectSourceLanguageConfig(
431
languages=["en-US", "de-DE", "zh-CN"])
432
0 commit comments