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

添加拼音TokenFilter #46

Closed canghailan closed 5 years ago

canghailan commented 5 years ago

HanLP本身支持拼音,在Lucene中使用拼音搜索时不想添加其他依赖,添加了一个拼音分词过滤器,支持全拼、首字母搜索