class RecognitionResult

Contains detailed information about result of a recognition operation.

Members

ResultId

Syntax: public const std::string & ResultId;

Unique result id.

Reason

Syntax: public const Speech::ResultReason & Reason;

Recognition reason.

Text

Syntax: public const std::string & Text;

Normalized text generated by a speech recognition engine from recognized input.

Properties

Syntax: public const PropertyCollection & Properties;

Collection of additional RecognitionResult properties.

~RecognitionResult

Syntax: public inline virtual ~RecognitionResult ( );

Virtual destructor.

Duration

Syntax: public inline uint64_t Duration ( ) const;

Duration of recognized speech in ticks. A single tick represents one hundred nanoseconds or one ten-millionth of a second.

Returns

Duration of recognized speech in ticks.

Offset

Syntax: public inline uint64_t Offset ( ) const;

Offset of the recognized speech in ticks. A single tick represents one hundred nanoseconds or one ten-millionth of a second.

Returns

Offset of the recognized speech in ticks.

operator SPXRESULTHANDLE

Syntax: public inline explicit operator SPXRESULTHANDLE ( );

Internal. Explicit conversion operator.

Returns

A handle.