摘要:
C#中文分词算法:ChineseAnalyzer。首先需要引用2个dll库文件Lucene.Net.dll+Lucene.China.dll,会打包在本文结束处,使用VS2008调试通过:usingLucene.Net;usingLucene.Net.Analysis;usingLucene.China;----------使用方法举例:privatevoidbutton1_Click(objectsender,EventArgse){StringBuildersb=newStringBuilder();sb.Remove(0,sb.Length);stringt1=""; 阅读全文