腾讯云智聆口语评测单词实时评测模式-教育服务解决方案
评测模式描述
评测要求:支持多组单词,组合词评测。音频时长最长60秒。评测维度:支持返回单词精准度,单词流利度;支持返回音素精准度。评测功能:支持实时评测,多组文本 ,音素到字母映射,音素到国际音标转换,指定发音,指定国际音标。主要作用是获取实时中间结果,实时展示评测内容。评测结果以最终结果为准。实现方式可参考语音输入模式 — 流式评测。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本。支持单词,组合词,缩写。使用| 划分多组分支 |
EvalMode | Integer | 评估模式。7:单词评测模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例
{ "RefText": "bus |train | car" "EvalMode": 7 "WorkMode": 0, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*", "SeqId":1, "IsEnd":0, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"0c2bf078-6592-11ed-99dc-acde48001122", "ScoreCoeff":1.0}
返回结果
主要返回结果说明
参数名称 | 类型 | 描述 |
SentenceInfoSet.Words.PronAccuracy | Integer | 单词精准度 |
SentenceInfoSet.Words.PronFluency | Integer | 单词流利度 |
SentenceInfoSet.Words.MatchTag | Integer | 当前词的音频与文本的匹配情况 |
SentenceInfoSet.Words.PhoneInfos.PronAccuracy | Integer | 音素精准度 |
SentenceInfoSet.Words.PhoneInfos.MatchTag | Integer | 当前音素的音频与文本的匹配情况 |
返回示例
{ "PronAccuracy":24.751133, "PronFluency":0.9361044, "PronCompletion":0.6666667, "Words":Array[2], "SessionId":"0c2bf078-6592-11ed-99dc-acde48001122", "SentenceInfoSet":[ { "SentenceId":-1, "Words":[ { "MemBeginTime":1160, "MemEndTime":1590, "PronAccuracy":23.99631, "PronFluency":0.90006214, "Word":"car", "MatchTag":0, "PhoneInfos":[ { "MemBeginTime":1160, "MemEndTime":1250, "PronAccuracy":6.8105645, "DetectedStress":false, "Phone":"k", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"" }, { "MemBeginTime":1250, "MemEndTime":1280, "PronAccuracy":0.08843824, "DetectedStress":false, "Phone":"aa", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"" }, { "MemBeginTime":1280, "MemEndTime":1590, "PronAccuracy":65.08992, "DetectedStress":false, "Phone":"r", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"" } ], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":1590, "MemEndTime":1850, "PronAccuracy":25.505955, "PronFluency":0.97214675, "Word":"train", "MatchTag":0, "PhoneInfos":[ { "MemBeginTime":1590, "MemEndTime":1630, "PronAccuracy":99.9102, "DetectedStress":false, "Phone":"t", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"" }, { "MemBeginTime":1630, "MemEndTime":1660, "PronAccuracy":0.0038451438, "DetectedStress":false, "Phone":"r", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"" }, { "MemBeginTime":1660, "MemEndTime":1690, "PronAccuracy":0.038451433, "DetectedStress":false, "Phone":"ey", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"" }, { "MemBeginTime":1690, "MemEndTime":1850, "PronAccuracy":2.0713205, "DetectedStress":false, "Phone":"n", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"" } ], "ReferenceWord":"", "KeywordTag":0 } ], "PronAccuracy":24.751133, "PronFluency":0.9361044, "PronCompletion":0.6666667, "SuggestedScore":0, } ], "Status":"Evaluating", "SuggestedScore":22.001007661136256, "RequestId":"e627ccc8-af76-4172-bd0a-df48c9542082"}
音素到字母映射
通过该功能,可以对音素映射字母进行标记。音素到字母映射结构:{::cmd{F_P2L=true}} + 评估文本。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本 |
EvalMode | Integer | 评估模式。7:单词实时模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例
{ "RefText": "{::cmd{F_P2L=true}} pig | sheep", "EvalMode": 7, "ServerType":0, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*", "SeqId":1, "IsEnd":0, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"acf226a2-6967-11ed-842f-acde48001122", "ScoreCoeff":1.0}
返回结果
主要返回结果说明
参数名称 | 类型 | 描述 |
Words.Word | String | 当前单词 |
Words.PhoneInfos.Phone | String | 当前单词的音素 |
Words.PhoneInfos.ReferenceLetter | String | 当前单词的音素映射的字母 |
返回示例
{ "PronAccuracy":12.163953, "PronFluency":0.90415126, "PronCompletion":1, "Words":Array[3], "SessionId":"acf226a2-6967-11ed-842f-acde48001122", "AudioUrl":"", "SentenceInfoSet":[ { "SentenceId":-1, "Words":[ { "MemBeginTime":1430, "MemEndTime":2050, "PronAccuracy":1.3630998, "PronFluency":0.8253891, "Word":"pig", "MatchTag":0, "PhoneInfos":[ { "MemBeginTime":1430, "MemEndTime":1720, "PronAccuracy":2.1372294, "DetectedStress":false, "Phone":"p", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"p_0" }, { "MemBeginTime":1720, "MemEndTime":1750, "PronAccuracy":0.13457982, "DetectedStress":false, "Phone":"ih", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"i_1" }, { "MemBeginTime":1750, "MemEndTime":2050, "PronAccuracy":1.8174901, "DetectedStress":false, "Phone":"g", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"g_2" } ], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":3090, "MemEndTime":3460, "PronAccuracy":0.9752136, "PronFluency":0.92956847, "Word":"pig", "MatchTag":0, "PhoneInfos":[ { "MemBeginTime":3090, "MemEndTime":3160, "PronAccuracy":0.6805645, "DetectedStress":false, "Phone":"p", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"p_0" }, { "MemBeginTime":3160, "MemEndTime":3370, "PronAccuracy":0.76240057, "DetectedStress":false, "Phone":"ih", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"i_1" }, { "MemBeginTime":3370, "MemEndTime":3460, "PronAccuracy":1.4826757, "DetectedStress":false, "Phone":"g", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"g_2" } ], "ReferenceWord":"", "KeywordTag":0 }, { "MemBeginTime":3460, "MemEndTime":3790, "PronAccuracy":34.153545, "PronFluency":0.95749635, "Word":"sheep", "MatchTag":0, "PhoneInfos":[ { "MemBeginTime":3460, "MemEndTime":3610, "PronAccuracy":99.67801, "DetectedStress":false, "Phone":"sh", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"sh_0" }, { "MemBeginTime":3610, "MemEndTime":3760, "PronAccuracy":2.4827034, "DetectedStress":false, "Phone":"iy", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"ee_2" }, { "MemBeginTime":3760, "MemEndTime":3790, "PronAccuracy":0.29991898, "DetectedStress":false, "Phone":"p", "Stress":false, "ReferencePhone":"", "MatchTag":0, "ReferenceLetter":"p_4" } ], "ReferenceWord":"", "KeywordTag":0 } ], "PronAccuracy":12.163953, "PronFluency":0.90415126, "PronCompletion":1, "SuggestedScore":0,
} ], "Status":"Finished", "SuggestedScore":12.163953, "RequestId":"03c67fe8-04cb-4a66-a071-60e25305b633"}
音素到国际音标转换
返回音素默认为智聆音素,使用 {::cmd{F_IPA=true}} + 单词 开启⾳素到国际⾳标转换功能。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本 |
EvalMode | Integer | 评估模式。7:单词实时评测模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例
{ "RefText": "{::cmd{F_IPA=true}}happy", "EvalMode": 7, "ServerType":0, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAE*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"ca0cb65e-694d-11ed-b467-acde48001122", "ScoreCoeff":1.0}
返回结果
返回结果说明
参数名称 | 类型 | 描述 |
Words.PhoneInfos.Phone | Integer | 当前音节 |
返回示例
{ "PronAccuracy": 96.829666, "PronFluency": 0.82233715, "PronCompletion": 1, "Words": [ { "MemBeginTime": 50, "MemEndTime": 1130, "PronAccuracy": 96.829666, "PronFluency": 0.82233715, "Word": "happy", "MatchTag": 0, "PhoneInfos": [ { "MemBeginTime": 50, "MemEndTime": 300, "PronAccuracy": 94.31433, "DetectedStress": false, "Phone": "'h", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 300, "MemEndTime": 460, "PronAccuracy": 95.81154, "DetectedStress": false, "Phone": "æ", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 460, "MemEndTime": 680, "PronAccuracy": 98.16035, "DetectedStress": false, "Phone": "p", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 680, "MemEndTime": 1130, "PronAccuracy": 99.03245, "DetectedStress": false, "Phone": "i", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" } ], "ReferenceWord": "", "KeywordTag": 0, "Tone": { "Valid": false, "RefTone": -1, "HypothesisTone": -1 } } ], "SessionId": "7fcb2c56-2b8a-11ee-b529-acde48001122", "AudioUrl": "", "SentenceInfoSet": [], "Status": "Finished", "SuggestedScore": 96.829666, "RefTextId": -1, "KeyWordHits": [], "UnKeyWordHits": [], "RequestId": "54017673-4465-4b1a-b5f2-8ab8e690c8ab"}
指定发音
使用 单词{::pron{p1,p2..},{p3,p4..}..} 指定发音,需要将国际音标通过音素映射表转换为智聆音素,参考音素映射表 — 智聆音素。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本 |
EvalMode | Integer | 评估模式。7:单词实时评测模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例音标单词多音词
{ "RefText": "au{::pron{aw}}", "EvalMode": 7, "ServerType":0, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAE*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"ca0cb65e-694d-11ed-b467-acde48001122", "ScoreCoeff":1.0}
{ "RefText": "happy{::pron{hh,ae,p,iy}}", "EvalMode": 7, "ServerType":0, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAE*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"ca0cb65e-694d-11ed-b467-acde48001122", "ScoreCoeff":1.0}
{ "RefText": "use{::pron{y,uw,z},{y,uw,s}}", "EvalMode": 7, "ServerType":0, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAE*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"ca0cb65e-694d-11ed-b467-acde48001122", "ScoreCoeff":1.0}
返回结果
主要返回结果说明
参数名称 | 类型 | 描述 |
SuggestedScore | Integer | 建议评分 |
PronAccuracy | Integer | 整体精准度 |
PronFluency | Integer | 整体流利度 |
Words.PronAccuracy | Integer | 单词精准度 |
Words.PronFluency | Integer | 单词流利度 |
Words.PhoneInfos.PronAccuracy | Integer | 音素精准度 |
返回示例
{ "PronAccuracy": 96.829666, "PronFluency": 0.82233715, "PronCompletion": 1, "Words": [ { "MemBeginTime": 50, "MemEndTime": 1130, "PronAccuracy": 96.829666, "PronFluency": 0.82233715, "Word": "happy", "MatchTag": 0, "PhoneInfos": [ { "MemBeginTime": 50, "MemEndTime": 300, "PronAccuracy": 94.31433, "DetectedStress": false, "Phone": "hh", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 300, "MemEndTime": 460, "PronAccuracy": 95.81155, "DetectedStress": false, "Phone": "ae", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 460, "MemEndTime": 680, "PronAccuracy": 98.16035, "DetectedStress": false, "Phone": "p", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 680, "MemEndTime": 1130, "PronAccuracy": 99.03245, "DetectedStress": false, "Phone": "iy", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" } ], "ReferenceWord": "", "KeywordTag": 0, "Tone": { "Valid": false, "RefTone": -1, "HypothesisTone": -1 } } ], "SessionId": "7e21650c-2b97-11ee-9efe-acde48001122", "AudioUrl": "", "SentenceInfoSet": [], "Status": "Finished", "SuggestedScore": 96.829666, "RefTextId": -1, "KeyWordHits": [], "UnKeyWordHits": [], "RequestId": "584bffc1-347e-4ed8-a25b-2bff4339300e"}
指定国际音标
使用 单词{::ipapron{p1,p2..},{p3,p4..}..} 指定国际音标参考,音素映射表 — 国际音标。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本 |
EvalMode | Integer | 评估模式。7:单词实时评测模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例音标单词多音词
{ "RefText": "au{::ipapron{aʊ}}", "EvalMode": 7, "ServerType":0, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAE*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"ca0cb65e-694d-11ed-b467-acde48001122", "ScoreCoeff":1.0}
{ "RefText": "happy{::ipapron{'h,æ,p,i}}", "EvalMode": 7, "ServerType":0, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAE*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"ca0cb65e-694d-11ed-b467-acde48001122", "ScoreCoeff":1.0}
{ "RefText": "use{::ipapron{j,u,z},{j,u,s}}", "EvalMode": 7, "ServerType":0, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAE*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"ca0cb65e-694d-11ed-b467-acde48001122", "ScoreCoeff":1.0}
返回结果
主要返回结果说明
参数名称 | 类型 | 描述 |
SuggestedScore | Integer | 建议评分 |
PronAccuracy | Integer | 整体精准度 |
PronFluency | Integer | 整体流利度 |
Words.PronAccuracy | Integer | 单词精准度 |
Words.PronFluency | Integer | 单词流利度 |
Words.PhoneInfos.PronAccuracy | Integer | 音素精准度 |
返回示例
{ "PronAccuracy": 96.829666, "PronFluency": 0.82233715, "PronCompletion": 1, "Words": [ { "MemBeginTime": 50, "MemEndTime": 1130, "PronAccuracy": 96.829666, "PronFluency": 0.82233715, "Word": "happy", "MatchTag": 0, "PhoneInfos": [ { "MemBeginTime": 50, "MemEndTime": 300, "PronAccuracy": 94.31433, "DetectedStress": false, "Phone": "hh", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 300, "MemEndTime": 460, "PronAccuracy": 95.81155, "DetectedStress": false, "Phone": "ae", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 460, "MemEndTime": 680, "PronAccuracy": 98.16035, "DetectedStress": false, "Phone": "p", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 680, "MemEndTime": 1130, "PronAccuracy": 99.03245, "DetectedStress": false, "Phone": "iy", "Stress": false, "ReferencePhone": "", "MatchTag": 0, "ReferenceLetter": "" } ], "ReferenceWord": "", "KeywordTag": 0, "Tone": { "Valid": false, "RefTone": -1, "HypothesisTone": -1 } } ], "SessionId": "7e21650c-2b97-11ee-9efe-acde48001122", "AudioUrl": "", "SentenceInfoSet": [], "Status": "Finished", "SuggestedScore": 96.829666, "RefTextId": -1, "KeyWordHits": [], "UnKeyWordHits": [], "RequestId": "584bffc1-347e-4ed8-a25b-2bff4339300e"}
腾讯云官网1折活动,限时活动,即将结束,速速收藏
同尘科技为腾讯云授权服务中心。
购买腾讯云产品享受折上折,更有现金返利。同意关联立享优惠
发表评论