...

/

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.

We'll cover the following...
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]

Question 1 of 60 attempted
Access this course and 1400+ top-rated courses and projects.