Search code examples
pythonmodulepreprocessornlpstemming

Need a python module for stemming of text documents


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.


Solution

  • You may want to try NLTK

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