hankcs / hanlp-lucene-plugin

HanLP中文分词Lucene插件,支持包括Solr在内的基于Lucene的系统
http://www.hankcs.com/nlp/segment/full-text-retrieval-solr-integrated-hanlp-chinese-word-segmentation.html
Apache License 2.0
296 stars 99 forks source link

您好,报告一个hanlp-lucene-plugin的bug #43

Closed hujue1982 closed 4 years ago

hujue1982 commented 5 years ago

在HanLPTokenizerFactory文件中,方法public HanLPTokenizerFactory(Map<String, String> args)下,定义语句enableCustomDictionaryForcing = getBoolean(args, "enableCustomDictionaryForcing", true); 存在问题,应该是false,该问题会导致某些情况下分词出现错误