public class Transcript extends GenericModel
Constructor and Description |
---|
Transcript() |
Modifier and Type | Method and Description |
---|---|
java.util.List<SpeechAlternative> |
getAlternatives()
Gets the alternatives.
|
java.util.Map<java.lang.String,java.util.List<KeywordsResult>> |
getKeywordsResult()
Gets the keyword spotting results.
|
java.util.List<SpeechWordAlternatives> |
getWordAlternatives()
Gets the word alternatives.
|
boolean |
isFinal()
Checks if is final.
|
void |
setAlternatives(java.util.List<SpeechAlternative> alternatives)
Sets the alternatives.
|
void |
setFinal(boolean finalValue)
Sets the final value.
|
void |
setKeywordsResult(java.util.Map<java.lang.String,java.util.List<KeywordsResult>> keywordsResult)
Sets the keyword spotting results.
|
void |
setWordAlternatives(java.util.List<SpeechWordAlternatives> wordAlternatives)
Sets the word alternatives.
|
equals, hashCode, toString
public java.util.List<SpeechAlternative> getAlternatives()
public boolean isFinal()
public void setAlternatives(java.util.List<SpeechAlternative> alternatives)
alternatives
- The alternativespublic void setFinal(boolean finalValue)
finalValue
- The finalpublic java.util.Map<java.lang.String,java.util.List<KeywordsResult>> getKeywordsResult()
public void setKeywordsResult(java.util.Map<java.lang.String,java.util.List<KeywordsResult>> keywordsResult)
keywordsResult
- the resultspublic java.util.List<SpeechWordAlternatives> getWordAlternatives()
public void setWordAlternatives(java.util.List<SpeechWordAlternatives> wordAlternatives)
wordAlternatives
- the new word alternatives