public class WordAlternativeResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
WordAlternativeResult() |
Modifier and Type | Method and Description |
---|---|
Double |
getConfidence()
Gets the confidence.
|
String |
getWord()
Gets the word.
|
public Double getConfidence()
A confidence score for the word alternative hypothesis in the range of 0.0 to 1.0.
public String getWord()
An alternative hypothesis for a word from the input audio.
Copyright © 2022 IBM Cloud. All rights reserved.