mirror of https://github.com/explosion/spaCy.git
Update universe.json
This commit is contained in:
parent
343a44abe9
commit
a6fe35a0f9
|
@ -2129,7 +2129,7 @@
|
||||||
"from negspacy.negation import Negex",
|
"from negspacy.negation import Negex",
|
||||||
"",
|
"",
|
||||||
"nlp = spacy.load(\"en_core_web_sm\")",
|
"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)",
|
"nlp.add_pipe(negex, last=True)",
|
||||||
"",
|
"",
|
||||||
"doc = nlp(\"She does not like Steve Jobs but likes Apple products.\")",
|
"doc = nlp(\"She does not like Steve Jobs but likes Apple products.\")",
|
||||||
|
|
Loading…
Reference in New Issue