Skip to main content

Transliterations to/from Indian languages

Project description Documentation Status

Transliterations to/from Indian languages are still generally low quality. One problem is access to data. Another is that there is no standard transliteration. For Hindi–English, we build novel dataset for names using the ESPNcricinfo. For instance, see here for hindi version of the english scorecard. We also create a dataset from election affidavits We also exploit the Google Dakshina dataset.

To overcome the fact that there isn’t one standard way of transliteration, we provide k-best transliterations.


We strongly recommend installing indicate inside a Python virtual environment (see venv documentation)

pip install indicate

General API

  1. transliterate.hindi2english will take Hindi text and translate into English.


from indicate import transliterate
english_translated = transliterate.hindi2english("हिंदी")

output - hindi


We expose 1 function, which will take Hindi text and transliterate it to English.

  • transliterate.hindi2english(input)

    • What it does:

      • Converts given hindi text into English alphabet

    • Output

      • Returns text in English


The datasets used to train the model:


Model was evaluated on test dataset of Google Dakshina dataset, Model predicted 73.64% exact matches. Indic-trans predicted 63.12% exact matches on Google Dakshina dataset. Below is the edit distance metrics on test dataset (0.0 mean exact match, the farther away from 0.0, the difference is more between predicted text and actual text)

Edit distance metrics of model on Google Dakshina test dataset


Rajashekar Chintalapati and Gaurav Sood

Contributor Code of Conduct

The project welcomes contributions from everyone! In fact, it depends on it. To maintain this welcoming atmosphere, and to collaborate in a fun and productive way, we expect contributors to the project to abide by the Contributor Code of Conduct.


The package is released under the MIT 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

indicate-0.1.0.tar.gz (66.8 MB view hashes)

Uploaded Source

Built Distribution

indicate-0.1.0-py2.py3-none-any.whl (66.8 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page