public class WordAlternative extends GenericModel
SpeechToText
.Constructor and Description |
---|
WordAlternative(java.lang.Double confidence,
java.lang.String word)
Instantiates a new word alternative.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getConfidence()
Gets the confidence.
|
java.lang.String |
getWord()
Gets the word.
|
void |
setConfidence(java.lang.Double confidence)
Sets the confidence.
|
void |
setWord(java.lang.String word)
Sets the word.
|
equals, hashCode, toString
public WordAlternative(java.lang.Double confidence, java.lang.String word)
confidence
- the confidenceword
- the wordpublic java.lang.Double getConfidence()
public void setConfidence(java.lang.Double confidence)
confidence
- the new confidencepublic java.lang.String getWord()
public void setWord(java.lang.String word)
word
- the new word