polyglot
polyglot copied to clipboard
polyglot download embeddings2.en pos2.en giving error
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
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.
Thanx
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