Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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