mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Update universe.json
This commit is contained in:
parent
343a44abe9
commit
a6fe35a0f9
|
@ -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.\")",
|
||||
|
|
Loading…
Reference in New Issue
Block a user