diff --git a/website/meta/universe.json b/website/meta/universe.json index 0fcc1379f..721de1eb5 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -2375,8 +2375,7 @@ "from negspacy.negation import Negex", "", "nlp = spacy.load(\"en_core_web_sm\")", - "negex = Negex(nlp, ent_types=[\"PERSON','ORG\"])", - "nlp.add_pipe(negex, last=True)", + "nlp.add_pipe(\"negex\", config={\"ent_types\":[\"PERSON\",\"ORG\"]})", "", "doc = nlp(\"She does not like Steve Jobs but likes Apple products.\")", "for e in doc.ents:",