cfiltnlp/pyiwn

UnicodeDecodeError

satishkrr opened this issue · 7 comments

hi when i execute this code
iwn = pyiwn.IndoWordNet()

im getting this error
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 16: character maps to

could you help out pls

thanks

i am also facing the same issue.
Can anyone please help to solve this?

The iwn.py file needs to be modified..... I am able to do the modification locally and read the synsets

Modify the iwn.py file.
At line 50, do => f = open(filename, encoding='uf8')

for the command
iwn = pyiwn.IndoWordNet()

im getting this error
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 16: character maps to

could you help out pls

thanks

The iwn.py file needs to be modified..... I am able to do the modification locally and read the synsets

The iwn.py file needs to be modified..... I am able to do the modification locally and read the synsets

Sir, How you have resolved this issue locally....please help me for Marathi Language

The iwn.py file needs to be modified..... I am able to do the modification locally and read the synsets

can you please help me how to modify iwn.py as i'm facing the same issue for KASHMIRI language

Hi, please install the latest version, clone the repo, cd into repo root and run python setup.py install