Click or drag to resize

SpeechRecognitionEvent Class

This data object contains data for the speechRecognitionEvent.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.Services.SpeechToText.v1SpeechRecognitionEvent

Namespace:  IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class SpeechRecognitionEvent

The SpeechRecognitionEvent type exposes the following members.

Properties
  NameDescription
Public propertyresult_index
An index that indicates the change point in the results array.
Public propertyresults
The results array consists of zero or more final results followed by zero or one interim result. The final results are guaranteed not to change; the interim result may be replaced by zero or more final results (followed by zero or one interim result). The service periodically sends updates to the result list, with the result_index set to the lowest index in the array that has changed.
Public propertyspeaker_labels
An array that identifies which words were spoken by which speakers in a multi-person exchange. Returned in the response only if `speaker_labels` is `true`.
Public propertywarnings
An array of warning messages about invalid query parameters or JSON fields included with the request. Each warning includes a descriptive message and a list of invalid argument strings. For example, a message such as "Unknown arguments:" or "Unknown url query arguments:" followed by a list of the form "invalid_arg_1, invalid_arg_2." The request succeeds despite the warnings.
Top
Methods
  NameDescription
Public methodHasFinalResult
Returns true if we have a final result.
Public methodHasResult
Check if our result list has atleast one valid result.
Top
See Also