腾讯云智聆口语评测自由说评测模式-教育服务解决方案

评测模式描述

评测要求:支持不设置文本,直接识别音频内容,最大300秒音频时长。评测维度:支持返回单词精准度,流利度。评测功能:支持实时评测,标点符号。

请求参数

主要请求参数说明

参数名称 类型 描述
RefText String 被评估文本
EvalMode Integer 评估模式。3:自由说模式
ServerType Integer 评估语言。0:英文

请求示例

{    "RefText": "",    "EvalMode": 3,     "ServerType":0,    "WorkMode":1,    "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*",    "SeqId":1,    "IsEnd":1,    "VoiceFileType":3,    "VoiceEncodeType":1,    "SessionId":"42e3-1668752883308-05239",    "ScoreCoeff":1.0}

返回结果

主要返回结果说明

参数名称 类型 描述
SuggestedScore Integer 建议评分
PronAccuracy Integer 整体精准度
PronFluency Integer 整体流利度
Words.PronAccuracy Integer 单词精准度
Words.PronFluency Integer 单词流利度

返回示例


{ "SuggestedScore":74.029915, "PronAccuracy":74.029915, "PronFluency":0.82859397, "PronCompletion":-1, "RequestId":"d4685f40-2120-47d9-8c24-36ce664fe7c6", "Words":[ { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":48.901062, "PronFluency":0.57411766, "ReferenceWord":"", "Word":"i", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":87.44434, "PronFluency":0.9160723, "ReferenceWord":"", "Word":"have", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":68.30478, "PronFluency":0.9327054, "ReferenceWord":"", "Word":"a", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":91.469475, "PronFluency":0.89148045, "ReferenceWord":"", "Word":"dream", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] } ], "SessionId":"42e3-1668752883308-05239", "Status":"Finished",}

实时评测

主要作用是获取实时中间结果,实时展示评测内容。评测结果以最终结果为准。实现方式可参考语音输入模式 — 流式评测。

请求参数

主要请求参数说明

参数名称 类型 描述
RefText String 被评估文本
EvalMode Integer 评估模式。3:自由说评测
ServerType Integer 评估语言。0:英文
WorkMode Integer 语音输入模式。0:流式分片
SentenceInfoEnabled Integer 输出断句中间结果标识。1:输出

请求示例


{ "RefText": "", "EvalMode": 3, "ServerType": 0, "WorkMode": 0, "SentenceInfoEnabled": 1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*", "SeqId":1, "IsEnd":0, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"e0750a98-670b-11ed-b54d-acde48001122", "ScoreCoeff":1.0}

返回结果

主要返回结果说明

参数名称 类型 描述
SentenceInfoSet.Words.PronAccuracy Integer 单词精准度
SentenceInfoSet.Words.PronFluency Integer 单词流利度

返回示例

{    "PronAccuracy":96.569855,    "PronFluency":-1,    "PronCompletion":-1,    "Words":Array[4],    "SessionId":"e0750a98-670b-11ed-b54d-acde48001122",    "AudioUrl":"",    "SentenceInfoSet":[        {            "SentenceId":0,            "Words":[                {                    "MemBeginTime":-1,                    "MemEndTime":-1,                    "PronAccuracy":92.89983,                    "PronFluency":0.6360371,                    "Word":"i",                    "MatchTag":0,                    "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":98.48607, "PronFluency":0.9317913, "Word":"go", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":98.90927, "PronFluency":0.9357265, "Word":"to", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":95.359535, "PronFluency":0.9408119, "Word":"school", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 } ], "PronAccuracy":96.569855, "PronFluency":-1, "PronCompletion":-1, "SuggestedScore":0, } ], "Status":"Evaluating", "SuggestedScore":96.569855, "RequestId":"bcc31f9b-2da2-48ac-a2d8-a91a16b43763"}

标点符号

使用命令块 {::cmd{F_PUNC=true}} 开启标点符号,可以在最终返回结果中输出标点符号。

请求参数

主要请求参数说明

参数名称 类型 描述
RefText String 被评估文本。使用命令块 {::cmd{F_PUNC=true}} 开启标点符号
EvalMode Integer 评估模式。3:自由说模式
ServerType Integer 评估语言。0:英文

请求示例

{    "RefText": "{::cmd{F_PUNC=true}}",    "EvalMode": 3,     "ServerType": 0,    "WorkMode": 0,    "SentenceInfoEnabled": 1,    "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*",    "SeqId":1,    "IsEnd":0,    "VoiceFileType":3,    "VoiceEncodeType":1,    "SessionId":"e0750a98-670b-11ed-b54d-acde48001122",    "ScoreCoeff":1.0}

返回结果

主要返回结果说明

参数名称 类型 描述
MatchTag Integer 当前词与输入语句的匹配情况。5:标点符号
Words.Word String 当前词。当MatchTag:5时,输出内容为标点符号

返回示例

{    "PronAccuracy":84.03009,    "PronFluency":0.6950822,    "PronCompletion":-1,    "Words":[        {            "MemBeginTime":-1,            "MemEndTime":-1,            "PronAccuracy":84.60914,            "PronFluency":0.92409897,            "Word":"let's",            "MatchTag":0,            "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":79.91626, "PronFluency":0.8288893, "Word":"say", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":87.56488, "PronFluency":0.3322581, "Word":"a", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":-1, "PronFluency":-1, "Word":".", "MatchTag":5, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 } ], "SessionId":"0d92c964-a827-11ed-979d-acde48001122", "AudioUrl":"", "SentenceInfoSet":Array[1], "Status":"Finished", "SuggestedScore":84.03009, "RefTextId":-1, "KeyWordHits":[
], "UnKeyWordHits":[
], "RequestId":"5b85bd39-339d-4b57-8e8c-cd8ada05f5e7"}



腾讯云官网1折活动,限时活动,即将结束,速速收藏
同尘科技为腾讯云授权服务中心。
购买腾讯云产品享受折上折,更有现金返利。同意关联立享优惠

发表评论