bangla-stemmer-1.0


توضیحات

A Python package to get stem of any inflected Bangla words.
ویژگی مقدار
سیستم عامل -
نام فایل bangla-stemmer-1.0
نام bangla-stemmer
نسخه کتابخانه 1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Mezbaul Islam Protick
ایمیل نویسنده mezbaulislamprotick@gmail.com
آدرس صفحه اصلی https://github.com/Fatick-DevStudio/Bangla-stemmer
آدرس اینترنتی https://pypi.org/project/bangla-stemmer/
مجوز Apache 2.0
# Fatick Stemmer ## Description <!-- &nbsp; is for one char space and &emsp; is for one tab space --> Bengali is one of the most morphologically rich languages and it has lots of inflectional and derivational variant forms of a word. Because of that it is quite complicated to determine the stem of word. Therefore our main focus was to program a light-weight library to determine a identical word for same type of inflected word as stem to run on any model. ## Installation >### Run the following to install: + using pip ``` pip install bangla-stemmer ``` + using git ``` git clone https://github.com/Fatick-DevStudio/Bangla-stemmer.git cd Bangla-stemmer python setup.py install ``` ## Usages > __Example 01__: >```python >from bangla_stemmer.stemmer import stemmer >wordlist = ['কবিরগুলিকে', 'আমাকে', 'নামাবার'] >stmr = stemmer.BanglaStemmer() >stm = stmr.stem(word) >print(stm) >``` >`output: ['কবির', 'আমা', 'নামা']` <!-- --> > __Example 01__: >```python >from bangla_stemmer.stemmer.stemmer import BanglaStemmer >word = 'কবিরগুলিকে' >stm = BanglaStemmer().stem(word) >print(stm) >``` >`output: ['কবির', 'আমা', 'নামা']` ## Grammar Rule The grammar rules applied here are based on the algorithm of [*Rafi Kamal*](https://github.com/rafi-kamal/Bangla-Stemmer). However some major and required modification has been made in this library in order to make it compatible with any model. &emsp; <span style="color:gray; font-size:20px; font-family:courier">*__Reference:__*</span> <span style = "font-size:15px">&emsp;&emsp; __&#11153;__ [*BanglaKit*](https://github.com/banglakit/bengali-stemmer)</span>


نحوه نصب


نصب پکیج whl bangla-stemmer-1.0:

    pip install bangla-stemmer-1.0.whl


نصب پکیج tar.gz bangla-stemmer-1.0:

    pip install bangla-stemmer-1.0.tar.gz