class Intent::IntentRecognitionResult
class Intent::IntentRecognitionResult
: public RecognitionResult
Representerar resultatet av en avsiktsigenkänning.
Medlemmar
IntentId
Syntax: public const std::string & IntentId;
Unikt avsikts-ID.
IntentRecognitionResult
Syntax: public inline explicit IntentRecognitionResult ( SPXRESULTHANDLE hresult );
Intern konstruktor. Skapar en ny instans med hjälp av det angivna handtaget.
Parameterar
-
hresult
resultathandtag.
GetEntities
Syntax: public inline const std::map< std::string, std::string > & GetEntities ( ) const;
Ett anrop för att returnera en karta över de entiteter som finns i yttrandet.
Återlämning
En mappning med entitetsnamnet som en nyckel och som innehåller värdet för entiteten som finns i yttrandet.
Detta rapporterar för närvarande inte LUIS-entiteter.
~IntentRecognitionResult
Syntax: public inline ~IntentRecognitionResult ( );
Destructor.