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 |
---|---|
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 | Class and Description |
---|---|
class |
BaseRecognizeCallback
An empty implementation of
RecognizeCallback interface. |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketManager.recognize(InputStream stream,
RecognizeOptions options,
RecognizeCallback delegate)
Recognize.
|
Copyright © 2015–2016. All rights reserved.