Skip to content

Latest commit

 

History

History
executable file
·
21 lines (12 loc) · 574 Bytes

README.md

File metadata and controls

executable file
·
21 lines (12 loc) · 574 Bytes

JIEba-netcore

基于jieba.NETCore

在.net core版的JIEba分词上,做了修改,使其支持net core2.0 和支持Lucene.net接口 ps: 修改了JIEba分词,导致的高亮bug

NuGet

Lucene.Net.Jieba

集成到Lucene.Net示例

  Analyzer analyzer = new JiebaAnalyzer(TokenizerMode.Search);
  Analyzer analyzer = new JiebaAnalyzer(TokenizerMode.Default);
  TokenStream = analyzer.GetTokenStream(str,indexReader);