AutoDetectSourceLanguageResult.FromResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromResult(SpeechRecognitionResult) |
Creates an instance of AutoDetectSourceLanguageResult object from a speech recognition result. |
FromResult(TranslationRecognitionResult) |
Creates an instance of AutoDetectSourceLanguageResult object from a speech translation result. |
FromResult(SpeechRecognitionResult)
Creates an instance of AutoDetectSourceLanguageResult object from a speech recognition result.
public static Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageResult FromResult (Microsoft.CognitiveServices.Speech.SpeechRecognitionResult result);
static member FromResult : Microsoft.CognitiveServices.Speech.SpeechRecognitionResult -> Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageResult
Public Shared Function FromResult (result As SpeechRecognitionResult) As AutoDetectSourceLanguageResult
Parameters
- result
- SpeechRecognitionResult
The speech recongition result.
Returns
A new AutoDetectSourceLanguageResult instance
Applies to
FromResult(TranslationRecognitionResult)
Creates an instance of AutoDetectSourceLanguageResult object from a speech translation result.
public static Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageResult FromResult (Microsoft.CognitiveServices.Speech.Translation.TranslationRecognitionResult result);
static member FromResult : Microsoft.CognitiveServices.Speech.Translation.TranslationRecognitionResult -> Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageResult
Public Shared Function FromResult (result As TranslationRecognitionResult) As AutoDetectSourceLanguageResult
Parameters
- result
- TranslationRecognitionResult
The speech translation result.
Returns
A new AutoDetectSourceLanguageResult instance
Applies to
Azure SDK for .NET