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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to