[R] need help in sentiment analysis

shrutibansal imsb.bhu at gmail.com
Thu Jun 14 09:16:18 CEST 2012


hello

I am doing sentiment analysis using score.sentiment...
from the below link you can see how this work...

http://dl.dropbox.com/u/2698672/sentiment.r

I want to do some modification in this code....

what this score.sentiment is doing is that its taking a sentence  like "I am
very happy, excited, and optimistic."
so it returning the score and text

score	text
3	       I am very happy, excited, and optimistic.

what I want is that it should return score for each words ie for 
happy,excited , optimistic and also for overall sentence
that is output should be like this

score     text
3             I am very happy, excited, and optimistic
1            happy
1            excited
1            optimistic

please help me in this regard

thanks in advance

Shruti Bansal






--
View this message in context: http://r.789695.n4.nabble.com/need-help-in-sentiment-analysis-tp4633335.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list