public class WordAlternativeResults
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<WordAlternativeResult> |
alternatives |
protected java.lang.Double |
endTime |
protected java.lang.Double |
startTime |
Constructor and Description |
---|
WordAlternativeResults() |
Modifier and Type | Method and Description |
---|---|
java.util.List<WordAlternativeResult> |
getAlternatives()
Gets the alternatives.
|
java.lang.Double |
getEndTime()
Gets the endTime.
|
java.lang.Double |
getStartTime()
Gets the startTime.
|
@SerializedName(value="start_time") protected java.lang.Double startTime
@SerializedName(value="end_time") protected java.lang.Double endTime
protected java.util.List<WordAlternativeResult> alternatives
public java.lang.Double getStartTime()
The start time in seconds of the word from the input audio that corresponds to the word alternatives.
public java.lang.Double getEndTime()
The end time in seconds of the word from the input audio that corresponds to the word alternatives.
public java.util.List<WordAlternativeResult> getAlternatives()
An array of alternative hypotheses for a word from the input audio.