[R] NRC lexicon usage sentiment analysis
Mehdi Dadkhah
mehd|d@dkh@h91 @end|ng |rom gm@||@com
Mon Nov 25 16:14:04 CET 2019
Dear Colleagues,
I hope you are doing well!
I did sentiment analysis on two datasets. As these datasets do not have
same size, to compare emotions in two datasets, i calculated percentages.
In my work, i calculated total occurrence for each emotion for two datasets
separately. To calculate percentage of each emotion. i used below equation:
Percentage of an emotion=(total occurrence of an emotion in a dataset/Total
occurrence of all emotions in a dataset)*100
when i calculated percentages for each emotion, in each dataset to
calculate difference in percentages of an emotion, i used below equation:
difference in percentages of an emotion= percentages of an emotion in
dataset A - percentages of an emotion in dataset B
Is my practice true?
Could you please answer my question?
Thank you very much!
With best regards,
--
*Mehdi Dadkhah*
[[alternative HTML version deleted]]
More information about the R-help
mailing list