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.

Documentation

Full documentation are available here

If you are using previous version of bnlp check the document archive

Features

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: ["আমি", "বাংলায়", "গান", "গাই", "।"]

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.0.dev3.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file bnlp_toolkit-4.0.0.dev3.tar.gz.

File metadata

  • Download URL: bnlp_toolkit-4.0.0.dev3.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

Hashes for bnlp_toolkit-4.0.0.dev3.tar.gz
Algorithm Hash digest
SHA256 204b4758755107000cd5720c58764f340c62ebbfd2ef6f5f5807519dfb5b33e4
MD5 25a1bc3f901bcd5ac626e311a432a9d5
BLAKE2b-256 fb7c49b76eec95fd70fab29530c483ed77748b605a2e6274b5937ffadb064200

See more details on using hashes here.

File details

Details for the file bnlp_toolkit-4.0.0.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for bnlp_toolkit-4.0.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 5a202f681df8078f52733f9daae26cad404d031f8f426adc9ab6e3baf68d6dbc
MD5 3f1540cb9a179c6b0fac49adb8514df4
BLAKE2b-256 9d8e22a618b7b6e4cecb805e81d97ecf05a183bc0fe64f5f4ea3d2f0520f871f

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