BNLP is a natural language processing toolkit for Bengali Language
Project description
Bengali Natural Language Processing(BNLP)
BNLP 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 bnlp_toolkit
or Upgrade
pip install -U bnlp_toolkit
- Python: 3.6, 3.7, 3.8, 3.9, 3.10
- OS: Linux, Windows, Mac
Build from source
git clone https://github.com/sagorbrur/bnlp.git
cd bnlp
python setup.py install
Sample Usage
from bnlp import BasicTokenizer
tokenizer = BasicTokenizer()
raw_text = "আমি বাংলায় গান গাই।"
tokens = tokenizer(raw_text)
print(tokens)
# output: ["আমি", "বাংলায়", "গান", "গাই", "।"]
Documentation
Full documentation are available here
If you are using previous version of bnlp check the document archive
Contributor Guide
Check CONTRIBUTING.md page for details.
Thanks To
- Semantics Lab
- All the developers who are contributing to enrich Bengali NLP.
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
bnlp_toolkit-4.0.0.dev4.tar.gz
(18.3 kB
view details)
Built Distribution
File details
Details for the file bnlp_toolkit-4.0.0.dev4.tar.gz
.
File metadata
- Download URL: bnlp_toolkit-4.0.0.dev4.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e86bfd842541d3bf2a7d083868a317f06842b1d67919a2a4395fcce59e7e845 |
|
MD5 | 2a03503ae202b70be5191b58a6fbf30e |
|
BLAKE2b-256 | ec13ee72033a0e1bedacc8217a9e955cb26b9416dd2b5bd87b0b4809994e0dd2 |
File details
Details for the file bnlp_toolkit-4.0.0.dev4-py3-none-any.whl
.
File metadata
- Download URL: bnlp_toolkit-4.0.0.dev4-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee05d3be0bd7d9fee251b2e8f8e9282d309f970c3203fe9fbb8478bacb9ce41 |
|
MD5 | 61b038ea33bfee04a05a651c3df44a26 |
|
BLAKE2b-256 | c78b259efbf7f3fc1afb188a83a3378e35d1d39ef6750275ca24c3040c6060d1 |