Skip to main content

Python implementation to convert Indic languages to phonetic

Project description

pybharphonetic

Python implementation of the any Indian language to phonetic software

License

Copyright (C) 2023 Subrata Sarkar subrtosarkar32@gmail.com.

::

This file is part of pybharphonetic.

pybharphonetic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

pybharphonetic is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with pyhinavrophonetic. If not, see <http://www.gnu.org/licenses/>.

The full license text can be found in LICENSE.

Usage

::

  from pybharphonetic import bharphonetic
  bharphonetic.parse("kese hO?", language="hn")

Supported Languages

::

"hn": "hindi",
"bn": "bengali",
"as": "assamese",
"bd": "bodo",
"dg": "dogri",
"gj": "gujrati",
"kn": "kannada",
"ks": "kashmiri",
"kon": "konkani",
"mai": "maithili",
"mal": "malayalam",
"man": "manipuri",
"mar": "marathi",
"nep": "nepali",
"odi": "odia",
"pun": "punjabi",
"sak": "sanskrit",
"san": "santhali",
"sin": "sindhi",
"tam": "tamil",
"tel": "telugu",
"urd": "urdu"

Overview

Python implementation of the english phonetic to any Indian language software

Installation

Using Git:

::

$ git clone https://github.com/SubrataSarkar32/pybharphonetic
$ cd pybharphonetic
$ sudo python3 setup.py install

Using Pip:

::

$ sudo pip install pybharphonetic

Usage

At present only a subset of features have been implemented. When implemented, the parser can be accessed as:

::

>>> from pybharphonetic import bharphonetic
>>> bharphonetic.parse("kese hO?", language="hn")

Contributing

Fork -> Do your changes -> Send a Pull Request. It's that easy!

Coding style follows PEP 8_ along with PEP 257_ for Docstring conventions.

Also, if you find any bugs, please report them in the Issues queue. As always, before you report any new issue, please check that it has not been already posted by someone else.

Below is license of pyAvroPhonetic from which it has been derived:

pyhinavrophonetic

Python implementation of the Hindi phonetic-typing software

License

Copyright (C) 2016 Subrata Sarkar subrtosarkar32@gmail.com.

::

This file is part of pyhinavrophonetic.

pyhinavrophonetic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

pyhinavrophonetic is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with pyhinavrophonetic. If not, see <http://www.gnu.org/licenses/>.

The full license text can be found in LICENSE.

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

pybharphonetic-1.0.5.tar.gz (78.0 kB view details)

Uploaded Source

Built Distribution

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

pybharphonetic-1.0.5-py3-none-any.whl (88.3 kB view details)

Uploaded Python 3

File details

Details for the file pybharphonetic-1.0.5.tar.gz.

File metadata

  • Download URL: pybharphonetic-1.0.5.tar.gz
  • Upload date:
  • Size: 78.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for pybharphonetic-1.0.5.tar.gz
Algorithm Hash digest
SHA256 2890e77e458048d052fda1d49ef216d952fab78043fc1bb7addaef02f25e5745
MD5 a122b3593f2845afe061f70968a5a429
BLAKE2b-256 6d17757550e746473a66b8bafcc8da3f492720cbc5aa63fff0273066982e0979

See more details on using hashes here.

File details

Details for the file pybharphonetic-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: pybharphonetic-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 88.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for pybharphonetic-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee0a3b3833d455b433e7be93e03376edf75d232781bb2c18057e6012ce5c6471
MD5 88c82939cbd813a0766f83df9766e08e
BLAKE2b-256 f312611438eae86a1829ac731a2172f069814bf5f76abec656b1f17277df52f6

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