Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
doc = nlp("Indians spent over $71 billion on clothes in 2018")
for ent in doc.ents:
print(ent.text, ent.label_)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment