Package | Description |
---|---|
com.ibm.watson.developer_cloud.speech_to_text.v1 |
Speech to Text v1.
|
com.ibm.watson.developer_cloud.speech_to_text.v1.model | |
com.ibm.watson.developer_cloud.speech_to_text.v1.websocket |
This package contains interfaces and implementations to work with Websocket in Speech to Text.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<SpeechResults> |
SpeechToText.recognize(File audio)
Recognizes an audio file and returns
SpeechResults . |
ServiceCall<SpeechResults> |
SpeechToText.recognize(File audio,
RecognizeOptions options)
Recognizes an audio file and returns
SpeechResults .Here is an example of how to recognize an audio file: |
Modifier and Type | Method and Description |
---|---|
List<SpeechResults> |
RecognitionJob.getResults()
Gets the recognition results.
|
Modifier and Type | Method and Description |
---|---|
void |
RecognitionJob.setResults(List<SpeechResults> results)
Sets the recognition results.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseRecognizeCallback.onTranscription(SpeechResults speechResults) |
void |
RecognizeCallback.onTranscription(SpeechResults speechResults)
Called when a
SpeechResults was received. |
Copyright © 2015–2016 IBM Watson. All rights reserved.