aboSamoor / polyglot

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

docs: Update installation notes to mention `pyicu` #182

Closed sjlongland closed 4 years ago

sjlongland commented 5 years ago

In issue #10, it was reported that polyglot will fail to load if pyicu is not installed. The installation documentation incorrectly names libicu-dev as the dependency required to satisfy this requirement.

Whilst we're here, give the equivalent commands for Python3 users on Debian/Ubuntu.

bsolomon1124 commented 4 years ago

I think that, in this same vein and note, it is also worth mentioning something like:

sudo apt-get install libicu-dev are the ICU development files; this install will successfully find a version for pkg-config --modversion icu-i18n, which is checked in the setup.py of pyicu.