I want to classify the sentences in my dataset as declarative, interrogative, imperative and exclamative. Although It can be classified with respect to punctuation marks such as ?, ! and . but there are many cases and situations that these rules can fail.

In NLP area, is there any model or solution that can be applied to reach the mentioned goal?

  • $\begingroup$ Good question. I don't remember seeing anything like this but it could exist. I'm pretty sure it's not a standard NLP task. $\endgroup$
    – Erwan
    Apr 30, 2022 at 21:29
  • $\begingroup$ Yes this is a standard NLP task if you have well-labelled data. $\endgroup$
    – lpounng
    May 4, 2022 at 4:37


Your Answer

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