【测试方法】

This commit is contained in:
weizhihong 2023-04-10 15:04:13 +08:00
parent cf592fe9ff
commit f81c160b21

View File

@ -40,4 +40,14 @@ public class VoiceDiscriminateService {
replyParseService.doExec(result, simulation); // 回复执行
correctSourceService.doExec(result, simulation);// 原信息纠错
}
/**
* 接受语音文件资源等必要条件解析开始
*/
public void doAnalysis(Simulation simulation, String content) {
VoiceDiscriminateResult result = voiceParseService.doParse(simulation, content);
operateParseService.doExec(result, simulation); // 指令执行
replyParseService.doExec(result, simulation); // 回复执行
correctSourceService.doExec(result, simulation);// 原信息纠错
}
}