Class WordAlternativeResults

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

public class WordAlternativeResults
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about alternative hypotheses for words from speech recognition results.
  • Constructor Details

    • WordAlternativeResults

      public WordAlternativeResults()
  • Method Details

    • getStartTime

      public Double getStartTime()
      Gets the startTime.

      The start time in seconds of the word from the input audio that corresponds to the word alternatives.

      Returns:
      the startTime
    • getEndTime

      public Double getEndTime()
      Gets the endTime.

      The end time in seconds of the word from the input audio that corresponds to the word alternatives.

      Returns:
      the endTime
    • getAlternatives

      public List<WordAlternativeResult> getAlternatives()
      Gets the alternatives.

      An array of alternative hypotheses for a word from the input audio.

      Returns:
      the alternatives