BengaliNLP is a natural language processing toolkit for Bengali Language
Project description
Bengali Natural Language Processing(BengaliNLP)
BengaliNLP is a natural language processing toolkit for Bengali Language. This tool will help you to tokenize Bengali text, Embedding Bengali words, Embedding Bengali Document, Bengali POS Tagging, Bengali Name Entity Recognition, Bangla Text Cleaning for Bengali NLP purposes.
Features
- Tokenization
- Embeddings
- Part of speech tagging
- Named Entity Recognition
- Text Cleaning
- Corpus
- Letters, vowels, punctuations, stopwords
Installation
PIP installer
pip install bengalinlp
or Upgrade
pip install -U bengalinlp
- Python: 3.8, 3.9, 3.10, 3.11
- OS: Linux, Windows, Mac
Build from source
git clone https://github.com/banglawiki/bengalinlp.git
cd bengalinlp
python setup.py install
Sample Usage
from bengalinlp import BasicTokenizer
tokenizer = BasicTokenizer()
raw_text = "আমি বাংলায় গান গাই।"
tokens = tokenizer(raw_text)
print(tokens)
# output: ["আমি", "বাংলায়", "গান", "গাই", "।"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bengalinlp-2.0.0.tar.gz
(20.7 kB
view details)
Built Distribution
File details
Details for the file bengalinlp-2.0.0.tar.gz
.
File metadata
- Download URL: bengalinlp-2.0.0.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21fdb29a906f7aad0a1f896139c99c8d32ada9345fca7310103e6ed928eb650f |
|
MD5 | 995b72627be44e0f0403b5e9094dacf5 |
|
BLAKE2b-256 | e8f4575ad90d9cba293ae10e7f33db6292dc29c60c0ec1443196c768a8980a20 |
File details
Details for the file bengalinlp-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: bengalinlp-2.0.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b77ef8253dc64d52b574da27ecaef290122a27358889babb4fe72d43372c07a |
|
MD5 | 7c160d0fb17a0499a8eda27213cf4820 |
|
BLAKE2b-256 | 7ed1020432cb6402f58fcd357ca97e0e165eac2f8fa0664722f8d04cf44d5e53 |