Convert - Method

Method to transliterate word from one script to another.

Getting Started

Convert function performs the task of transliteration, from one script to another. This is built on top of indic-transliteration library.

Example
# coding:utf-8
from indicLP.transliterate import Transliterate

hi2ta = Transliterate("hi","ta")
print(hi2ta.convert("आदमी"))
# Output is ஆதமீ

en2hi = Transliterate("en","hi")
print(en2hi.convert("aadamii"))
# Output is आदमी

Input Arguments

Following are the input arguments to be provided while using convert method:

  • data: A string representing the word which has to be transliterated.

Reference Materials

Following are some reference materials for Convert Method