Skip to main content

A Python module for generating Bangla IPA transliterations.

Project description

BanglaToIPA Conversion

BanglaToIPA is a Python package designed to transcribe Bengali words into the International Phonetic Alphabet (IPA). This tool simplifies the pronunciation of Bengali words, making it easier for people worldwide who are familiar with IPA to accurately pronounce them.

Installation

You can install the BanglaToIPA package using pip:

pip install bangla-ipa

File Structure

bangla_ipa/
├── bangla_ipa/
│   ├── __init__.py
│   ├── ipa.py
├── model/
│   ├── __init__.py
│   ├── ipa_model.pth
├── data/
│   ├── __init__.py
│      ├── ipa_vocab_data.csv
├── script/
│      ├── __init__.py
│      ├── translator.py
├── tests/
│      ├── __init__.py
│      ├── test_bangla_ipa.py
├── __init__.py
├── .gitignore
├── LICENSE
├── setup.py
├── README.md
└── requirements.txt

Usage

Here's an example of how to use the BanglaDictionary package:

# Create an instance of the BanglaDictionary
from bangla_ipa.ipa import BanglaIPATranslator
ipa = BanglaIPATranslator()

# Get the meaning of a word
translated_ipa = ipa.translate("মহারাজ") # Output: "mɔharaɟ"

Data Source

The data used by the BanglaToIPA package is sourced from private annotated corpus for bengali letters and their appropriate form of IPA. It is carefully curated and validated from multiple resources before training and generating the model for transcribing IPA for bengali words.

Contributing

If you find any issues or would like to contribute to the BanglaToIPA package, please feel free to open an issue or submit a pull request on the GitHub repository. Feel free to create issues to contact.

License

The BanglaToIPA package is released under the MIT License. You are free to use, modify, and distribute this package in your own projects.

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

bangla_ipa-1.0.tar.gz (24.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bangla_ipa-1.0-py3-none-any.whl (24.0 MB view details)

Uploaded Python 3

File details

Details for the file bangla_ipa-1.0.tar.gz.

File metadata

  • Download URL: bangla_ipa-1.0.tar.gz
  • Upload date:
  • Size: 24.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for bangla_ipa-1.0.tar.gz
Algorithm Hash digest
SHA256 65dfa43592ba888b9a90f8cf8e35efc0ec320275ae41fd10453130770d2d0cb0
MD5 d9591e286d938963fee6d53ed4fdb60b
BLAKE2b-256 2661d214569ab5faf9b799cdb2cb0a56eb3fff76da18abca75bc57c759d8d830

See more details on using hashes here.

File details

Details for the file bangla_ipa-1.0-py3-none-any.whl.

File metadata

  • Download URL: bangla_ipa-1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for bangla_ipa-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c0de7ec3c0f8ec1e9d50c1b4ef740654847fbc403c45ff1055f41c13926c226
MD5 087e33f5a5288dc414958448446342a6
BLAKE2b-256 1466119772ace3cd207c7041ac17ed3d11d8271e3a7503948240f1738cf52ad0

See more details on using hashes here.

Supported by

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