下载源代码
运用在lucene中的中文分词算法源码. 作者:张旭 ( zx4517@eyou.com ) 这是我学习研究lucene的心得,现发布与大家交流, 有什么建议,请写信给我。
中间有个配置的参数,运行的时候可能要更改一下
com.lucene.segment.DictionaryLoader
public class DictionaryLoader {
public void load(){
File dirtf = new File("C:/simchinese/simchinese.txt");
…………………………
}
作者的其它文章: 数独游戏自动解题程序JSP版
来源: www.java3z.com