Fatick Stemmer
Description
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:
from bangla_stemmer.stemmer import stemmer wordlist = ['কবিরগুলিকে', 'আমাকে', 'নামাবার'] stmr = stemmer.BanglaStemmer() stm = stmr.stem(word) print(stm)
output: ['কবির', 'আমা', 'নামা']
Example 01:
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. However some major and required modification has been made in this library in order to make it compatible with any model.
Reference: ⮑ BanglaKit
Metadata
Release files for bangla-stemmer 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bangla-stemmer-1.0.tar.gz | 8.2 kB | Without provenance | Details for bangla-stemmer-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bangla_stemmer-1.0-py3-none-any.whl | Python 3 | none | any | Details for bangla_stemmer-1.0-py3-none-any.whl |
Total release size: 17.2 kB
Release files / bangla-stemmer-1.0.tar.gz
| Download URL | bangla-stemmer-1.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71b01c3b0a4306f68b37db7a4535e4ecf6407fc69e1346edd57da5c06b00ef71
|
|
BLAKE2b-256 checksum How to use checksums |
35ff957fb33e6f7083e92a6dc05959ba4ce61ce8461959f383bdb02c8ad37162
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3
|
Release files / bangla_stemmer-1.0-py3-none-any.whl
| Download URL | bangla_stemmer-1.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77b55acb8bafe18fb9984e333dde9107d58496a801b92c572d9c523b3dd0bfd4
|
|
BLAKE2b-256 checksum How to use checksums |
0b9443286b4f9948268e0468d6203a1a1ad6f2ccb2273b7d952daf99413d67e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3
|
Security for bangla-stemmer 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.