Skip to main content

pybharphonetic

Python implementation of the any Indian language to phonetic software.

New:

Reverse conversion from language to phonetic support at present added for below languages only:

  • hindi
  • bengali

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",
"bn-rev": "bengali_reverse",
"hn-rev": "hindi_reverse"

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")

:: >>> from pybharphonetic import bharphonetic >>> bharphonetic.parse("केसे हो?", language="hn-rev")

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.

Release files for pybharphonetic 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybharphonetic 1.1
File Size Uploaded
pybharphonetic-1.1.tar.gz 79.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pybharphonetic 1.1
File Interpreter ABI Platform
pybharphonetic-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 172.5 kB

Release files / pybharphonetic-1.1.tar.gz

Download URL pybharphonetic-1.1.tar.gz
Size 79.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2d33073e1040bdc806b18f4deb03516a0e6f259e482c5f30767598573a64525f
BLAKE2b-256 checksum
How to use checksums
f6470a9ea60643ec6b7aa61aed37e9ea718470ba4779a6ef673433f11daf5439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release files / pybharphonetic-1.1-py3-none-any.whl

Download URL pybharphonetic-1.1-py3-none-any.whl
Size 93.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44069c059f0dc1c770fb9c9682981832bc9ab8297c569723b2c8bb22e4d16db1
BLAKE2b-256 checksum
How to use checksums
c56bc2e18884616d5c77af1fdab3ced78233274c0b3eaf0fd7ea0be9588a1fbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page