【测试方法】
This commit is contained in:
parent
cf592fe9ff
commit
f81c160b21
@ -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);// 原信息纠错
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user