Created
January 10, 2020 07:10
-
-
Save mohdsanadzakirizvi/b3f2246d8a3a56c3d9fa2a04be17aba2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from indicnlp.transliterate.unicode_transliterate import UnicodeIndicTransliterator | |
# Input text "Today the weather is good. Sun is bright and there are no signs of rain. Hence we can play today." | |
input_text='आज मौसम अच्छा है। सूरज उज्ज्वल है और बारिश के कोई संकेत नहीं हैं। इसलिए हम आज खेल सकते हैं!' | |
# Transliterate from Hindi to Telugu | |
print(UnicodeIndicTransliterator.transliterate(input_text,"hi","te")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment