包含自動偵測到的來源語言結果 1.8.0。
成員
語言
語法:public const std::string Language;
語言值 如果這是空的,表示系統無法自動偵測來源語言。
FromResult
語法:public inline static std::shared_ptr< AutoDetectSourceLanguageResult > FromResult ( std::shared_ptr< SpeechRecognitionResult > result );
建立語音辨識結果的 AutoDetectSourceLanguageResult 對象的實例。
參數
-
result語音辨識結果。
退貨
AutoDetectSourceLanguageResult 的共享指標。
FromResult
語法:public inline static std::shared_ptr< AutoDetectSourceLanguageResult > FromResult ( std::shared_ptr< Translation::TranslationRecognitionResult > result );
為語音翻譯結果建立 AutoDetectSourceLanguageResult 對象的實例。
參數
-
result語音翻譯結果。
退貨
AutoDetectSourceLanguageResult 的共享指標。
FromResult
語法:public inline static std::shared_ptr< AutoDetectSourceLanguageResult > FromResult ( std::shared_ptr< Transcription::ConversationTranscriptionResult > result );
建立 Convesation 轉譯結果的 AutoDetectSourceLanguageResult 對象的實例。
參數
-
result交談轉譯結果。
退貨
AutoDetectSourceLanguageResult 的共享指標。