public static class SpeechToTextService.Speech extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
FileRecognizeSpeechResp |
fileRecognize(FileRecognizeSpeechReq req) |
FileRecognizeSpeechResp |
fileRecognize(FileRecognizeSpeechReq req,
RequestOptions reqOptions) |
StreamRecognizeSpeechResp |
streamRecognize(StreamRecognizeSpeechReq req) |
StreamRecognizeSpeechResp |
streamRecognize(StreamRecognizeSpeechReq req,
RequestOptions reqOptions) |
public Speech(Config config)
public FileRecognizeSpeechResp fileRecognize(FileRecognizeSpeechReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic FileRecognizeSpeechResp fileRecognize(FileRecognizeSpeechReq req) throws Exception
Exceptionpublic StreamRecognizeSpeechResp streamRecognize(StreamRecognizeSpeechReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic StreamRecognizeSpeechResp streamRecognize(StreamRecognizeSpeechReq req) throws Exception
ExceptionCopyright © 2022. All rights reserved.