Class SpeechWordConfidence
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.SpeechWordConfidence
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SpeechWordConfidence
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Transcription word confidence.
-
Constructor Summary
Constructors Constructor Description SpeechWordConfidence() -
Method Summary
Modifier and Type Method Description DoublegetConfidence()Gets the confidence.StringgetWord()Gets the word.voidsetConfidence(Double confidence)Sets the confidence.voidsetWord(String word)Sets the word.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SpeechWordConfidence
public SpeechWordConfidence()
-
-
Method Details
-
getConfidence
Gets the confidence.- Returns:
- The confidence
-
getWord
Gets the word.- Returns:
- The word
-
setConfidence
Sets the confidence.- Parameters:
confidence- The confidence
-
setWord
Sets the word.- Parameters:
word- The word
-