腾讯云智聆口语评测单词纠错评测模式-教育服务解决方案
评测模式描述
评测要求:支持单词,组合词评测。音频数据最长60秒。评测维度:支持返回单词精准度,单词流利度;支持返回音素精准度。评测功能:支持重音检测,标准音素,音素到字母映射,音素到国际音标转换,指定发音,指定国际音标。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本。支持单词,组合词,缩写 |
EvalMode | Integer | 评估模式。4:单词纠错模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例
{ "RefText": "chinese", "EvalMode": 4, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"89baf4d6-670d-11ed-8365-acde48001122", "ScoreCoeff":1.0}
返回结果
主要返回结果说明
参数名称 | 类型 | 描述 |
SuggestedScore | Integer | 建议评分。一分制 |
PronAccuracy | Integer | 整体精准度。一分制 |
PronFluency | Integer | 整体流利度 |
Words.PronAccuracy | Integer | 单词精准度。百分制 |
Words.PronFluency | Integer | 单词流利度 |
Words.PhoneInfos.PronAccuracy | Integer | 音素精准度 |
Words.PhoneInfos.Phone | String | 当前音频数据对应音素 |
Words.PhoneInfos.ReferencePhone | String | 当前评估文本对应音素 |
Words.PhoneInfos.Stress | Boolean | 当前评估文本对应音素是否为重音 |
Words.PhoneInfos.DetectedStress | Boolean | 当前音频数据对应音素是否为重音 |
返回示例
{ "PronAccuracy":0.47182983, "PronFluency":0.888085, "PronCompletion":1, "Words":[ { "MemBeginTime":1000, "MemEndTime":3010, "PronAccuracy":47.182983, "PronFluency":0.888085, "Word":"chinese", "MatchTag":0, "PhoneInfos":[ { "MemBeginTime":1000, "MemEndTime":1030, "PronAccuracy":0.0012280411, "DetectedStress":false, "Phone":"ch", "Stress":false, "ReferencePhone":"ch", "MatchTag":0, "ReferenceLetter":"" }, { "MemBeginTime":1200, "MemEndTime":1590, "PronAccuracy":0.98199654, "DetectedStress":false, "Phone":"ay", "Stress":false, "ReferencePhone":"ay", "MatchTag":0, "ReferenceLetter":"" }, { "MemBeginTime":1620, "MemEndTime":1700, "PronAccuracy":0.97322184, "DetectedStress":false, "Phone":"n", "Stress":true, "ReferencePhone":"n", "MatchTag":0, "ReferenceLetter":"" }, { "MemBeginTime":1700, "MemEndTime":1860, "PronAccuracy":0.9924901, "DetectedStress":false, "Phone":"iy", "Stress":false, "ReferencePhone":"iy", "MatchTag":0, "ReferenceLetter":"" }, { "MemBeginTime":1860, "MemEndTime":1980, "PronAccuracy":0.95142627, "DetectedStress":false, "Phone":"d", "Stress":false, "ReferencePhone":"*", "MatchTag":1, "ReferenceLetter":"" }, { "MemBeginTime":1980, "MemEndTime":2310, "PronAccuracy":0.87193286, "DetectedStress":false, "Phone":"ah", "Stress":false, "ReferencePhone":"*", "MatchTag":1, "ReferenceLetter":"" }, { "MemBeginTime":2340, "MemEndTime":2500, "PronAccuracy":0.9722068, "DetectedStress":false, "Phone":"hh", "Stress":false, "ReferencePhone":"*", "MatchTag":1, "ReferenceLetter":"" }, { "MemBeginTime":2500, "MemEndTime":2600, "PronAccuracy":0.96199226, "DetectedStress":false, "Phone":"aa", "Stress":false, "ReferencePhone":"*", "MatchTag":1, "ReferenceLetter":"" }, { "MemBeginTime":2600, "MemEndTime":2680, "PronAccuracy":0.9480952, "DetectedStress":false, "Phone":"r", "Stress":false, "ReferencePhone":"*", "MatchTag":1, "ReferenceLetter":"" }, { "MemBeginTime":2680, "MemEndTime":3010, "PronAccuracy":0.9764986, "DetectedStress":false, "Phone":"t", "Stress":false, "ReferencePhone":"z", "MatchTag":3, "ReferenceLetter":"" } ], "ReferenceWord":"", "KeywordTag":0 } ], "SessionId":"89baf4d6-670d-11ed-8365-acde48001122", "Status":"Finished", "SuggestedScore":0.47182983, "RequestId":"bfbb66bb-acd7-405d-8848-86f53182bf6f"}
音素到字母的映射
通过该功能,可以对音素映射字母进行标记。音素到字母映射结构:{::cmd{F_P2L=true}} + 评估文本。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本 |
EvalMode | Integer | 评估模式。4:单词纠错模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例
{ "RefText": "{::cmd{F_P2L=true}} park", "EvalMode": 4, "WorkMode":1, "UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*", "SeqId":1, "IsEnd":1, "VoiceFileType":3, "VoiceEncodeType":1, "SessionId":"67387606-658a-11ed-bb15-acde48001122", "ScoreCoeff":1.0}
返回结果
主要返回结果
参数名称 | 类型 | 描述 |
Words.Word | String | 当前单词 |
Words.PhoneInfos.Phone | String | 当前单词的音素 |
Words.PhoneInfos.ReferenceLetter | String | 当前单词的音素映射的字母 |
返回示例
{ "PronAccuracy": 0.1680843, "PronFluency": 0.88527, "PronCompletion": 1, "Words": [ { "MemBeginTime": 1190, "MemEndTime": 2850, "PronAccuracy": 16.80843, "PronFluency": 0.88527, "Word": "park", "MatchTag": 0, "PhoneInfos": [ { "MemBeginTime": 1190, "MemEndTime": 1220, "PronAccuracy": 0.005181217, "DetectedStress": false, "Phone": "p", "Stress": false, "ReferencePhone": "p", "MatchTag": 0, "ReferenceLetter": "p_0" }, { "MemBeginTime": 1250, "MemEndTime": 1600, "PronAccuracy": 0.8457455, "DetectedStress": false, "Phone": "aa", "Stress": false, "ReferencePhone": "aa", "MatchTag": 0, "ReferenceLetter": "a_1" }, { "MemBeginTime": 1630, "MemEndTime": 1710, "PronAccuracy": 0.9573671, "DetectedStress": false, "Phone": "n", "Stress": false, "ReferencePhone": "*", "MatchTag": 1, "ReferenceLetter": "" }, { "MemBeginTime": 1710, "MemEndTime": 1850, "PronAccuracy": 0.9909292, "DetectedStress": false, "Phone": "iy", "Stress": false, "ReferencePhone": "*", "MatchTag": 1, "ReferenceLetter": "" }, { "MemBeginTime": 1850, "MemEndTime": 1970, "PronAccuracy": 0.9580225, "DetectedStress": false, "Phone": "d", "Stress": false, "ReferencePhone": "r", "MatchTag": 3, "ReferenceLetter": "r_2" }, { "MemBeginTime": 1970, "MemEndTime": 2330, "PronAccuracy": 0.90209043, "DetectedStress": false, "Phone": "ah", "Stress": false, "ReferencePhone": "*", "MatchTag": 1, "ReferenceLetter": "" }, { "MemBeginTime": 2360, "MemEndTime": 2530, "PronAccuracy": 0.9661365, "DetectedStress": false, "Phone": "hh", "Stress": false, "ReferencePhone": "*", "MatchTag": 1, "ReferenceLetter": "" }, { "MemBeginTime": 2530, "MemEndTime": 2670, "PronAccuracy": 0.9358872, "DetectedStress": false, "Phone": "er", "Stress": false, "ReferencePhone": "*", "MatchTag": 1, "ReferenceLetter": "" }, { "MemBeginTime": 2670, "MemEndTime": 2850, "PronAccuracy": 0.9748455, "DetectedStress": false, "Phone": "t", "Stress": false, "ReferencePhone": "k", "MatchTag": 3, "ReferenceLetter": "k_3" } ], "ReferenceWord": "", "KeywordTag": 0 } ], "SessionId": "67387606-658a-11ed-bb15-acde48001122", "Status": "Finished", "SuggestedScore": 0.1680843, "RequestId": "60a34e41-9e6b-482c-9934-0564748a8c33"}
音素到国际音标转换
默认返回智聆音素,使用 {::cmd{F_IPA=true}} + 单词 开启⾳素到国际⾳标转换功能。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本 |
EvalMode | Integer | 评估模式。4:单词纠错评测模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例
{ "RefText": "{::cmd{F_IPA=true}}happy", "EvalMode": 4, "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": 0.97201085, "PronFluency": 0.84378105, "PronCompletion": 1, "Words": [ { "MemBeginTime": 170, "MemEndTime": 1150, "PronAccuracy": 97.20109, "PronFluency": 0.84378105, "Word": "happy", "MatchTag": 0, "PhoneInfos": [ { "MemBeginTime": 170, "MemEndTime": 350, "PronAccuracy": 0.9581233, "DetectedStress": true, "Phone": "'h", "Stress": true, "ReferencePhone": "'h", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 350, "MemEndTime": 510, "PronAccuracy": 0.9581154, "DetectedStress": false, "Phone": "æ", "Stress": false, "ReferencePhone": "æ", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 510, "MemEndTime": 730, "PronAccuracy": 0.98160344, "DetectedStress": false, "Phone": "p", "Stress": false, "ReferencePhone": "p", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 730, "MemEndTime": 1150, "PronAccuracy": 0.9902012, "DetectedStress": false, "Phone": "i", "Stress": false, "ReferencePhone": "i", "MatchTag": 0, "ReferenceLetter": "" } ], "ReferenceWord": "", "KeywordTag": 0, "Tone": { "Valid": false, "RefTone": -1, "HypothesisTone": -1 } } ], "SessionId": "7f4677e0-2b8a-11ee-b529-acde48001122", "AudioUrl": "", "SentenceInfoSet": [], "Status": "Finished", "SuggestedScore": 0.97201085, "RefTextId": -1, "KeyWordHits": [], "UnKeyWordHits": [], "RequestId": "54da4ced-6d2b-4e24-9007-c182830d4d92"}
指定发音
使用 单词{::pron{p1,p2..},{p3,p4..}..} 指定发音,需要将国际音标通过音素映射表转换为智聆音素,参考音素映射表 — 智聆音素。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本 |
EvalMode | Integer | 评估模式。4:单词纠错评测模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例音标单词多音词
{ "RefText": "au{::pron{aw}}", "EvalMode": 4, "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": 4, "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": 4, "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": 0.9720109, "PronFluency": 0.84378105, "PronCompletion": 1, "Words": [ { "MemBeginTime": 170, "MemEndTime": 1150, "PronAccuracy": 97.20109, "PronFluency": 0.84378105, "Word": "happy", "MatchTag": 0, "PhoneInfos": [ { "MemBeginTime": 170, "MemEndTime": 350, "PronAccuracy": 0.95812345, "DetectedStress": true, "Phone": "hh", "Stress": true, "ReferencePhone": "hh", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 350, "MemEndTime": 510, "PronAccuracy": 0.95811546, "DetectedStress": false, "Phone": "ae", "Stress": false, "ReferencePhone": "ae", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 510, "MemEndTime": 730, "PronAccuracy": 0.98160344, "DetectedStress": false, "Phone": "p", "Stress": false, "ReferencePhone": "p", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 730, "MemEndTime": 1150, "PronAccuracy": 0.99020123, "DetectedStress": false, "Phone": "iy", "Stress": false, "ReferencePhone": "iy", "MatchTag": 0, "ReferenceLetter": "" } ], "ReferenceWord": "", "KeywordTag": 0, "Tone": { "Valid": false, "RefTone": -1, "HypothesisTone": -1 } } ], "SessionId": "7d8825cc-2b97-11ee-9efe-acde48001122", "AudioUrl": "", "SentenceInfoSet": [], "Status": "Finished", "SuggestedScore": 0.9720109, "RefTextId": -1, "KeyWordHits": [], "UnKeyWordHits": [], "RequestId": "01b3ccb7-fabe-4ee4-b293-7499ac49ea24"}
指定国际音标
使用 单词{::ipapron{p1,p2..},{p3,p4..}..} 指定国际音标参考,音素映射表 — 国际音标。默认返回智聆音素,返回国际音标需要使用音素到国际音标转换。
请求参数
主要请求参数说明
参数名称 | 类型 | 描述 |
RefText | String | 被评估文本 |
EvalMode | Integer | 评估模式。4:单词纠错评测模式 |
ServerType | Integer | 评估语言。0:英文 |
请求示例音标单词多音词
{ "RefText": "au{::ipapron{aʊ}}", "EvalMode": 4, "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": 4, "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": 4, "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": 0.9720109, "PronFluency": 0.84378105, "PronCompletion": 1, "Words": [ { "MemBeginTime": 170, "MemEndTime": 1150, "PronAccuracy": 97.20109, "PronFluency": 0.84378105, "Word": "happy", "MatchTag": 0, "PhoneInfos": [ { "MemBeginTime": 170, "MemEndTime": 350, "PronAccuracy": 0.95812345, "DetectedStress": true, "Phone": "hh", "Stress": true, "ReferencePhone": "hh", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 350, "MemEndTime": 510, "PronAccuracy": 0.95811546, "DetectedStress": false, "Phone": "ae", "Stress": false, "ReferencePhone": "ae", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 510, "MemEndTime": 730, "PronAccuracy": 0.98160344, "DetectedStress": false, "Phone": "p", "Stress": false, "ReferencePhone": "p", "MatchTag": 0, "ReferenceLetter": "" }, { "MemBeginTime": 730, "MemEndTime": 1150, "PronAccuracy": 0.99020123, "DetectedStress": false, "Phone": "iy", "Stress": false, "ReferencePhone": "iy", "MatchTag": 0, "ReferenceLetter": "" } ], "ReferenceWord": "", "KeywordTag": 0, "Tone": { "Valid": false, "RefTone": -1, "HypothesisTone": -1 } } ], "SessionId": "7d8825cc-2b97-11ee-9efe-acde48001122", "AudioUrl": "", "SentenceInfoSet": [], "Status": "Finished", "SuggestedScore": 0.9720109, "RefTextId": -1, "KeyWordHits": [], "UnKeyWordHits": [], "RequestId": "01b3ccb7-fabe-4ee4-b293-7499ac49ea24"}
腾讯云官网1折活动,限时活动,即将结束,速速收藏
同尘科技为腾讯云授权服务中心。
购买腾讯云产品享受折上折,更有现金返利。同意关联立享优惠
发表评论