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

前端 未结 14 1510
北荒
北荒 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 08:19

    Ah, I remember one java library for this called LingPipe (commercial license) that we evaluated. It would work fine for the example corpus that is available at the site, but for real data it sucks pretty bad.

提交回复
热议问题