-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Is there a straight forward way to apply Negex to adjectives? I already incorporated Negex into my pipeline with my own custom component, but I didn't realize until after the fact that it seems to only be searching for negations in relation to Named Entities. For example, I was hoping to apply it, so I'd get positive matches on something like:
doc = nlp("Eve is not nice. Eve is friendly. Eve is not chill.")
for s in doc.sents:
for t in s.tokens:
print(t._.negex, t.text)
True nice
False friendly
True chillIt seems like this is not supported at the moment, but if anyone has any advice on how to customize Negex to achieve this it would be much appreciated. Also, if there's a good reason to not bother trying to do this at all, would love to understand that too.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels