indic-transliteration / indic_transliteration_py

Python package for indic script transliteration
MIT License
165 stars 33 forks source link

transliteration of "borrowed consonants" #34

Closed Tokuno-soc closed 4 years ago

Tokuno-soc commented 4 years ago

Thank you for your convenient code.

I have a question about transliteration of "borrowed consonants" such as ज़ "za", फ़ "fa".etc. Using today's codes, these consonant is transliterated incorrectly like ज़ "ja़" , फ़"pha़".

Can you help me solve this problem?

My using code is below:

[1] from indic_transliteration import sanscript,xsanscript [2] from indic_transliteration.sanscript import SchemeMap, SCHEMES, transliterate [3] txt = फ़ोटो [4] print(transliterate(txt, sanscript.DEVANAGARI, sanscript.ITRANS)) pha़oTo [5] txt = तेज़ी [6] print(transliterate(txt, sanscript.DEVANAGARI, sanscript.ITRANS)) teja़I

vvasuki commented 4 years ago

Latest version should suffice.