Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created June 5, 2020 21:15
Show Gist options
  • Save aniruddha27/90e6c5890e1706268aec28207e6514e3 to your computer and use it in GitHub Desktop.
Save aniruddha27/90e6c5890e1706268aec28207e6514e3 to your computer and use it in GitHub Desktop.
text = df3.loc[9,'Sent']
print(text)
doc = nlp(text)
displacy.render(doc, style='dep',jupyter=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment