meanr

From MaRDI portal
Software:45072



swMATH33363CRANmeanrMaRDI QIDQ45072

Sentiment Analysis Scorer

Drew Schmidt

Last update: 10 December 2023

Copyright license: 2-clause BSD License, File License

Software version identifier: 0.1-5, 0.1-0, 0.1-1, 0.1-2, 0.1-3, 0.1-4, 0.1-6

Source code repository: https://github.com/cran/meanr

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'.





This page was built for software: meanr