aboSamoor / polyglot

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

fix args.func bug in Python3 #199

Closed Proteusiq closed 5 years ago

Proteusiq commented 5 years ago

In Python 3.x there exits bug with arg parser if no arguments are passed on terminal https://bugs.python.org/issue16308

This fix catches that error and notifies that the issue is with too little argument.