可以将情绪视为一种细粒度的情绪.正如您在问题本身中提到的那样,“愤怒”和“悲伤”都是负面情绪,但显然,它们是不同的情绪.因此,情感分析可以作为(相对)简单情感分类之上的附加层来完成.
===============================================================================
| Sentiment Polarity | 10 Emotion Classes | Emotion word examples |
|-----------------------------------------------------------------------------|
| | Happiness | happy, joyful, glad |
| Positive | Pleasantness | pleasant, enjoy, nice |
| | Relief | relief, comfort, solace |
|-----------------------------------------------------------------------------|
| | Fear | scare, fear, frightening |
| | Sadness | sad, grief, mourn |
| | Disappointment | bummer, regret, dejected |
| Negative | Unpleasantness | dislike, yuck, irksome |
| | Loneliness | lonely, withdrawn |
| | Anxiety | anxiety, worry, distress |
| | Anger | anger, furious, antagonize |
===============================================================================
请注意,虽然情感分类可以是二元,三元或分级系统(关于情感的ve或-ve),但情感分类更易于解释.例如,可以将爱添加为一种积极的情感,将仇恨添加为一种消极的情感.但是请记住,随着我们增加类的数量,建立准确的分类器变得越来越困难.然后,您可能必须开始考虑软聚类方法,因为两种情绪之间的界限可能并不清晰(不仅是AI,有时甚至对于人类也不清晰!).