Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Contains auto detected source language result Added in 1.8.0.
Members
Language
Syntax: public const std::string Language;
The language value If this is empty, it means the system fails to detect the source language automatically.
FromResult
Syntax: public inline static std::shared_ptr< AutoDetectSourceLanguageResult > FromResult ( std::shared_ptr< SpeechRecognitionResult > result );
Creates an instance of AutoDetectSourceLanguageResult object for the speech recognition result.
Parameters
resultThe speech recognition result.
Returns
A shared pointer to AutoDetectSourceLanguageResult.
FromResult
Syntax: public inline static std::shared_ptr< AutoDetectSourceLanguageResult > FromResult ( std::shared_ptr< Translation::TranslationRecognitionResult > result );
Creates an instance of AutoDetectSourceLanguageResult object for the speech translation result.
Parameters
resultThe speech translation result.
Returns
A shared pointer to AutoDetectSourceLanguageResult.
FromResult
Syntax: public inline static std::shared_ptr< AutoDetectSourceLanguageResult > FromResult ( std::shared_ptr< Transcription::ConversationTranscriptionResult > result );
Creates an instance of AutoDetectSourceLanguageResult object for the convesation transcription result.
Parameters
resultThe conversation transcription result.
Returns
A shared pointer to AutoDetectSourceLanguageResult.