IK中文分词

#####步骤

1. 使用IK默认的分词,对数据处理。
2. 人工审核,纠正。然后热更新,丰富ES词库
3. 循环1.2,可让ES正确处理网络用语

#####测试

1
2
3
4
5
6
MacBook-Pro:Jobrunner$ php artisan for:test
string(10) "老#司机"
string(11) "萌#萌#哒"
MacBook-Pro:Jobrunner$ php artisan for:test
string(9) "老司机"
string(9) "萌萌哒"

#####参考
http://www.cnblogs.com/Hai--D/p/5751403.html
http://www.cnblogs.com/miao-zp/p/6008370.html
https://github.com/medcl/elasticsearch-analysis-ik
https://github.com/medcl/elasticsearch-analysis-ik/issues/256
http://weblee.leanote.com/post/ElasticSearch-ik%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D
http://unpython.com/4/
http://mojijs.com/2016/10/220251/index.html