Doc.ents not working correctly in ver3.3.0 #10856
Replies: 3 comments 5 replies
-
This is not a bug, the model makes mistakes sometimes, see #3052. Note that the training data for the model includes a lot of newspaper texts, but it predates the Trump presidency, so it will not be very sensitive to his name. |
Beta Was this translation helpful? Give feedback.
-
@polm Thanks for the response. I agree to your point regarding the first example in my comment. But, the second one is from the Spacy documentation. How can this not work? |
Beta Was this translation helpful? Give feedback.
-
@polm Also, why does it work in this version of Spacy? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to reproduce the behaviour
doc = nlp("President Trump visited Mexico City.")
doc.ents
displacy.render(doc, style='ent')
Your Environment
Info about spaCy
Beta Was this translation helpful? Give feedback.
All reactions