Skip to content

在.net core版的JIEba分词上,做了修改,使其支持Lucene.Net

License

Notifications You must be signed in to change notification settings

shshshdy/JIEba-netcore

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JIEba-netcore

基于jieba.NETCore

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

Available On NuGet

Lucene.JIEba.net

集成到Lucene.Net示例

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

具体demo参考

感谢原作

原作的基础上,修改了加载用户分词的BUG.

About

在.net core版的JIEba分词上,做了修改,使其支持Lucene.Net

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%