Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
doc = nlp("Eight people, including two children, were injured in the explosion")
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