Skip to content

Instantly share code, notes, and snippets.

@mohdsanadzakirizvi
Created January 10, 2020 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohdsanadzakirizvi/72d0532617ca10e0835ac78712ff3dfd to your computer and use it in GitHub Desktop.
Save mohdsanadzakirizvi/72d0532617ca10e0835ac78712ff3dfd to your computer and use it in GitHub Desktop.
from indicnlp.transliterate.unicode_transliterate import ItransTransliterator
input_text='आज मौसम अच्छा है। इसलिए हम आज खेल सकते हैं!'
# Transliterate Hindi to Roman
print(ItransTransliterator.to_itrans(input_text, 'hi'))
@Pankti99
Copy link

hello , i also faced same issue. you can check here ,this worked for me:

anoopkunchukuttan/indic_nlp_library#35 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment