File size: 150 Bytes
8765030
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import gensim.downloader

model = gensim.downloader.load("glove-wiki-gigaword-50")


def get_embedding(word):
    global model
    return model[word]