Rule based Bengali Stemmer written in python
Project description
# Rule Based Bangla Stemmer
- ## Installation
pip install py_bangla_stemmer
- ## Usage
from py_bangla_stemmer import BanglaStemmer
stemmer = BanglaStemmer() stemmer.stem(‘জনপ্রিয়তা’) # ‘জনপ্রি’ stemmer.stem(’ সেটাই’) # ‘সে’
## Rules Documentation #### X + n : When X appears at the end of a word and word length is at least n, remove it #### Y -> Z + n : When Y appears at the end of a word and word length is at least n, replace it with Z #### Y.Z -> A.B + n : When Y, followed by some character a, followed by Z appears at the end of a word and word length is at least n, replace it with AaB
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 py-bangla-stemmer-0.5.1.tar.gz
.
File metadata
- Download URL: py-bangla-stemmer-0.5.1.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90e9268e765fa6dcf3b0d1fb46181a5f9af78ed6ba396122185705dd375df802 |
|
MD5 | a2637e61807eddc61d4f2e9f8dc04559 |
|
BLAKE2b-256 | 5b75305f91cc5cf05d3868f36273434edee0f9459d051f343bf21e1067fc64c4 |