stack
stack

Reputation: 19

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

I need to implement sentiment analysis. Can anyone point me to examples/reference implementations?

Upvotes: 1

Views: 5541

Answers (2)

Aaron Fi
Aaron Fi

Reputation: 10396

One approach is:

  1. assemble a corpus of statements and text
  2. manually classify each statement as positive or negative
  3. ensure your corpus is "large enough" in size, e.g. ~1,000 classifications
  4. run the corpus through pattern recognition software such as CRM114: http://en.wikipedia.org/wiki/CRM114_(program)
  5. use the resulting "brain file" to classify future statements

Upvotes: 2

Related Questions