Snowball stemmer for Maori language, implementing PorterStemmer (https://snowballstem.org/projects.html)
Maori snowball syntax written by kshepherd (https://github.com/kshepherd/maoristemmer)
Install
pip install py_maori_stemmer
Usage
To stem one word:
from py_maori_stemmer import MaoriStemmer
stemmer = MaoriStemmer()
stemmer.stemWord('waihangatia')
# waihanga
To stem a sentence:
from py_maori_stemmer import MaoriStemmer
stemmer = MaoriStemmer()
stemmer.stemWord('i waihangatia mō ngā akomanga kaupapa')
# ['i', 'waihanga', 'mō', 'ngā', 'akoma', 'kaupap']
Test
nosetests --nocapture -v
Metadata
Release files for py-maori-stemmer 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-maori-stemmer-0.0.3.tar.gz | 4.8 kB | Without provenance | Details for py-maori-stemmer-0.0.3.tar.gz |
Release files / py-maori-stemmer-0.0.3.tar.gz
| Download URL | py-maori-stemmer-0.0.3.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1429a0113de8bad8860774d19c49de16354c475a8926c496e69360ff8174125
|
|
BLAKE2b-256 checksum How to use checksums |
b41f168347512c8df5bec48f9e6e775218df1f36abdbedf0fd6013c34f80308f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.6
|
Security for py-maori-stemmer 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.