class Translation::TranslationRecognitionResult

class Translation::TranslationRecognitionResult
  : public RecognitionResult

Defines the translation text result.



Syntax: public const std::map< std::string, std::string > & Translations;

Presents the translation results. Each item in the map is a key value pair, where key is the language tag of the translated text, and value is the translation text in that language.


Syntax: public inline explicit TranslationRecognitionResult ( SPXRESULTHANDLE resultHandle );

It is intended for internal use only. It creates an instance of TranslationRecognitionResult.


  • resultHandle The handle of the result returned by recognizer in C-API.


Syntax: public inline virtual ~TranslationRecognitionResult ( );

Destructs the instance.