Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the translation synthesis result, i.e. the voice output of the translated text in the target language.
Members
Reason
Syntax: public const ResultReason & Reason;
Recognition reason.
Audio
Syntax: public const std::vector< uint8_t > & Audio;
The voice output of the translated text in the target language.
TranslationSynthesisResult
Syntax: public inline explicit TranslationSynthesisResult ( SPXRESULTHANDLE resultHandle );
It is intended for internal use only. It creates an instance of TranslationSynthesisResult
Parameters
resultHandle
The handle of the result returned by recognizer in C-API.
~TranslationSynthesisResult
Syntax: public inline virtual ~TranslationSynthesisResult ( );
Destructs the instance.