|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Structure for VADER sentiment scores. More...
#include <Sentiment.hpp>
Public Attributes | |
| float | positive {} |
| Positive sentiment. More... | |
| float | neutral {} |
| Neutral sentiment. More... | |
| float | negative {} |
| Negative sentiment. More... | |
| float | compound {} |
| Compound score. More... | |
Structure for VADER sentiment scores.
| float crawlservpp::Data::SentimentScores::compound {} |
Compound score.
This score is computed by summing the valence scores of each token in the lexicon, adjusted according to the rules, and then normalized to be between -1 (most extreme negative) and +1 (most extreme positive).
This is the most useful metric if you want a single unidimensional measure of sentiment for a given sentence.
Calling it a 'normalized, weighted composite score' is accurate.
Referenced by crawlservpp::Data::Sentiment::analyze().
| float crawlservpp::Data::SentimentScores::negative {} |
Negative sentiment.
The positive, neutral, and negative scores are ratios for proportions of text that fall in each category (so these should all add up to be 1... or close to it with float operation).
These are the most useful metrics if you want multidimensional measures of sentiment for a given sentence.
| float crawlservpp::Data::SentimentScores::neutral {} |
Neutral sentiment.
The positive, neutral, and negative scores are ratios for proportions of text that fall in each category (so these should all add up to be 1... or close to it with float operation).
These are the most useful metrics if you want multidimensional measures of sentiment for a given sentence.
| float crawlservpp::Data::SentimentScores::positive {} |
Positive sentiment.
The positive, neutral, and negative scores are ratios for proportions of text that fall in each category (so these should all add up to be 1... or close to it with float operation).
These are the most useful metrics if you want multidimensional measures of sentiment for a given sentence.