AKuznetsov / russianmorphology

Russian Morphology for Lucene
Apache License 2.0
97 stars 48 forks source link

Lucene.NET support? #26

Open Evengard opened 2 years ago

Evengard commented 2 years ago

Hello! I've stumbled upon this project while seeking for a better russian analyzer for Lucene.NET. Well, this might be it, except that it is in Java... Is there any plan for supporting a .NET version as well, eg maybe doing the same way as Lucene.NET itself appeared - by automatically converting the Java code to C# - or any other way? Thanks in advance.

Evengard commented 2 years ago

I've actually done a quick and dirty conversion to C# and Lucene.Net 4.8 (beta 16, latest one in previews). Don't expect a lot from it, but it seems to work. Also it directly supports this repository compiled morph.info files, so if it changes here, it's pretty easy to replace them there too. Check out the repo: https://github.com/Evengard/LuceneNetRussianMorphologyNetCore