Created
September 23, 2019 05:11
-
-
Save prateekjoshi565/991ad1b1c550a799387ef617407b41f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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