SpeechRecognitionAlternative Class |
Namespace: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
public class SpeechRecognitionAlternative
The SpeechRecognitionAlternative type exposes the following members.
Name | Description | |
---|---|---|
SpeechRecognitionAlternative | Initializes a new instance of the SpeechRecognitionAlternative class |
Name | Description | |
---|---|---|
confidence |
Confidence score of the transcript in the range of 0 to 1. Available only for the best alternative and only in results marked as final.
| |
timestamps |
Time alignments for each word from transcript as a list of lists. Each inner list consists of three elements: the word followed by its start and end time in seconds. Example: [["hello",0.0,1.2],["world",1.2,2.5]]. Available only for the best alternative.
| |
Timestamps |
A optional array of timestamps objects.
| |
transcript |
Transcription of the audio.
| |
word_confidence |
Confidence score for each word of the transcript as a list of lists. Each inner list consists of two elements: the word and its confidence score in the range of 0 to 1. Example: [["hello",0.95],["world",0.866]]. Available only for the best alternative and only in results marked as final.
| |
WordConfidence |
A option array of word confidence values.
|