paip.ikanalyzer 重加载词库的方法.

paip.ikanalyzer 重加载词库的方法.


作者Attilax  艾龙,  EMAIL:1466519819@qq.com 
来源:attilax的专栏
地址:http://blog.csdn.net/attilax


if(WordsLibController.lastWordsLib!=null)
  {
  dictionary.disableWords(WordsLibController.lastWordsLib); 
 
  }
WordsLibController.lastWordsLib=allword;
dictionary.addWords(allword); // 自动添加自定义词
原文地址:https://www.cnblogs.com/attilax/p/15199374.html