aboSamoor / polyglot

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

ValueError: Package 'embeddings2.zh_Hant' not found in index #65

Open chikiuso opened 8 years ago

chikiuso commented 8 years ago

Hello, I download the embeddings2.zh model and trying to get the entities of Chinese but failed, got this error message :

ValueError: Package 'embeddings2.zh_Hant' not found in index

How could I solve it? thanks.

chikiuso commented 8 years ago

Oh I got it solved, it is because of the difference between traditional and simplified chinese, thanks.

greygepps commented 6 years ago

Could you share your method for solving this issue?

I'm getting a similar error message: ValueError: Package 'sentiment2.zh_Hant' not found in index

I have downloaded all chinese related libraries I could find via the polyglot downloader, all sentiment models, and tried to update all out-of-date packages availabe through the downloader's update function.

So, far no luck. Polyglot downloader still lists chinese packages as out-of-date or corrupted.

Dellen commented 5 years ago

I was trying to get the Chinese word vector, got this problem

ValueError: Package 'sgns2.zh_Hant' not found in index

is there anyone who know what the problem is ?

hilalMubarrak commented 4 years ago

ValueError: Package 'sentiment2.un' not found in index is there anyone who know what the problem is ?

FavorMylikes commented 3 years ago

I wrote this code to test

text = Text("很高兴认识你")
print(text.language)  #  code = zh
text = Text("你好啊朋友") 
print(text.language)  # code = zh_Hant
print(text.words,text.polarity)  # raise error here

And polyglot does not support for zh_Hant. so..

tatashbar commented 3 years ago

Oh I got it solved, it is because of the difference between traditional and simplified chinese, thanks.

Have the same problem. What was your solution?