Blank spaces

Report a typo

We try to load the pre-trained Word2Vec model from NLTK below. However, we forgot which methods we can use to access the model from NLTK and load the word vectors. In the code below, enter the names of these methods instead of '_____'.

Write a program in Python 3
import gensim
from nltk.data import find

word2vec_sample = _____('models/word2vec_sample/pruned.word2vec.txt')
w2v_model = gensim.models.KeyedVectors._____(word2vec_sample, binary=False)
___

Create a free account to access the full topic