public class WordAlternativeResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
confidence |
protected java.lang.String |
word |
Constructor and Description |
---|
WordAlternativeResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getConfidence()
Gets the confidence.
|
java.lang.String |
getWord()
Gets the word.
|
public java.lang.Double getConfidence()
A confidence score for the word alternative hypothesis in the range of 0.0 to 1.0.
public java.lang.String getWord()
An alternative hypothesis for a word from the input audio.