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/
│      ├── 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-0.8.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

bangla_ipa-0.8-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bangla_ipa-0.8.tar.gz
Algorithm Hash digest
SHA256 5e02694dfb27b944782cb2deadd0dda7af7b386fb3c3eebd92e9176db4d8645b
MD5 d381984c6648d2778a3452a2177c296c
BLAKE2b-256 69528fc4a9c894c102935b982c0d46dc8abe6d08427af43e7fe99432386ff4b2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bangla_ipa-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c9601d8fa16dcd1d43bb241edee77f3e8cde1117bddbe88effc5def5eba9d657
MD5 2ff1b49bf0ba150bfa21dbeb06c0391e
BLAKE2b-256 e5d8a613499a53aeac1cb693eb8c8200c1ebac1e546dae9aa29362a18a0e0fff

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