stemming library in java [closed]

情到浓时终转凉″ 提交于 2019-11-30 02:40:23

问题


Is there any library for stemming in java!?


回答1:


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.




回答2:


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.




回答3:


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.



来源:https://stackoverflow.com/questions/4444943/stemming-library-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!