public class SemanticAPI extends BaseAPI
| 构造器和说明 |
|---|
SemanticAPI() |
| 限定符和类型 | 方法和说明 |
|---|---|
static BaseResult |
addvoicetorecofortext(String accessToken,
String voiceId,
File voice)
提交语音
|
static BaseResult |
addvoicetorecofortext(String accessToken,
String voiceId,
InputStream inputStream)
提交语音
|
static BaseResult |
addvoicetorecofortext(String accessToken,
String voiceId,
String lang,
File voice)
提交语音
|
static BaseResult |
addvoicetorecofortext(String accessToken,
String voiceId,
String lang,
InputStream inputStream)
提交语音
|
static BaseResult |
addvoicetorecofortext(String accessToken,
String voiceId,
String lang,
URI uri)
提交语音
|
static BaseResult |
addvoicetorecofortext(String accessToken,
String voiceId,
URI uri)
提交语音
|
static weixin.popular.bean.semantic.queryrecoresultfortext.QueryrecoresultfortextResult |
queryrecoresultfortext(String accessToken,
String voiceId)
获取语音识别结果
|
static weixin.popular.bean.semantic.queryrecoresultfortext.QueryrecoresultfortextResult |
queryrecoresultfortext(String accessToken,
String voiceId,
String lang)
获取语音识别结果
|
static weixin.popular.bean.semantic.semproxy.SemproxySearchResult |
semproxySearch(String accessToken,
weixin.popular.bean.semantic.semproxy.SemproxySearch semproxySearch)
语义理解
|
static weixin.popular.bean.semantic.semproxy.SemproxySearchResult |
semproxySearch(String accessToken,
String postData)
语义理解
|
static weixin.popular.bean.semantic.translatecontent.TranslatecontentResult |
translatecontent(String accessToken,
String lfrom,
String lto,
File content,
String charsetName)
微信翻译
|
static weixin.popular.bean.semantic.translatecontent.TranslatecontentResult |
translatecontent(String accessToken,
String lfrom,
String lto,
InputStream inputStream,
String charsetName)
微信翻译
|
static weixin.popular.bean.semantic.translatecontent.TranslatecontentResult |
translatecontent(String accessToken,
String lfrom,
String lto,
String content)
微信翻译
|
public static weixin.popular.bean.semantic.semproxy.SemproxySearchResult semproxySearch(String accessToken, weixin.popular.bean.semantic.semproxy.SemproxySearch semproxySearch)
accessToken - access_tokensemproxySearch - semproxySearchpublic static weixin.popular.bean.semantic.semproxy.SemproxySearchResult semproxySearch(String accessToken, String postData)
accessToken - access_tokenpostData - postDatapublic static BaseResult addvoicetorecofortext(String accessToken, String voiceId, File voice)
accessToken - 接口调用凭证voiceId - 语音唯一标识voice - 文件格式 只支持mp3,16k,单声道,最大1Mpublic static BaseResult addvoicetorecofortext(String accessToken, String voiceId, InputStream inputStream)
accessToken - 接口调用凭证voiceId - 语音唯一标识inputStream - 文件格式 只支持mp3,16k,单声道,最大1Mpublic static BaseResult addvoicetorecofortext(String accessToken, String voiceId, URI uri)
accessToken - 接口调用凭证voiceId - 语音唯一标识uri - 文件格式 只支持mp3,16k,单声道,最大1Mpublic static BaseResult addvoicetorecofortext(String accessToken, String voiceId, String lang, File voice)
accessToken - 接口调用凭证voiceId - 语音唯一标识lang - 语言,zh_CN 或 en_US,默认中文voice - 文件格式 只支持mp3,16k,单声道,最大1Mpublic static BaseResult addvoicetorecofortext(String accessToken, String voiceId, String lang, InputStream inputStream)
accessToken - 接口调用凭证voiceId - 语音唯一标识lang - 语言,zh_CN 或 en_US,默认中文inputStream - 文件格式 只支持mp3,16k,单声道,最大1Mpublic static BaseResult addvoicetorecofortext(String accessToken, String voiceId, String lang, URI uri)
accessToken - 接口调用凭证voiceId - 语音唯一标识lang - 语言,zh_CN 或 en_US,默认中文uri - 文件格式 只支持mp3,16k,单声道,最大1Mpublic static weixin.popular.bean.semantic.queryrecoresultfortext.QueryrecoresultfortextResult queryrecoresultfortext(String accessToken, String voiceId)
accessToken - 接口调用凭证voiceId - 音唯一标识public static weixin.popular.bean.semantic.queryrecoresultfortext.QueryrecoresultfortextResult queryrecoresultfortext(String accessToken, String voiceId, String lang)
accessToken - 接口调用凭证voiceId - 语音唯一标识lang - 语言,zh_CN 或 en_US,默认中文public static weixin.popular.bean.semantic.translatecontent.TranslatecontentResult translatecontent(String accessToken, String lfrom, String lto, File content, String charsetName)
accessToken - 接口调用凭证lfrom - 源语言,zh_CN 或 en_USlto - 目标语言,zh_CN 或 en_UScontent - 源内容放body里或者上传文件的形式(utf8格式,最大600Byte)charsetName - 文件字符的编码格式public static weixin.popular.bean.semantic.translatecontent.TranslatecontentResult translatecontent(String accessToken, String lfrom, String lto, InputStream inputStream, String charsetName)
accessToken - 接口调用凭证lfrom - 源语言,zh_CN 或 en_USlto - 目标语言,zh_CN 或 en_USinputStream - 源内容放body里或者上传文件的形式(utf8格式,最大600Byte)charsetName - 文件字符的编码格式public static weixin.popular.bean.semantic.translatecontent.TranslatecontentResult translatecontent(String accessToken, String lfrom, String lto, String content)
accessToken - 接口调用凭证lfrom - 源语言,zh_CN 或 en_USlto - 目标语言,zh_CN 或 en_UScontent - 源内容放body里或者上传文件的形式(utf8格式,最大600Byte)Copyright © 2019. All rights reserved.