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 Double
getConfidence()
Gets the confidence.String
getWord()
Gets the word.void
setConfidence(Double confidence)
Sets the confidence.void
setWord(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
-