Update universe.json

This commit is contained in:
Jeno Pizarro 2020-12-15 21:53:20 -05:00 committed by GitHub
parent 343a44abe9
commit a6fe35a0f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2129,7 +2129,7 @@
"from negspacy.negation import Negex",
"",
"nlp = spacy.load(\"en_core_web_sm\")",
"negex = Negex(nlp, ent_types=[\"PERSON','ORG\"])",
"negex = Negex(nlp, ent_types=[\"PERSON\",\"ORG\"])",
"nlp.add_pipe(negex, last=True)",
"",
"doc = nlp(\"She does not like Steve Jobs but likes Apple products.\")",
@ -2755,4 +2755,4 @@
]
}
]
}
}