Skip to main content

Transliteration tools to convert text in one indic script encoding to another

Project description

Indic transliteration tools

For users

For detailed examples and help, please see individual module files in this package.

Installation or upgrade:

  • sudo pip2 install indic_transliteration -U

  • Web.

Transliteration

from indic_transliteration import sanscript
output = sanscript.transliterate('idam adbhutam', sanscript.HK, sanscript.DEVANAGARI)
sanscript.transliterate(u"गच्छ",sanscript.DEVANAGARI, sanscript.HK)

Scripts supported: devanagari tamil malayalam telugu gurumukhi gujarati bengali oriya Harvard-Kyoto IAST (aka Roman-Unicode) SLP1 WX

Script detection

detect.py automatically detects a string’s transliteration scheme:

from indic_transliteration import detect
detect.detect('pitRRIn') == Scheme.ITRANS
detect.detect('pitRRn') == Scheme.HK

For contributors

Contact

Have a problem or question? Please head to github.

Packaging

  • ~/.pypirc should have your pypi login credentials.

    python setup.py bdist_wheel
    twine upload dist/* --skip-existing

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

indic_transliteration-1.5.2-py2.py3-none-any.whl (35.3 kB 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