Crandore Hub

meanr

Sentiment Analysis Scorer

Sentiment analysis is a popular technique in text mining that attempts to determine the emotional state of some text. We provide a new implementation of a common method for computing sentiment, whereby words are scored as positive or negative according to a dictionary lookup. Then the sum of those scores is returned for the document. We use the 'Hu' and 'Liu' sentiment dictionary ('Hu' and 'Liu', 2004) <doi:10.1145/1014052.1014073> for determining sentiment. The scoring function is 'vectorized' by document, and scores for multiple documents are computed in parallel via 'OpenMP'.

Versions across snapshots

VersionRepositoryFileSize
0.1-6 rolling linux/jammy R-4.5 meanr_0.1-6.tar.gz 79.8 KiB
0.1-6 rolling linux/noble R-4.5 meanr_0.1-6.tar.gz 80.0 KiB
0.1-6 rolling source/ R- meanr_0.1-6.tar.gz 176.3 KiB
0.1-6 latest linux/jammy R-4.5 meanr_0.1-6.tar.gz 79.8 KiB
0.1-6 latest linux/noble R-4.5 meanr_0.1-6.tar.gz 80.0 KiB
0.1-6 latest source/ R- meanr_0.1-6.tar.gz 176.3 KiB
0.1-6 2026-04-26 source/ R- meanr_0.1-6.tar.gz 176.3 KiB
0.1-6 2026-04-23 source/ R- meanr_0.1-6.tar.gz 176.3 KiB
0.1-6 2026-04-09 windows/windows R-4.5 meanr_0.1-6.zip 202.2 KiB
0.1-6 2025-04-20 source/ R- meanr_0.1-6.tar.gz 176.3 KiB