Package | Description |
---|---|
com.ibm.watson.developer_cloud.speech_to_text.v1 |
Speech to Text Service v1
|
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 |
---|---|
RecognizeOptions |
RecognizeOptions.Builder.build()
Builds the profile options.
|
Modifier and Type | Method and Description |
---|---|
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: |
void |
SpeechToText.recognizeUsingWebSocket(InputStream audio,
RecognizeOptions options,
RecognizeCallback callback)
Recognizes an audio
InputStream using a WebSocket .The RecognizeCallback instance will be called every time the service sends
SpeechResults .Here is an example of how to recognize an audio file using WebSockets and get interim results: |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketManager.recognize(InputStream stream,
RecognizeOptions options,
RecognizeCallback delegate)
Recognize.
|
Copyright © 2015–2016. All rights reserved.