class Intent::IntentRecognitionResult
class Intent::IntentRecognitionResult
: public RecognitionResult
Represents the result of an intent recognition.
Members
IntentId
Syntax: public const std::string & IntentId;
Unique intent id.
IntentRecognitionResult
Syntax: public inline explicit IntentRecognitionResult ( SPXRESULTHANDLE hresult );
Internal constructor. Creates a new instance using the provided handle.
Parameters
hresult
Result handle.
GetEntities
Syntax: public inline const std::map< std::string, std::string > & GetEntities ( ) const;
A call to return a map of the entities found in the utterance.
Returns
A map with the entity name as a key and containing the value of the entity found in the utterance.
This currently does not report LUIS entities.
~IntentRecognitionResult
Syntax: public inline ~IntentRecognitionResult ( );
Destructor.