Skip to content

Instantly share code, notes, and snippets.

@vallantin
Created November 19, 2018 15:54
Show Gist options
  • Save vallantin/80b5b667c740e1e403a921dd696192af to your computer and use it in GitHub Desktop.
Save vallantin/80b5b667c740e1e403a921dd696192af to your computer and use it in GitHub Desktop.
for token in doc_en:
print(token.text + ': [' + token.pos_ + ' - ' + token.dep_ + ']')
for token in doc_pt:
print(token.text + ': [' + token.pos_ + ' - ' + token.dep_ + ']')
for token in doc_fr:
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