Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created March 4, 2020 07:44
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