Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
info_extraction_4
# print token, dependency, POS tag
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