需要一个python模块来阻止文本文档
问题描述:
在预处理阶段,我需要一个很好的python模块来阻止文本文档.
I need a good python module for stemming text documents in the pre-processing stage.
我找到了这个
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.
答
您可能想尝试 NLTK >
You may want to try NLTK
>>> from nltk import PorterStemmer
>>> PorterStemmer().stem('complications')