#113 · Primary category: NLP Tools & Text Processing
sentiment
AFINN-based sentiment analysis for Node.js.
Project last updated:05/18/20
GitHub Stars
2.7K
Forks
310
Contributors
18
License
MIT
Why we included this project
Sentiment scores the emotional tone of a block of text by matching tokens against the AFINN-165 wordlist, with an emoji sentiment ranking layered on top. It returns both an absolute score and a comparative figure normalized by sentence length, so you get a quick, deterministic read on product reviews, support tickets, or social mentions without standing up a trained model. You can also extend it: register a new language with its own label set, or override the scoring strategy per language to handle negation and emphasis the way that language actually works. For lightweight analysis pipelines where a rough positive/negative signal is all you need, that keeps the whole thing a few lines of code instead of a project.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量