Closed ThomasBurgess2000 closed 3 years ago
Hi @ThomasBurgess2000 - look at the mixing of single and double quotes in line 5 of your example. I think that's what's causing the issue.
That is the issue, thank you! However, I copied the code from here so you might want to update it: https://spacy.io/universe/project/negspacy
Oh whoops - thanks for spotting that, I just double checked the readme but didn't think of there!
fixed on spacy webpage https://github.com/explosion/spaCy/pull/6578
Describe the bug When I run this example code:
It outputs: Steve Jobs False Apple False
Expected behavior Steve Jobs True
Desktop (please complete the following information):