[R] Question about NRC lexicon usage

peter dalgaard pd@|gd @end|ng |rom gm@||@com
Wed Jul 31 10:54:19 CEST 2019


It is not obvious that this is an R question, but 2 suggestions

(a) some emotions are not clearly positive or negative (e.g. anticipation)
(b) emotions possibly not mutually exclusive 

-pd

> On 31 Jul 2019, at 09:11 , Mehdi Dadkhah <mehdidadkhah91 using gmail.com> wrote:
> 
> Hi,
> I hope you are doing well!
> I used NRC lexicon and did sentiment analysis on my data. the result is:
> 
>         sentiment         count
> anger               574
> anticipation 1400
> disgust          236
> fear                 978
> joy                   729
> sadness            578
> surprise         405
> trust              2125
> negative         1531
> positive          3853
> 
> Total count of emotions: 7025
> Total count of positive and negative sentiments: 5384
> I am faced with a question: Why total count of emotions is not equal with
> total count of sentiment?
> 
> I attached my R Code.
> Thank you!
> With best regards,
> 
> -- 
> *Mehdi Dadkhah*
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes using cbs.dk  Priv: PDalgd using gmail.com



More information about the R-help mailing list