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 Details

    • SpeechWordConfidence

      public SpeechWordConfidence()
  • Method Details

    • getConfidence

      public Double getConfidence()
      Gets the confidence.
      Returns:
      The confidence
    • getWord

      public String getWord()
      Gets the word.
      Returns:
      The word
    • setConfidence

      public void setConfidence​(Double confidence)
      Sets the confidence.
      Parameters:
      confidence - The confidence
    • setWord

      public void setWord​(String word)
      Sets the word.
      Parameters:
      word - The word