You need to enable JavaScript to run this app.
导航
识别结果
最近更新时间:2025.07.03 13:23:12首次发布时间:2022.07.14 15:26:33
复制全文
我的收藏
有用
有用
无用
无用

识别结果JSON字段说明

字段

说明

层级

格式

是否必填

备注

reqid

请求标识

1

string

请求中的 reqid。

result

识别结果

1

list

仅当识别成功时填写。

text

整个音频的识别结果文本

2

string

仅当识别成功时填写。

confidence

识别结果文本置信度

2

int

仅当识别成功时填写。

utterances

识别结果语音分句信息

2

list

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

text

utterance级的文本内容

3

string

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

start_time

起始时间(毫秒)

3

int

仅当识别成功且开启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,
                    ]
                }
            ]
        }
    ]
}