Rule based Bengali Stemmer written in python
Project description
# Rule Based Bangla Stemmer
- ## Usage
from stemmer.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
py-bangla-stemmer-0.5.0.tar.gz
(16.7 kB
view hashes)