The most advanced article extraction API with AI/ML summary, category prediction, all images, blog logo, authors, keywords, tags, and more.
- Date date;
- String title;
- String author;
- String description;
- String url;
- String topImage;
- String html;
- String text;
- String siteName;
- List summary
Want any more fields to be added? Send us an email at support@pipfeed.com
AFINN is a list of words rated for valence with an integer between minus five (negative) and plus five (positive). Sentiment analysis is performed by cross-checking the string tokens (words, emojis) with the AFINN list and getting their respective scores. The comparative score is simply: sum of each token / number of tokens.
This approach leaves you with a mid-point of 0 and the upper and lower bounds are constrained to positive and negative 5 respectively (the same as each token! 😸). For example, let’s imagine an incredibly “positive” string with 200 tokens where each token has an AFINN score of 5. Our resulting comparative score would look like this:
(max positive score * number of tokens) / number of tokens
(5 * 200) / 200 = 5
Want any more fields to be added? Send us an email at support@pipfeed.com