Natural Language Processing with Python Updated EditionChapter 45
Code Implementation
Section 5 of 8-~ 1 min read-Synced from Cuantum content
- Which of the following is the correct way to initialize a CountVectorizer in Python?
a) vectorizer = CountVectorizer(input='data')b) vectorizer = CountVectorizer()c) vectorizer = CountVectorizer(mode='text')d) vectorizer = CountVectorizer(transform=True) 1. Which method is used to obtain the most similar words to a given word using a GloVe model in Gensim? a) model.get_similar()
b) model.similarity()
c) model.most_similar()
d) model.find_similar()