Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
doc = nlp("Here is how you can keep your car and other vehicles clean.")
# print dependency tags and POS tags
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