价格: ¥ 99 积分可抵¥ 1
最后更新: 2019-12-15 20:56:36
演示地址: 无
安装费: 免费
调用地址:http(s)://ali01.io.speechx.cn/MDD_Phone
请求方式:POST
返回类型:JSON
API 调用:API 简单身份认证调用方法(APPCODE)展开API 签名认证调用方法(AppKey & AppSecret)
调试工具:去调试
无参数
无参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
englishLevel | INT | 必选 | 评测难度:0宽松,1中等,2严格 |
englishType | INT | 必选 | 评测口音:0英美兼容,1英式,2美式 |
url | STRING | 必选 | 评测音频的OSS链接 |
word | STRING | 必选 | 评测的文本 |
curl -i -k -X POST 'https://ali01.io.speechx.cn/MDD_Phone' -H 'Authorization:APPCODE 你自己的AppCode' --data 'englishLevel=1&englishType=0&url=http%3A%2F%2Fxxxxx&word=hello'
{
"score": "8.8",
"detail_score": {
"integrity": "10.0",
"segment": "9.2",
"fluency": "7.1",
"overall": "8.8"
},
"words": [
{
"score": "9.2",
"start": 340,
"name": "dune",
"end": 1140,
"mdd": "Correct",
"syllables": [
{
"score": "8.9",
"stress_dict": 0,
"name": "d y uw1 n",
"phones": [
{
"score": "10.0",
"rec": "d",
"prob_rec": 0.881,
"dict": "d",
"type": "Correct",
"prob_dict": 0.881,
"n_best_rec": [
{
"prob_rec": 0.173,
"name": "g",
"index": 1
},
{
"prob_rec": 0.157,
"name": "t",
"index": 2
}
]
},
{
"score": "7.4",
"rec": "y",
"prob_rec": 0.325,
"dict": "y",
"type": "Correct",
"prob_dict": 0.325,
"n_best_rec": [
{
"prob_rec": 0.143,
"name": "t",
"index": 1
}
]
},
{
"score": "10.0",
"rec": "uw",
"prob_rec": 0.94,
"dict": "uw",
"type": "Correct",
"prob_dict": 0.94
},
{
"score": "7.3",
"rec": "n",
"prob_rec": 0.517,
"dict": "n",
"type": "Correct",
"prob_dict": 0.517
}
]
}
]
}
],
"user": {
"english_level": "Elementary",
"accent_type": "GB_or_US",
"feed_back_type": "MDD_Phone",
"user_id": "guest"
},
"utter_info": {
"intensity": {
"min": 0,
"max": 22.78,
"mean": 17.47
},
"ref_text": "dune",
"response_time": "2019-04-09 12:05:27",
"utterance_id": "dune_dune_fage_1531366680_1554782727451",
"api_version": "0.110.08.2019.03.20.05"
}
}
{
"err_code": 2010,
"err_info": "Error In Audio File!",
"user": {
"english_level": "Elementary",
"accent_type": "GB_or_US",
"feed_back_type": "MDD_Phone",
"user_id": "guest"
},
"utter_info": {
"intensity": {
"min": 0,
"max": 0,
"mean": 0
},
"ref_text": "dune",
"response_time": "2019-04-09 12:04:46",
"utterance_id": "dune_dune_fage_1531366680_1554782686365",
"api_version": "0.110.08.2019.03.20.05"
}
}
错误码 | 错误信息 | 描述 |
---|---|---|
2001 | Sound Too Low! | 声音太小 |
2002 | Sound Too Loud! | 声音太大 |
2003 | Sound Too Short! | 录音太短 |
2004 | Sound Too Long! | 录音过长 |
2005 | Sound Too Noisy! | 噪音太大 |
2006 | Error In Wav Format! | 录音文件格式出错 |
2007 | Error In Text Format! | 文本格式出错 |
2008 | Error With Out Of Vocabulary! | 存在未登录词,即引擎中没有该词语的信息 |
2009 | Error In Text Content! | 文本内容出错 |
2010 | Error In Wave File! | 录音文件出错 |
2011 | Run Too Long! | 超时 |
0 (0%) 好评 | 0 (0%) 中评 | 0 (0%) 差评 |