anoopkunchukuttan / indic_nlp_library

Resources and tools for Indian language Natural Language Processing
http://anoopkunchukuttan.github.io/indic_nlp_library/
MIT License
549 stars 160 forks source link

python 3 compatibility changes #17

Closed erzaliator closed 5 years ago

erzaliator commented 5 years ago

Made changes so the script will run in python 3. These changes won't work for python 2. :)

anoopkunchukuttan commented 5 years ago

Thanks @erzaliator. I will check these sometime over the next few days to integrate them.

sdabhi23 commented 5 years ago

Hey @anoopkunchukuttan any plan to merge this pr? I want to use this library on python 3.6

anoopkunchukuttan commented 5 years ago

I have made Python 3 changes on a different branch (py3_compatibility) and merged them with master. Needed similar changes eto the one @erzaliator suggested in other files too, plus a few other changes. I have tested this on the examples in the notebook and updated the notebook too for Python 3. You can use the last Python 2 version using the tag 'PYTHON_2.7_FINAL_JAN_2019'.

@sdabhi23, if you find any issues while using - please let me know.