jenojp / negspacy

spaCy pipeline object for negating concepts in text
MIT License
274 stars 36 forks source link

Allow for negation algorithm to consider first token of a noun chunk #8

Closed jenojp closed 5 years ago

jenojp commented 5 years ago

Is your feature request related to a problem? Please describe. Some models may noun chunk a negation into an entity span. For example: There is no headache doc.ents will include "no headache".

This would cause the negation algorithm to miss an obvious negation. This does not seem to happen with spacy out of the box models but more so in scispacy's biomedical language models.

jenojp commented 5 years ago

Closed with release #v0.1.5