Automatically identifying users' emotional states from their texts and classifying emotions into finite categories such as joy, anger, disgust, etc., can be considered as a text classification problem.
it introduces a challenging learning scenario where multiple emotions with different intensities are often found in a single sentence.