Is it possible to guess a user's mood based on the structure of text?

后端 未结 10 848
一生所求
一生所求 2020-12-04 04:51

I assume a natural language processor would need to be used to parse the text itself, but what suggestions do you have for an algorithm to detect a user\'s mood based on tex

10条回答
  •  眼角桃花
    2020-12-04 05:39

    I can't believe I'm taking this seriously... assuming a one-dimensional mood space:

    • If the text contains a curse word, -10 mood.
    • I think exclamations would tend to be negative, so -2 mood.
    • When I get frustrated, I type in Very. Short. Sentences. -5 mood.

    The more I think about this, the more it's clear that a lot of these signifiers indicate extreme mood in general, but it's not always clear what kind of mood.

提交回复
热议问题