0
$\begingroup$

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.

  1. I do not like orange juice.
  2. I deny that I like orange juice.

Thanks.

$\endgroup$

1 Answer 1

1
$\begingroup$

You 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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.