class Translation::TranslationRecognitionResult

class Translation::TranslationRecognitionResult
  : public RecognitionResult

Defines the translation text result.

Members

Translations

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.

TranslationRecognitionResult

Syntax: public inline explicit TranslationRecognitionResult ( SPXRESULTHANDLE resultHandle );

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

Parameters

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

~TranslationRecognitionResult

Syntax: public inline virtual ~TranslationRecognitionResult ( );

Destructs the instance.