Skip to main content

BNLP is a natural language processing toolkit for Bengali Language

Project description

Bengali Natural Language Processing(BNLP)

PyPI version Downloads

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

Installation

PIP installer

pip install bnlp_toolkit

or Upgrade

pip install -U bnlp_toolkit
  • Python: 3.8, 3.9, 3.10, 3.11
  • 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 documentation 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


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.3.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

bnlp_toolkit-4.0.3-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file bnlp_toolkit-4.0.3.tar.gz.

File metadata

  • Download URL: bnlp_toolkit-4.0.3.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for bnlp_toolkit-4.0.3.tar.gz
Algorithm Hash digest
SHA256 4a19b4bba6347635b5cda88e0cf9e266938c57648d1eeb629ff65745f4791b94
MD5 9ad5111340fe0cd388391b9f06d28e8d
BLAKE2b-256 8cfbd89762ed8ce174d896eec825646304df28f20ab2dcd13e131e4fcd6eeff3

See more details on using hashes here.

File details

Details for the file bnlp_toolkit-4.0.3-py3-none-any.whl.

File metadata

  • Download URL: bnlp_toolkit-4.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for bnlp_toolkit-4.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dda244b9f97f4e8cec501deb2ae7a0c4aa85a3ca91910cb3dc850b4c9bee66c7
MD5 cfda69c0e84ebf330eb7ee31451fbe2e
BLAKE2b-256 71ef519a0f9b66086db2e6e2404d5bd7754c8286d3308fee48d81fd23a5819c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page