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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bengalinlp-2.0.1.tar.gz.
File metadata
- Download URL: bengalinlp-2.0.1.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f85fb192f530420c14403238078714d48b465a384201852f65a05d043849955
|
|
| MD5 |
12f764a8936afa711e7db9d01581dd5c
|
|
| BLAKE2b-256 |
82c01b91079523c4df8c3d3963faa31a39d0375b0ab2338217055edae25e4482
|
File details
Details for the file bengalinlp-2.0.1-py3-none-any.whl.
File metadata
- Download URL: bengalinlp-2.0.1-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1adcd9b45b2583f9cbf81609fcfb05551f8939dfbbb878abaeefd62223c605c1
|
|
| MD5 |
d368f70a733026bd492f6cb7a4bba3d3
|
|
| BLAKE2b-256 |
cff07b067882d29776f44d33a5ad75e766af972c7f2a6befa4b482d1852a0047
|