1. 학습
  2. /
  3. 강의
  4. /
  5. Feature Engineering for NLP in Python

Connected

연습 문제

Generating word vectors

In this exercise, we will generate the pairwise similarity scores of all the words in a sentence. The sentence is available as sent and has been printed to the console for your convenience.

지침

100 XP
  • Create a Doc object doc for sent.
  • In the nested loop, compute the similarity between token1 and token2.