Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created September 23, 2019 05:28
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/192462283af8c4e1124c331d753c2f82 to your computer and use it in GitHub Desktop.
Save prateekjoshi565/192462283af8c4e1124c331d753c2f82 to your computer and use it in GitHub Desktop.
doc = nlp("A healthy eating pattern includes fruits, especially whole fruits.")
for tok in doc:
print(tok.text, tok.dep_, tok.pos_)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment