Kyubyong / wordvectors

Pre-trained word vectors of 30+ languages
MIT License
2.22k stars 393 forks source link

Read word2vec in Pyhton 2.7 #15

Closed anavaldi closed 6 years ago

anavaldi commented 6 years ago

How can I read the word2vec files in Python 2.7?

brun0xff commented 6 years ago

check this link https://radimrehurek.com/gensim/models/word2vec.html

anavaldi commented 6 years ago

I mean how can I read the word2vec files of the language files: https://drive.google.com/file/d/0B0ZXk88koS2KYkd5OVExR3o1V1k/view

anavaldi commented 6 years ago

path = 'data\ca.bin' word_vectors = KeyedVectors.load(path)