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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page