11

Is there a python library for transliterating Hindi to English?

e.g. "खाया" should be converted to "khaya"

jtlz2
  • 7,700
  • 9
  • 64
  • 114
Palash Kumar
  • 429
  • 6
  • 18

1 Answers1

15

The less crappy transcoder I know of is sanscript. It is intended to transliterate Sanskrit text, but is of course also suited for Hindi, as they both use the Nagari notation. There are some issues in the code, and it does not do any validation of the input, but it has a large choice of scripts (not only Nagari).

michaelmeyer
  • 7,985
  • 7
  • 30
  • 36