Skip to main content

Tests Documentation

Bengali Romanizer

A learner-facing romanizer for standard Bangladeshi Bengali. It uses an expert-built pronunciation dictionary instead of deriving pronunciation from spelling alone.

Installation

pip install bengali-romanizer

Usage

>>> import bengali_romanizer
>>> bengali_romanizer.romanize('বাংলা')
'bangla'
>>> bengali_romanizer.romanize('নমস্কার')
'nômoshkar'
>>> bengali_romanizer.romanize('ধন্যবাদ')
'dhonnobad'
>>> bengali_romanizer.romanize('ভক্তি')
'bhokti'
>>> bengali_romanizer.romanize('আন্দোলন')
'andolon'
>>> bengali_romanizer.romanize('প্রাচীন')
'prachin'

The library romanizes a word only when its pronunciation is unambiguous in the bundled dictionary. It leaves unknown words and context-dependent homographs in Bengali rather than teaching a guessed pronunciation.

Reading the output

Most letters have their familiar Latin values. ô is the vowel in British English lot, æ is the vowel in cat, ng is the final sound in sing, and sh, ch, and chh distinguish Bengali consonants. Dots under ṭ and ḍ mark retroflex consonants. a never implies a long vowel.

Pronunciations come from Google's native-speaker-transcribed Bengali pronunciation dictionary, licensed under CC BY 4.0. The dictionary targets the standard language used in Bangladesh and was built for accurate pronunciation by beginning learners and speech systems.

Documentation

The API reference is generated from the public Python API and deployed by GitHub Actions.

Lines of Code

Lines of Code graph

Metadata

Release files for bengali-romanizer 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bengali-romanizer 0.2.1
File Size Uploaded
bengali_romanizer-0.2.1.tar.gz 514.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bengali-romanizer 0.2.1
File Interpreter ABI Platform
bengali_romanizer-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.0 MB

Release files / bengali_romanizer-0.2.1.tar.gz

Download URL bengali_romanizer-0.2.1.tar.gz
Size 514.8 kB
Tags Source
SHA-256 checksum
How to use checksums
86c86cc7c4ab3dce086a64d982fdf5fe5b5e003bfb8a87297f3c29b6157d0bc1
BLAKE2b-256 checksum
How to use checksums
4954b8c2d244cdf209d886c78f4d50e6511733f2d3c08201ad7c854b85b16cab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / bengali_romanizer-0.2.1-py3-none-any.whl

Download URL bengali_romanizer-0.2.1-py3-none-any.whl
Size 512.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4665c265d26b402b0df461ec6c9533e2ff98d94349ec2d940c3fc61ca814f415
BLAKE2b-256 checksum
How to use checksums
90994c0ba3977529cf58e9e6858ac5f6624f68aef4a4adf4a3add747723b846a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page