Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created June 5, 2020 20:28
Show Gist options
  • Save aniruddha27/5c83ed1a1e2f891512e6d3f07bd8b36f to your computer and use it in GitHub Desktop.
Save aniruddha27/5c83ed1a1e2f891512e6d3f07bd8b36f to your computer and use it in GitHub Desktop.
import spacy
from spacy.matcher import Matcher
from spacy import displacy
import visualise_spacy_tree
from IPython.display import Image, display
# load english language model
nlp = spacy.load('en_core_web_sm',disable=['ner','textcat'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment