...

/

Quiz: Working with Word Vectors and Semantic Similarity

Quiz: Working with Word Vectors and Semantic Similarity

Let's test what you've learned so far.

Technical Quiz
1.

What will be the output of the following code?

import spacy
nlp = spacy.load("en_core_web_md")
doc = nlp("Humpty Dumpty sat on a wall")
print(list(doc.noun_chunks))
A.

[wall]

B.

[‘Humpty Dumpty’, ‘wall’]

C.

[Humpty Dumpty, wall]

D.

[Humpty Dumpty, a wall]


1 / 6