android 离在线sdk 命令词识别(100021)报 No recognition result matched., reason: 7998, no confidence
ec_boy_hl 发布于2015-06 浏览:3078 回复:3
0
收藏

android 离在线sdk 命令词识别(100021)报:java.util.concurrent.ExecutionException: java.lang.Exception: #7, No recognition result matched., reason: 7998, no confidence.请问会是什么原因?以下是关键代码:

  recognizerIntent= new Intent();
  recognizerIntent.putExtra("sample", 16000);
  recognizerIntent.putExtra("language", "cmn-Hans-CN");
  recognizerIntent.putExtra("asr-base-file-path", "/mnt/sdcard/baidu/rs/s_1");
  recognizerIntent.putExtra("prop", 100021);
  JSONObject slotData=new JSONObject();
   slotData.put("usercommand", new JSONArray().put("恭喜发财").put("大展宏图"));
  recognizerIntent.putExtra("slot-data", slotData.toString());

收藏
点赞
0
个赞
共3条回复 最后由用户已被禁言回复于2022-04
#4luckyToMe2回复于2020-01

看看

0
#3cjwx021hh2z回复于2016-02

我擦!

0
#2c5812回复于2015-07

经确认,开放平台离线识别的命令词识别存在bug,解决后的版本会随后续一些新功能一起发布

0
TOP
切换版块