Dhwani
English to Indic language phonetic conversion engine. Read more about the project here.
Installation
Dhwani is currently not stable. However, the developmental release is avalibale at PyPI.
Installing from PyPI
$ pip install dhwani
Installing from sources
$ git clone https://github.com/ndyashas/Dhwani.git
$ cd Dhwani
$ pip install -r requirements.txt
$ pip install -e .
Example
An example of converting from English to Kannada is shown here.
# Import the main converter class
from dhwani import Converter
# Make a converter object. The first argument is the
# ISO 639-3 code of the source language, and the second
# argument is the ISO 639-3 code of the destination language.
converter = Converter('eng', 'kan')
src_string = "kannaDa"
# Use the 'convert' method of converter object to get the converter
# string back.
dest_string = converter.convert(src_string)
# Print the result
# Note that the display for standard output needs to support the unicode
# characters.
print(dest_string)
# output > ಕನ್ನಡ
Currently supported conversions
- English to Kannada
- English to Devnagari
- English to Tamil
Metadata
Release files for dhwani 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dhwani-0.0.3.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dhwani-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.4 kB
Release files / dhwani-0.0.3.tar.gz
| Download URL | dhwani-0.0.3.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17d7bb9bf065e362f4a21a00f59e70e39f92343f68057a4a39161d28c0ec4838
|
|
BLAKE2b-256 checksum How to use checksums |
8bfe88fcfd184946181f9f99ba3a031abbc7161889435c56e126b55e8bd4fd96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
|
Release files / dhwani-0.0.3-py3-none-any.whl
| Download URL | dhwani-0.0.3-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2015f0baa0a1a18c8749260010b6a9edc9ed994ba3e6d933bb93e7bcb1beb701
|
|
BLAKE2b-256 checksum How to use checksums |
363ae0bc2c28dbb83752835a92d116a584d3d2a43756c7494af8b61981571511
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
|