Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created March 4, 2020 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prateekjoshi565/415e70274db3e808706ceede44d7f00c to your computer and use it in GitHub Desktop.
Save prateekjoshi565/415e70274db3e808706ceede44d7f00c to your computer and use it in GitHub Desktop.
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