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

indic_tokenize #14

Closed hlsrekha closed 6 years ago

hlsrekha commented 6 years ago

hai, I'm trying to use indic_tokenize. I got he following message. Im using Python 3.6

File "C:/Users/CS-14/Anaconda3/lib/site-packages/indicnlp/tokenize/indic_tokenize.py", line 27 triv_tokenizer_indic_pat=re.compile(ur'(['+string.punctuation+ur'\u0964\u0965'+ur'])') ^ SyntaxError: invalid syntax. Can you help to get rid of this error. Thanks

anoopkunchukuttan commented 6 years ago

The library currently works with Python 2.X only. Python 3.X is not supported yet.