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-0.9.tar.gz (2.2 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-0.9-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bangla_ipa-0.9.tar.gz
Algorithm Hash digest
SHA256 fa3ab6e2d1a4f6538ae70e1ea56bce44cf2ddbf9f6eb91c055be133a9105f945
MD5 9e204222ba658dd866bee64da882b459
BLAKE2b-256 f935ea8589687c2897aded2fb4b47008216d389c959d349fad6f3949e68bed5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bangla_ipa-0.9-py3-none-any.whl
  • Upload date:
  • Size: 2.3 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-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7ff67428d11802fd643e557e3c33871b17bbed1f061839d1913a83a052487abd
MD5 2cdbce45e1f5ad6f590be07fc2432f0c
BLAKE2b-256 7c2c7b9236a21cf7b5a0cc4499344bd5ebb6425628c4b331382824af9bb5b102

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