欢迎来到淘码网(TMA.CN)

发音评测(音素级打分+纠错)

价格: ¥ 99 积分可抵¥ 1

最后更新: 2019-12-15 20:56:36

演示地址:

安装费: 免费

分类
类 型
品 牌
语 言
数据库
是否加密
是否授权
大小
10 MB
发货方式
自动发货
下载方式
远程下载

API接口

音素级打分及纠错

音素级打分及纠错

调用地址:http(s)://ali01.io.speechx.cn/MDD_Phone

请求方式:POST

返回类型:JSON

API 调用:API 简单身份认证调用方法(APPCODE)展开API 签名认证调用方法(AppKey & AppSecret)

调试工具:去调试

请求参数(Headers)

无参数

请求参数(Query)

无参数

请求参数(Body)
名称类型是否必须描述
englishLevelINT必选评测难度:0宽松,1中等,2严格
englishTypeINT必选评测口音:0英美兼容,1英式,2美式
urlSTRING必选评测音频的OSS链接
wordSTRING必选评测的文本
请求示例
curl
Java
C#
PHP
Python
ObjectC
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"
      }
    }
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    失败返回示例
    {
      "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"
      }
    }
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    错误码定义
    错误码错误信息描述
    2001Sound Too Low!声音太小
    2002Sound Too Loud!声音太大
    2003Sound Too Short!录音太短
    2004Sound Too Long!录音过长
    2005Sound Too Noisy!噪音太大
    2006Error In Wav Format!录音文件格式出错
    2007Error In Text Format!文本格式出错
    2008Error With Out Of Vocabulary!存在未登录词,即引擎中没有该词语的信息
    2009Error In Text Content!文本内容出错
    2010Error In Wave File!录音文件出错
    2011Run Too Long!超时
    0 (0%)

    好评

    0 (0%)

    中评

    0 (0%)

    差评

    • 在线客服

      点击这里给我发消息 点击这里给我发消息

      官方微信

      仅处理投诉、举报及平台使用问题;
      商品问题请咨询商家客服!

    浏览记录