Closed suman101112 closed 6 years ago
the problem is in parsed files of all.telugu and noun.telugu, The line is unable to split at ":", so we are getting index out of range exception. Just modified the files and deleted extra unnecessary tabs.
I have completely revamped the inner workings of the library and have fixed these issues. I would recommend you to do a full clean reinstall:
pip uninstall pyiwn pip install --upgrade pyiwn
And follow the steps in this examples notebook: https://github.com/riteshpanjwani/pyiwn/blob/master/examples/example.ipynb
Regards, Ritesh
Traceback (most recent call last): print(iwn.synsets('జ్వరం'),pos=pyiwn.NOUN) synset_data = utils.synset_data(sp, pos) examples = re.sub('"', '', gloss_examples_sp[1]).split(' / ') IndexError: list index out of range