Package com.vonage.client.voice
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe confidence estimate between 0.0 and 1.0.getText()Transcript text representing the words that the user spoke.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
SpeechTranscript
public SpeechTranscript()
-
-
Method Details
-
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.
-