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

后端 未结 4 832
广开言路
广开言路 2021-02-09 02:30

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:47

    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

提交回复
热议问题