aboSamoor / polyglot

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

polyglot download embeddings2.en pos2.en giving error #121

Open sai10 opened 7 years ago

sai10 commented 7 years ago

I am trying to download embeddings2.en , I am using the following command:

polyglot download embeddings2.en pos2.en

but it is showing the following error:

SyntaxError: invalid syntax

!polyglot download --help File "", line 1 !polyglot download --help ^ SyntaxError: invalid syntax

kevinj22 commented 6 years ago

Not sure if you figured it out, I had the same problem and this post solved it for me:

https://github.com/aboSamoor/polyglot/issues/5

It seems we need to import a downloader and download polyglot extensions with that.

sai10 commented 6 years ago

Thanx

priyanshgupta1998 commented 5 years ago

I'm working on google colab (python3.x) . But in my case everything is working fine. I used 3 commands. !polyglot download embeddings2.en !polyglot download pos2.en !polyglot download transliteration2.ru