public class Transcript extends GenericModel
| Constructor and Description | 
|---|
Transcript()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<SpeechAlternative> | 
getAlternatives()
Gets the alternatives. 
 | 
Map<String,List<KeywordsResult>> | 
getKeywordsResult()
Gets the keyword spotting results. 
 | 
List<SpeechWordAlternatives> | 
getWordAlternatives()
Gets the word alternatives. 
 | 
boolean | 
isFinal()
Checks if is final. 
 | 
void | 
setAlternatives(List<SpeechAlternative> alternatives)
Sets the alternatives. 
 | 
void | 
setFinal(boolean finalValue)
Sets the final value. 
 | 
void | 
setKeywordsResult(Map<String,List<KeywordsResult>> keywordsResult)
Sets the keyword spotting results. 
 | 
void | 
setWordAlternatives(List<SpeechWordAlternatives> wordAlternatives)
Sets the word alternatives. 
 | 
equals, hashCode, toStringpublic List<SpeechAlternative> getAlternatives()
public boolean isFinal()
public void setAlternatives(List<SpeechAlternative> alternatives)
alternatives - The alternativespublic void setFinal(boolean finalValue)
finalValue - The finalpublic Map<String,List<KeywordsResult>> getKeywordsResult()
public void setKeywordsResult(Map<String,List<KeywordsResult>> keywordsResult)
keywordsResult - the resultspublic List<SpeechWordAlternatives> getWordAlternatives()
public void setWordAlternatives(List<SpeechWordAlternatives> wordAlternatives)
wordAlternatives - the new word alternativesCopyright © 2015–2016 IBM Watson. All rights reserved.