Python binding to the C++ KrovetzStemmer package
Project description
# KrovetzStemmer
Python binding to the C++ KrovetzStemmer package, originally distributed with the Lemur toolkit.
The extension is compatible with both python 2.6 and python 3.x.
## Installation ##
The package is on PyPI so usually you just go:
pip install krovetzstemmer
Or you can choose to clone this repo, cd into it, and install the package from there:
pip install .
## Usage ##
The usage is similar to the python package porterstemmer.
from krovetzstemmer import Stemmer stemmer = Stemmer() stemmer.stem(‘utilities’) # got: ‘utility’ stemmer.stem(u’utilities’) # got: u’utility’
## Contributors ##
Ruey-Cheng Chen
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.