AutoDetectSourceLanguageConfig.FromOpenRange Method

Definition

Creates an instance of AutoDetectSourceLanguageConfig that can detect any language. Added in 1.13.0

public static Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig FromOpenRange ();
static member FromOpenRange : unit -> Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig
Public Shared Function FromOpenRange () As AutoDetectSourceLanguageConfig

Returns

AutoDetectSourceLanguageConfig

A new AutoDetectSourceLanguageConfig instance that can detect any language known to the Azure Speech service.

Remarks

Only SpeechSynthesizer can detect the source language automatically. An object inherited from Recognizer must specify possible source languages.

See also: Automatic language detection for speech to text

Applies to