Open chikiuso opened 8 years ago
Oh I got it solved, it is because of the difference between traditional and simplified chinese, thanks.
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.
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 ?
ValueError: Package 'sentiment2.un' not found in index is there anyone who know what the problem is ?
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..
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?
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.