You need to enable JavaScript to run this app.
导航

识别结果

最近更新时间2022.07.14 15:26:33

首次发布时间2022.07.14 15:26:33

识别结果JSON字段说明
字段说明层级格式是否必填备注
reqid请求标识1string请求中的 reqid。
result识别结果1list仅当识别成功时填写。
text整个音频的识别结果文本2string仅当识别成功时填写。
confidence识别结果文本置信度2int仅当识别成功时填写。
utterances识别结果语音分句信息2list仅当识别成功且开启show_utterances时填写。
textutterance级的文本内容3string仅当识别成功且开启show_utterances时填写。
start_time起始时间(毫秒)3int仅当识别成功且开启show_utterances时填写。

end_time

结束时间(毫秒)

3

int

仅当识别成功且开启show_utterances时填写。

识别结果JSON样例
{
    "reqid": "a3273f8ee3db11e7bf2ff3223ff33638",
    "result": [
        {
            "text": "识别结果候选",
            "confidence": 100,
            "language": "zh",
            "utterances": [
                {
                    "text": "识别结果",
                    "start_time": 200,
                    "end_time": 1200,
                    "definite": true,
                    "language": "<mand>",
                    "words": [
                        {
                            "text": "识别",
                            "start_time": 200,
                            "end_time": 500,
                            "blank_time": 800,
                        },
                        {
                            "text": "结果",
                            "start_time": 500,
                            "end_time": 1200,
                            "blank_time": 800,
                        }
                    ]
                },
                {
                    "text": "候选",
                    "start_time": 1400,
                    "end_time": 2400,
                    "definite": true,
                    "language": "<mand>",
                    "words": [
                        "text": "候选",
                        "start_time": 1400,
                        "end_time": 2400,
                        "blank_time": 800,
                    ]
                }
            ]
        }
    ]
}