Need a python module for stemming of text documents

Kai picture Kai · Apr 29, 2012 · Viewed 31.5k times · Source

I need a good python module for stemming text documents in the pre-processing stage.

I found this one

http://pypi.python.org/pypi/PyStemmer/1.0.1

but i cannot find the documentation int the link provided.

I anyone knows where to find the documentation or any other good stemming algorithm please help.

Answer

ditkin picture ditkin · Apr 29, 2012

You may want to try NLTK

>>> from nltk import PorterStemmer
>>> PorterStemmer().stem('complications')