Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
text = "Tableau was recently acquired by Salesforce."
doc = nlp(text)
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