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)
| File | Size | Uploaded | |
|---|---|---|---|
| pybharphonetic-1.1.tar.gz | 79.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|