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

能否配置成极速索引 #24

Open iluvsnail opened 7 years ago

iluvsnail commented 7 years ago

插件能否配置成极速索引?还有,插件默认的是什么索引方式?

1、HanLP分词器 极速词典分词:
分词速度:5030.1978 字符/毫秒
13、HanLP分词器 索引分词:
分词速度:664.67535 字符/毫秒
19、HanLP分词器 标准分词:
分词速度:461.43375 字符/毫秒
26、HanLP分词器 最短路径分词:
分词速度:288.55948 字符/毫秒
27、HanLP分词器 NLP分词:
分词速度:251.66522 字符/毫秒
hankcs commented 7 years ago

是个好想法,但目前不支持配置,默认标准分词。