Skip to main content

English to Indic language phonetic conversion engine

Project description

Documentation Status Build Status

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

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

dhwani-0.0.3.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

dhwani-0.0.3-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file dhwani-0.0.3.tar.gz.

File metadata

  • Download URL: dhwani-0.0.3.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for dhwani-0.0.3.tar.gz
Algorithm Hash digest
SHA256 17d7bb9bf065e362f4a21a00f59e70e39f92343f68057a4a39161d28c0ec4838
MD5 3a75e077023a0748f388d52f67158218
BLAKE2b-256 8bfe88fcfd184946181f9f99ba3a031abbc7161889435c56e126b55e8bd4fd96

See more details on using hashes here.

File details

Details for the file dhwani-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dhwani-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for dhwani-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2015f0baa0a1a18c8749260010b6a9edc9ed994ba3e6d933bb93e7bcb1beb701
MD5 968dfc1cc5b2067a605ca923a7f79776
BLAKE2b-256 363ae0bc2c28dbb83752835a92d116a584d3d2a43756c7494af8b61981571511

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