New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transliteration not working #35
Comments
Use 'ml' as the language code. IndicNLP library uses 2-letter ISO language codes |
I checked you colab notebook. You need to add these: from indicnlp import loader and call loader.load() before invoking any API operations |
Thanks for your help it is working now . I am closing this issue |
Hi! The above
Hi, this seems to resolve the problem with ml and even with hindi. But, it's not working with bengali. Any help from your side would be appreciated! |
Can anyone provide the working code of transliteration please |
Python version: 3.8.9
pip install indic-nlp-library
git clone https://github.com/anoopkunchukuttan/indic_nlp_resources.git
`import sys
from indicnlp import common
INDIC_NLP_RESOURCES=r"/home/user/indic_nlp_resources"
common.set_resources_path(INDIC_NLP_RESOURCES)
from indicnlp.transliterate.unicode_transliterate import ItransTransliterator
input_text='അടിക്ക് മോനെ'
print(ItransTransliterator.to_itrans(input_text, 'mal'))`
അടിക്ക് മോനെ
I tried both in my local PC and in colab, but the api is not transliterating
colab
The text was updated successfully, but these errors were encountered: