下载了语音理解.bsg。进行理解的测试的时候。应该返回 {"raw_text": "打开设置","parsed_text": "打开设置","results": [{"domain": "app","intent": "open","object": {"appsetting": "设置"}}]}这种格式,
实际返回{\"raw_text\":\"小虎打开设置。\",\"results\":[]}。results中无数据。
我的启动参数为:
params.put(SpeechConstant.DECODER,2);//纯在先0/在线及离线命令词2
params.put(SpeechConstant.ASR_OFFLINE_ENGINE_GRAMMER_FILE_PATH,"assets://baidu_speech_grammar.bsg");
params.put(SpeechConstant.NLU,"enable");
params.put(SpeechConstant.ACCEPT_AUDIO_VOLUME,false);
params.put(SpeechConstant.PID,19362);
params.put(SpeechConstant.VAD_ENDPOINT_TIMEOUT,0);
请问是哪里出了问题
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
bsg文件中是否设置过“小虎打开设置”