无关本帖的提问请开新帖回答
识别的结果咋从results——recognition转换到results_nlu的?是开启本地语义么,是
map.put(SpeechConstant.DECODER, 2);map.remove(SpeechConstant.PID); // 去除pid,只支持中文
map.put(SpeechConstant.ASR_OFFLINE_ENGINE_GRAMMER_FILE_PATH, "asset:///baidu_speech_grammar.bsg");
这三句么,在加载离线识别的时候开启么,为什么我的得不到results_nlu的json,希望大侠帮助
没有纯离线识别。只能离线识别固定短语
无关本帖的提问请开新帖回答
识别的结果咋从results——recognition转换到results_nlu的?是开启本地语义么,是
map.put(SpeechConstant.DECODER, 2);
map.remove(SpeechConstant.PID); // 去除pid,只支持中文
map.put(SpeechConstant.ASR_OFFLINE_ENGINE_GRAMMER_FILE_PATH, "asset:///baidu_speech_grammar.bsg");
这三句么,在加载离线识别的时候开启么,为什么我的得不到results_nlu的json,希望大侠帮助
没有纯离线识别。只能离线识别固定短语