Nov11 / ik-analyzer

Automatically exported from code.google.com/p/ik-analyzer
0 stars 0 forks source link

分词无法分割和过滤 #110

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
尊敬的作者你好,
我使用的是solr4.1配合2012ff
我配置字典后。
在停用词中添加的字。词,在分词的时候并没有过滤。
在分词过程中。我所分词的字符串是2012年欧洲杯四强赛。

使用字典中。将 “欧洲杯四强赛” 和“2012”作为一个词。
“年”作为过滤词。
但是并没有将“欧洲杯四强赛” 单独作为一个词 
http://www.cnblogs.com/luxh/archive/2012/06/23/2559260.html

也就是上面地址中的教程 
在solr4.1中没有成功。请问是否和solr的版本有问题
谢谢

Original issue reported on code.google.com by wangfei1...@gmail.com on 1 Mar 2013 at 10:24

GoogleCodeExporter commented 8 years ago
已经解决了

Original comment by wangfei1...@gmail.com on 5 Mar 2013 at 6:00

GoogleCodeExporter commented 8 years ago
作者你好,我使用最新的IKAnalyzer2012_u6.zip 
包,遇到不稳定情况如下:
需要拆分的字符串:生地黄水蜜丸
默认分词显示为:生地黄|水|蜜|丸 
在ext.dic文件配置如下:
地黄
水蜜丸
配置后分词显示为:生地黄|水蜜丸

问题:“水蜜丸”被成功拆分,“生地黄”为什么没有被拆��
�成“生”和“地黄”?

Original comment by yuxiangt...@gmail.com on 15 Mar 2013 at 5:08