public class WordAlternative extends GenericModel
SpeechToText
.Constructor and Description |
---|
WordAlternative(Double confidence,
String word)
Instantiates a new word alternative.
|
Modifier and Type | Method and Description |
---|---|
Double |
getConfidence()
Gets the confidence.
|
String |
getWord()
Gets the word.
|
void |
setConfidence(Double confidence)
Sets the confidence.
|
void |
setWord(String word)
Sets the word.
|
equals, hashCode, toString
public Double getConfidence()
public void setConfidence(Double confidence)
confidence
- the new confidencepublic String getWord()
public void setWord(String word)
word
- the new wordCopyright © 2015–2016 IBM Watson. All rights reserved.