Algorithm to determine how positive or negative a statement/text is

前端 未结 14 1442
北荒
北荒 2020-12-07 07:21

I need an algorithm to determine if a sentence, paragraph or article is negative or positive in tone... or better yet, how negative or positive.

For instance:

<
14条回答
  •  轮回少年
    2020-12-07 08:16

    As pointed out, this comes under sentiment analysis under natural language processing.
    Afaik GATE doesn't have any component that does sentiment analysis.
    In my experience, I have implemented an algorithm which is an adaptation of the one in the paper 'Recognizing Contextual Polarity in Phrase-Level Sentiment Analysis' by Theresa Wilson, Janyce Wiebe, Paul Hoffmann (this) as a GATE plugin, which gives reasonable good results. It could help you if you want to bootstrap the implementation.

提交回复
热议问题