AutoDetectSourceLanguageResult Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. AutoDetectSourceLanguageResult
- com.
public final class AutoDetectSourceLanguageResult
Represents the result of auto detecting source languages Added in version 1.8.0
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Auto |
fromResult(SpeechRecognitionResult speechRecognitionResult)
Creates an instance of the Auto |
static
Auto |
fromResult(TranslationRecognitionResult translationRecognitionResult)
Creates an instance of the Auto |
java.lang.String |
getLanguage()
Get the language value |
Methods inherited from java.lang.Object
Method Details
fromResult
public static AutoDetectSourceLanguageResult fromResult(SpeechRecognitionResult speechRecognitionResult)
Creates an instance of the AutoDetectSourceLanguageResult from a speech recognition result
Parameters:
Returns:
fromResult
public static AutoDetectSourceLanguageResult fromResult(TranslationRecognitionResult translationRecognitionResult)
Creates an instance of the AutoDetectSourceLanguageResult from a translation recognition result.
Parameters:
Returns:
getLanguage
public String getLanguage()
Get the language value
Returns:
Applies to
Azure SDK for Java
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示