I am studying Natural Language Processing. What could be the ways to detect negation? There are at least two forms of negation that I can think of.
- I do not like orange juice.
- I deny that I like orange juice.
Thanks.
Data Science Stack Exchange is a question and answer site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field. It only takes a minute to sign up.
Sign up to join this communityYou can image a task like NER. Your dataset will be a set of sentences with the "negation" word annotated and that's it.
E.g.
x = "I do not like orange juice"
y = [0, 0, 1, 0, 0, 0]
The model then is a classification one, and it depends on several factors which one would be the more appropriate.