AutoDetectSourceLanguageResult class
Output format
Properties
language | |
language |
Methods
from |
Creates an instance of AutoDetectSourceLanguageResult object from a ConversationTranscriptionResult instance. |
from |
Creates an instance of AutoDetectSourceLanguageResult object from a SpeechRecognitionResult instance. |
Property Details
language
string language
Property Value
string
languageDetectionConfidence
string languageDetectionConfidence
Property Value
string
Method Details
fromConversationTranscriptionResult(ConversationTranscriptionResult)
Creates an instance of AutoDetectSourceLanguageResult object from a ConversationTranscriptionResult instance.
static function fromConversationTranscriptionResult(result: ConversationTranscriptionResult): AutoDetectSourceLanguageResult
Parameters
The transcription result.
Returns
AutoDetectSourceLanguageResult object being created.
fromResult(SpeechRecognitionResult)
Creates an instance of AutoDetectSourceLanguageResult object from a SpeechRecognitionResult instance.
static function fromResult(result: SpeechRecognitionResult): AutoDetectSourceLanguageResult
Parameters
- result
- SpeechRecognitionResult
The recognition result.
Returns
AutoDetectSourceLanguageResult object being created.