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

评估模式描述

评测要求:支持不设置文本,直接识别音频内容,300秒音频时长。评测维度:支持返回单词精准度,流利度。评测功能:支持实时评测,标点符号。主要作用是获取实时中间结果,实时展示评测内容。评测结果以最终结果为准。实现方式可参考语音输入模式 — 流式评测。

请求参数

主要请求参数说明

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

请求示例


{ "RefText": "", "EvalMode": 3, "ServerType":1 "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"4d7f07b9-72d7-49a2-9718-ba49f02312cf", "ScoreCoeff":1.0}

返回结果

主要返回结果说明

参数名称 类型 描述
SuggestedScore Integer 建议评分
PronAccuracy Integer 整体精准度
PronFluency Integer 整体流利度
Words.PronAccuracy Integer 单词精准度
Words.PronFluency Integer 单词流利度
Words.MatchTag Integer 当前词的音频与文本的匹配情况

返回示例


{ "Response":{ "SuggestedScore":92.66579, "PronAccuracy":92.66579, "PronFluency":0.96167487, "PronCompletion":-1, "RequestId":"53e89254-f22c-45d3-81c9-fa6862af7ac3", "Words":[ { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":97.79225, "PronFluency":0.9354809, "ReferenceWord":"", "Word":"锄", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":96.60354, "PronFluency":0.97392696, "ReferenceWord":"", "Word":"禾", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":58.371662, "PronFluency":0.9310384, "ReferenceWord":"", "Word":"日", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":89.16049, "PronFluency":0.9786485, "ReferenceWord":"", "Word":"当", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":97.884476, "PronFluency":0.90114903, "ReferenceWord":"", "Word":"午", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":94.925064, "PronFluency":0.96929383, "ReferenceWord":"", "Word":"汗", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":97.89407, "PronFluency":0.9518177, "ReferenceWord":"", "Word":"滴", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":98.57983, "PronFluency":0.9822053, "ReferenceWord":"", "Word":"禾", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":97.6739, "PronFluency":0.9788975, "ReferenceWord":"", "Word":"下", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":96.34329, "PronFluency":0.93179417, "ReferenceWord":"", "Word":"土", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":94.06016, "PronFluency":0.98168886, "ReferenceWord":"", "Word":"谁", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":98.69448, "PronFluency":0.9736544, "ReferenceWord":"", "Word":"知", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":98.504425, "PronFluency":0.9754762, "ReferenceWord":"", "Word":"盘", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":99.01154, "PronFluency":0.98919916, "ReferenceWord":"", "Word":"中", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":98.811584, "PronFluency":0.95275205, "ReferenceWord":"", "Word":"餐", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":78.98405, "PronFluency":0.9677583, "ReferenceWord":"", "Word":"粒", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":64.27859, "PronFluency":0.9543351, "ReferenceWord":"", "Word":"粒", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":97.88482, "PronFluency":0.9864456, "ReferenceWord":"", "Word":"皆", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":98.8671, "PronFluency":0.9853355, "ReferenceWord":"", "Word":"辛", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":98.99059, "PronFluency":0.9326005, "ReferenceWord":"", "Word":"苦", "MatchTag":0, "KeywordTag":0, "PhoneInfos":[
] } ], "SessionId":"4d7f07b9-72d7-49a2-9718-ba49f02312cf", "Status":"Finished", "RefTextId":-1, "KeyWordHits":[
], "UnKeyWordHits":[
] }}

实时评测

主要作用是获取实时中间结果,实时展示评测内容。

请求参数

主要请求参数说明

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

请求示例

{    "RefText": "",    "EvalMode": 3,     "ServerType": 1,    "WorkMode": 0,    "SentenceInfoEnabled": 1,    "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*",    "SeqId":1,    "IsEnd":1,    "VoiceFileType":3,    "VoiceEncodeType":1,    "SessionId":"8b87042a-6970-11ed-8ab9-acde48001122",    "ScoreCoeff":1.0}

返回结果

主要返回结果说明

参数名称 类型 描述
SentenceInfoSet.Words.PronAccuracy Integer 单词精准度
SentenceInfoSet.Words.PronFluency Integer 单词流利度
SentenceInfoSet.Words.MatchTag Integer 当前词的音频与文本的匹配情况

返回示例


{ "PronAccuracy":90.71561, "PronFluency":-1, "PronCompletion":-1, "Words":Array[7], "SessionId":"8b87042a-6970-11ed-8ab9-acde48001122", "AudioUrl":"", "SentenceInfoSet":[ { "SentenceId":0, "Words":[ { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":93.033875, "PronFluency":0.9337783, "Word":"他", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":91.07246, "PronFluency":0.9787037, "Word":"狗", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":86.87872, "PronFluency":0.99280936, "Word":"头", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":91.345215, "PronFluency":0.98330355, "Word":"是", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":95.46604, "PronFluency":0.93004787, "Word":"个", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":94.319626, "PronFluency":0.96716696, "Word":"百", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":82.831276, "PronFluency":0.9502772, "Word":"八", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 } ], "PronAccuracy":90.71561, "PronFluency":-1, "PronCompletion":-1, "SuggestedScore":0, } ], "Status":"Evaluating", "SuggestedScore":90.71561, "RequestId":"492a06fe-8eb9-4217-968b-fdc0fbd10499"}

标点符号

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

请求参数

主要请求参数说明

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

请求示例

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



返回结果

主要返回结果说明

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

返回示例

{    "PronAccuracy":82.32912,    "PronFluency":0.91845036,    "PronCompletion":-1,    "Words":[        {            "MemBeginTime":-1,            "MemEndTime":-1,            "PronAccuracy":91.52465,            "PronFluency":0.9414932,            "Word":"来",            "MatchTag":0,            "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":85.18915, "PronFluency":0.8321826, "Word":"肥", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":-1, "PronFluency":-1, "Word":",", "MatchTag":5, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":67.98336, "PronFluency":0.95118046, "Word":"哎", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":84.6193, "PronFluency":0.94894505, "Word":"呀", "MatchTag":0, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":-1, "MemEndTime":-1, "PronAccuracy":-1, "PronFluency":-1, "Word":"。", "MatchTag":5, "PhoneInfos":[
], "ReferenceWord":"", "KeywordTag":0 } ], "SessionId":"eaf1e5b0-a827-11ed-b2b3-acde48001122", "AudioUrl":"", "SentenceInfoSet":Array[1], "Status":"Finished", "SuggestedScore":82.32912, "RefTextId":-1, "KeyWordHits":[
], "UnKeyWordHits":[
], "RequestId":"b2e11d6d-93ed-4c44-858b-658e4dc25149"}



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

发表评论