qasta / russianmorphology

Automatically exported from code.google.com/p/russianmorphology
0 stars 0 forks source link

Add StopWords and exclusion words sets support #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi
I'm add two constructors for RussianAnalyzer to support StopWordsFilter and 
stemExclusionSet
Patch file attached.
Просто взял куски кода с 
org.apache.lucene.analysis.ru.RussianAnalyzer
Если нормально, можете добавить в транк.

P. S. Спасибо за проект!

Original issue reported on code.google.com by bal...@gmail.com on 26 Dec 2011 at 2:33

Attachments:

GoogleCodeExporter commented 9 years ago
also patch for normal work StemExclusionSet

Original comment by bal...@gmail.com on 25 Jan 2012 at 5:43

Attachments:

GoogleCodeExporter commented 9 years ago
Can you add tests on stop word and stem exclusion sets functionality. Also can 
you add proper constructor for EnglishAnalyzer.

Original comment by Alexander.A.Kuznetsov on 25 Jan 2012 at 7:08

GoogleCodeExporter commented 9 years ago
ok, im attach tests class for RussianAnalyzer and test data.
Check please.
Constructor for EnglishAnalyzer will a liitle later

Original comment by bal...@gmail.com on 25 Jan 2012 at 8:20

Attachments: