Can I use NLTK to determine if a comment is a positive one or a negative one?

后端 未结 4 1326
一个人的身影
一个人的身影 2021-02-09 02:18

Can you show me a simple example using http://www.nltk.org/code to determine if a string about a happy or upset mood?

4条回答
  •  长发绾君心
    2021-02-09 02:33

    Pattern is something worthwhile a test drive too: you can see two opinion mining experiments right on the project homepage.

    http://www.clips.ua.ac.be/pages/pattern-examples-100days

    http://www.clips.ua.ac.be/pages/pattern-examples-elections

提交回复
热议问题