IntentRecognitionResult Class
Represents the result of an intent recognition.
Constructor for internal use.
Constructor
IntentRecognitionResult(handle: c_void_p)
Parameters
Name | Description |
---|---|
handle
Required
|
|
Attributes
cancellation_details
The reason why recognition was cancelled.
Returns None if there was no cancellation.
channel
Index of the input audio channel where the speech was recognized. Numbering starts at zero.
duration
Duration of recognized speech in ticks. A single tick represents one hundred nanoseconds or one ten-millionth of a second.
error_json
The bare JSON representation of the error from the Speech Service.
intent_id
Unique intent id.
intent_json
The bare JSON representation of the result from the Language Understanding service.
json
The bare JSON representation of the result from the Speech Service.
no_match_details
Detailed information for NoMatch recognition results.
Returns None if there was a match found.
offset
Offset of the recognized speech in ticks. A single tick represents one hundred nanoseconds or one ten-millionth of a second.
properties
Other properties of the result.
Returns
Type | Description |
---|---|
dict indexed with PropertyId, and str values. |
reason
Recognition reason.
result_id
Unique result id.
text
Normalized text generated by a speech recognition engine from recognized input.