public class SpeechWordAlternatives extends GenericModel
SpeechToText
during a recognition.Constructor and Description |
---|
SpeechWordAlternatives() |
Modifier and Type | Method and Description |
---|---|
List<WordAlternative> |
getAlternatives()
Gets the alternatives.
|
Double |
getEndTime()
Gets the end time.
|
Double |
getStartTime()
Gets the start time.
|
void |
setAlternatives(List<WordAlternative> alternatives)
Sets the alternatives.
|
void |
setEndTime(Double endTime)
Sets the end time.
|
void |
setStartTime(Double startTime)
Sets the start time.
|
equals, hashCode, toString
public Double getStartTime()
public void setStartTime(Double startTime)
startTime
- the new start timepublic List<WordAlternative> getAlternatives()
public void setAlternatives(List<WordAlternative> alternatives)
alternatives
- the new alternativespublic Double getEndTime()
public void setEndTime(Double endTime)
endTime
- the new end timeCopyright © 2015–2016 IBM Watson. All rights reserved.