# 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:
```shell
pip install bangla-ipa
```
## File Structure
```sh
IPA/
├── ipa/
│ ├── __init__.py
│ ├── ipa.py
├── model/
│ ├── ipa_model.pth
├── data/
│ │ ├── ipa_vocab_data
├── 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:
```python
# Create an instance of the BanglaDictionary
from 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/bipsec/IPA-PyPI",
"name": "bangla-ipa",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "python, IPA, Bangla IPA, International Phonetic Alphabet, Bangla linguistics, transliteration",
"author": "Biplab Kumar Sarkar, Afrar Jahin, Asif Shusmit",
"author_email": "bip.sec22@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/16/b4/17b0e36928ae58a1698d337fb9d1823b32752a569de3d46f9d5b5b99c509/bangla_ipa-0.1.tar.gz",
"platform": null,
"description": "# BanglaToIPA Conversion\r\n\r\nBanglaToIPA 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.\r\n## Installation\r\n\r\nYou can install the BanglaToIPA package using pip:\r\n\r\n```shell\r\npip install bangla-ipa\r\n```\r\n\r\n## File Structure\r\n```sh\r\nIPA/\r\n\u251c\u2500\u2500 ipa/\r\n\u2502 \u251c\u2500\u2500 __init__.py\r\n\u2502 \u251c\u2500\u2500 ipa.py\r\n\u251c\u2500\u2500 model/\r\n\u2502 \u251c\u2500\u2500 ipa_model.pth\r\n\u251c\u2500\u2500 data/\r\n\u2502 \u2502 \u251c\u2500\u2500 ipa_vocab_data\r\n\u251c\u2500\u2500 script/\r\n\u2502 \u2502 \u251c\u2500\u2500 __init__.py\r\n\u2502 \u2502 \u251c\u2500\u2500 translator.py\r\n\u251c\u2500\u2500 tests/\r\n\u2502 \u2502 \u251c\u2500\u2500 __init__.py\r\n\u2502 \u2502 \u251c\u2500\u2500 test_bangla_ipa.py\r\n\u251c\u2500\u2500 __init__.py\r\n\u251c\u2500\u2500 .gitignore\r\n\u251c\u2500\u2500 LICENSE\r\n\u251c\u2500\u2500 setup.py\r\n\u251c\u2500\u2500 README.md\r\n\u2514\u2500\u2500 requirements.txt\r\n```\r\n\r\n\r\n## Usage\r\n\r\nHere's an example of how to use the BanglaDictionary package:\r\n\r\n```python\r\n# Create an instance of the BanglaDictionary\r\nfrom ipa.ipa import BanglaIPATranslator\r\nipa = BanglaIPATranslator()\r\n\r\n# Get the meaning of a word\r\ntranslated_ipa = ipa.translate(\"\u09ae\u09b9\u09be\u09b0\u09be\u099c\") # Output: \"m\u0254hara\u025f\"\r\n```\r\n\r\n## Data Source\r\n\r\nThe 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.\r\n\r\n## Contributing\r\nIf 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.\r\n\r\n\r\n## License\r\nThe BanglaToIPA package is released under the MIT License. You are free to use, modify, and distribute this package in your own projects.\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python module for generating Bangla IPA transliterations.",
"version": "0.1",
"project_urls": {
"Homepage": "https://github.com/bipsec/IPA-PyPI"
},
"split_keywords": [
"python",
" ipa",
" bangla ipa",
" international phonetic alphabet",
" bangla linguistics",
" transliteration"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9ebd1c0ad08a6d234295559418c3d4664282acc8f0815cf1b31555254082a4d3",
"md5": "6d1bd770c33fb9887c0048ff36b2d5bb",
"sha256": "708885d6d232ffc5b50496ac5beab3946c5993ae8c347479ee30032f8961c95a"
},
"downloads": -1,
"filename": "bangla_ipa-0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6d1bd770c33fb9887c0048ff36b2d5bb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 21755015,
"upload_time": "2024-12-20T01:51:57",
"upload_time_iso_8601": "2024-12-20T01:51:57.673753Z",
"url": "https://files.pythonhosted.org/packages/9e/bd/1c0ad08a6d234295559418c3d4664282acc8f0815cf1b31555254082a4d3/bangla_ipa-0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "16b417b0e36928ae58a1698d337fb9d1823b32752a569de3d46f9d5b5b99c509",
"md5": "038f41b98a915d5bd56f4c4f897c022e",
"sha256": "5bac1450df9107bb439facd23981fdc731e0478cc4dbf706ec55fa6e23c60bd7"
},
"downloads": -1,
"filename": "bangla_ipa-0.1.tar.gz",
"has_sig": false,
"md5_digest": "038f41b98a915d5bd56f4c4f897c022e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 23971602,
"upload_time": "2024-12-20T01:52:13",
"upload_time_iso_8601": "2024-12-20T01:52:13.855322Z",
"url": "https://files.pythonhosted.org/packages/16/b4/17b0e36928ae58a1698d337fb9d1823b32752a569de3d46f9d5b5b99c509/bangla_ipa-0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-20 01:52:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bipsec",
"github_project": "IPA-PyPI",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "certifi",
"specs": [
[
"==",
"2024.8.30"
]
]
},
{
"name": "chardet",
"specs": [
[
"==",
"3.0.4"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.3.2"
]
]
},
{
"name": "colorama",
"specs": [
[
"==",
"0.4.6"
]
]
},
{
"name": "docutils",
"specs": [
[
"==",
"0.21.2"
]
]
},
{
"name": "filelock",
"specs": [
[
"==",
"3.15.4"
]
]
},
{
"name": "fsspec",
"specs": [
[
"==",
"2024.9.0"
]
]
},
{
"name": "googletrans",
"specs": [
[
"==",
"3.0.0"
]
]
},
{
"name": "h11",
"specs": [
[
"==",
"0.9.0"
]
]
},
{
"name": "h2",
"specs": [
[
"==",
"3.2.0"
]
]
},
{
"name": "hpack",
"specs": [
[
"==",
"3.0.0"
]
]
},
{
"name": "hstspreload",
"specs": [
[
"==",
"2024.9.1"
]
]
},
{
"name": "httpcore",
"specs": [
[
"==",
"0.9.1"
]
]
},
{
"name": "httpx",
"specs": [
[
"==",
"0.13.3"
]
]
},
{
"name": "hyperframe",
"specs": [
[
"==",
"5.2.0"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"2.10"
]
]
},
{
"name": "jaraco.classes",
"specs": [
[
"==",
"3.4.0"
]
]
},
{
"name": "jaraco.context",
"specs": [
[
"==",
"6.0.1"
]
]
},
{
"name": "jaraco.functools",
"specs": [
[
"==",
"4.1.0"
]
]
},
{
"name": "Jinja2",
"specs": [
[
"==",
"3.1.4"
]
]
},
{
"name": "keyring",
"specs": [
[
"==",
"25.5.0"
]
]
},
{
"name": "markdown-it-py",
"specs": [
[
"==",
"3.0.0"
]
]
},
{
"name": "MarkupSafe",
"specs": [
[
"==",
"2.1.5"
]
]
},
{
"name": "mdurl",
"specs": [
[
"==",
"0.1.2"
]
]
},
{
"name": "more-itertools",
"specs": [
[
"==",
"10.5.0"
]
]
},
{
"name": "mpmath",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "networkx",
"specs": [
[
"==",
"3.3"
]
]
},
{
"name": "nh3",
"specs": [
[
"==",
"0.2.20"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"2.1.1"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"24.2"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"2.2.2"
]
]
},
{
"name": "pkginfo",
"specs": [
[
"==",
"1.12.0"
]
]
},
{
"name": "Pygments",
"specs": [
[
"==",
"2.18.0"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
"==",
"2.9.0.post0"
]
]
},
{
"name": "pytz",
"specs": [
[
"==",
"2024.1"
]
]
},
{
"name": "pywin32-ctypes",
"specs": [
[
"==",
"0.2.3"
]
]
},
{
"name": "readme_renderer",
"specs": [
[
"==",
"44.0"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.32.3"
]
]
},
{
"name": "requests-toolbelt",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "rfc3986",
"specs": [
[
"==",
"1.5.0"
]
]
},
{
"name": "rich",
"specs": [
[
"==",
"13.9.4"
]
]
},
{
"name": "sentencepiece",
"specs": [
[
"==",
"0.2.0"
]
]
},
{
"name": "setuptools",
"specs": [
[
"==",
"74.1.2"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "sniffio",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "sympy",
"specs": [
[
"==",
"1.13.2"
]
]
},
{
"name": "torch",
"specs": [
[
"==",
"2.4.1"
]
]
},
{
"name": "torchdata",
"specs": [
[
"==",
"0.7.1"
]
]
},
{
"name": "torchtext",
"specs": [
[
"==",
"0.6.0"
]
]
},
{
"name": "tqdm",
"specs": [
[
"==",
"4.66.5"
]
]
},
{
"name": "twine",
"specs": [
[
"==",
"6.0.1"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.12.2"
]
]
},
{
"name": "tzdata",
"specs": [
[
"==",
"2024.1"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.2.2"
]
]
}
],
"lcname": "bangla-ipa"
}