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.2.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.2-py3-none-any.whl (24.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bangla_ipa-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e3df73dfcc396ae8d89d12e98d7249daeb4f58d13eb6e2d644bf93e79fecef11
MD5 6d792960380279ca7953ff73e5d52a61
BLAKE2b-256 edee2416c586dbe35ca0b03e2f73decf60761779ced3f86c35bc6bbc3bcf3fb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bangla_ipa-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 300e758ce19117e8458429f248ecf84408d2b8b1a86d07fba4554d785dbc4bed
MD5 b20a7d32fd42ddebf271d588cc8a76c3
BLAKE2b-256 962f576d4149a6cc8845452f1ff4ac6b0df49a1c1894ecded02b2486e2923a15

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