Get startedGet started for free

Word vectors with a given vocabulary

You have been given a corpus of documents and you have computed the vocabulary of the corpus to be the following: V: a, an, and, but, can, come, evening, forever, go, i, men, may, on, the, women

Which of the following corresponds to the bag of words vector for the document "men may come and men may go but i go on forever"?

This exercise is part of the course

Feature Engineering for NLP in Python

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise