aboSamoor / polyglot

Multilingual text (NLP) processing toolkit
http://polyglot-nlp.com
Other
2.31k stars 337 forks source link

setup file is incompatible with python 2 #119

Closed Dobatymo closed 6 years ago

Dobatymo commented 7 years ago
    with open('README.rst', encoding="utf-8") as readme_file:
TypeError: 'encoding' is an invalid keyword argument for this function

io.open would be compatible with python 2 and 3

sorry, https://github.com/aboSamoor/polyglot/issues/117 seems to be the same