Skip to main content

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

py-bangla-stemmer-0.5.1.tar.gz (16.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page