aboSamoor / polyglot

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

Setting the data directory using "polyglot download" fails for upper case paths #179

Open TrigonaMinima opened 5 years ago

TrigonaMinima commented 5 years ago

When you try to set the path using the polyglot download options and provide a path having upper case letters, it prints back the whole path in lower case saying the directory doesn't exist. As it's a completely different path, obviously, it wont be there.

The workaround for me was to set the POLYGLOT_DATA_PATH environment variable to my required path.