Class KeywordResult

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.KeywordResult
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class KeywordResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about a match for a keyword from speech recognition results.
  • Constructor Details

    • KeywordResult

      public KeywordResult()
  • Method Details

    • getNormalizedText

      public String getNormalizedText()
      Gets the normalizedText.

      A specified keyword normalized to the spoken phrase that matched in the audio input.

      Returns:
      the normalizedText
    • getStartTime

      public Double getStartTime()
      Gets the startTime.

      The start time in seconds of the keyword match.

      Returns:
      the startTime
    • getEndTime

      public Double getEndTime()
      Gets the endTime.

      The end time in seconds of the keyword match.

      Returns:
      the endTime
    • getConfidence

      public Double getConfidence()
      Gets the confidence.

      A confidence score for the keyword match in the range of 0.0 to 1.0.

      Returns:
      the confidence