-
-
Save quantra-go-algo/2a179da3f307639f7e5b1e92b83dec25 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
# Pass the text you want to analyze to your model | |
doc = nlp("Jennifer is learning quantitative analysis.") | |
# Print the part-of-speech and the syntactic dependency relation for the tokens | |
for token in doc: | |
print(token.text, token.pos_, token.dep_) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment