Class SpeechTranscript

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.SpeechTranscript
All Implemented Interfaces:
Jsonable

Represents speech to text data contained in SpeechResults.getResults().
Since:
8.2.0
  • Constructor Details

  • Method Details

    • getText

      public String getText()
      Transcript text representing the words that the user spoke.
      Returns:
      The transcript text.
    • getConfidence

      The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct.
      Returns:
      The confidence estimate between 0.0 and 1.0 as a Double.