SpeechRecognitionEvent Class |
Namespace: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
public class SpeechRecognitionEvent
The SpeechRecognitionEvent type exposes the following members.
Name | Description | |
---|---|---|
result_index |
An index that indicates the change point in the results array.
| |
results |
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.
| |
speaker_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`.
| |
warnings |
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.
|
Name | Description | |
---|---|---|
HasFinalResult |
Returns true if we have a final result.
| |
HasResult |
Check if our result list has atleast one valid result.
|