You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you go to the docs here you'll see the following code example:
importspacyfromnegspacy.negationimportNegexnlp=spacy.load("en_core_web_sm")
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.")
foreindoc.ents:
print(e.text, e._.negex)
This is out of date and should be replaced with the contents of the current readme.
The text was updated successfully, but these errors were encountered:
Describe the bug
If you go to the docs here you'll see the following code example:
This is out of date and should be replaced with the contents of the current readme.
The text was updated successfully, but these errors were encountered: