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.
Source Distribution
File details
Details for the file KrovetzStemmer-0.8.tar.gz
.
File metadata
- Download URL: KrovetzStemmer-0.8.tar.gz
- Upload date:
- Size: 112.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a769ba02579220ff4ca9c97c674dbd9e6cae943b64388711a7b4f0b68e47b60 |
|
MD5 | bc0fc9abbfd11c0b337922f1358a86cf |
|
BLAKE2b-256 | aa443ea6f96bd520ff5f49ba891727ecbf38521a735b142351ca29a91cf1285e |