Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

stemming library in java [closed]

Tags:

java

api

stemming

Is there any library for stemming in java!?

like image 590
Maverick Avatar asked Dec 14 '10 22:12

Maverick


3 Answers

There is an implementation of Porter's stemmer available on his website. The code is not very Java-ish, but it does what it's supposed to, plus it's only a single class.

like image 192
Thomas Avatar answered Nov 14 '22 12:11

Thomas


You might want to look at Apache Lucene. It is generally written to do other things, but it does some stemming as part of its indexing process.

like image 36
mindas Avatar answered Nov 14 '22 12:11

mindas


Updated Answer: Porter recommends a later version of what is available on his website. That is Snowball: http://snowball.tartarus.org/ It is essentially a code generator that can generate a Java or C stemmer based on a stemmer specification.

like image 2
necromancer Avatar answered Nov 14 '22 12:11

necromancer