skip to navigation
skip to content

indic-transliteration 1.5.2

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

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
    
 
File Type Py Version Uploaded on Size
indic_transliteration-1.5.2-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-08-25 34KB