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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bangla_ipa-1.0.1.tar.gz.
File metadata
- Download URL: bangla_ipa-1.0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93cc7d52c1c9225cbdcac7ad6872a06ea7d8534c0eef2265990570d65b8f8d4e
|
|
| MD5 |
b379131462d02762c0a7374aa07a4283
|
|
| BLAKE2b-256 |
e623fdb10793c1e81e58a0c3b2c96cc9bde48861bb735ea4f12cffbb75568373
|
File details
Details for the file bangla_ipa-1.0.1-py3-none-any.whl.
File metadata
- Download URL: bangla_ipa-1.0.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
853dd0d6c6868b4e329b1579af4cdff435fcb445f3d124ceb30ab14d7fce1afa
|
|
| MD5 |
2c5010a43ebd94393068cde0f68f8568
|
|
| BLAKE2b-256 |
cfacd3de477d2692f39bc95e881300d5353d8b0dbf68c3a1480e6d1ec3c5b762
|