Package Exports
- wink-sentiment
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wink-sentiment) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
wink-sentiment
Accurate and fast sentiment scoring of phrases with emoticons :) & emojis 🎉
Analyze sentiment of tweets, product reviews, social media content or any text using wink-sentiment. It is a part of wink — a growing family of high quality packages for Statistical Analysis, Natural Language Processing and Machine Learning in NodeJS.
It is based on AFINN and Emoji Sentiment Ranking; it's features include:
- Intelligent negation handling; for example, phrase "good product" will get a positive score whereas "not a good product" gets a negative score.
- Automatic detection and scoring of two-word phrases in a text; for example, "cool stuff", "well done", and "short sighted".
- Processes each emoji and/or emoticon separately while scoring.
- Embeds a powerful tokenizer.
- Returns the sentiment score and tokens. Each token contains a set of properties defining its sentiment, if any.
- Achieves accuracy of 77%, when validated using Amazon Product Review Sentiment Labelled Sentences Data Set at UCI Machine Learning Repository.
Installation
Use npm to install:
npm install wink-sentiment --saveDocumentation
For detailed API docs, check out http://winkjs.org/wink-sentiment/ URL!
Need Help?
If you spot a bug and the same has not yet been reported, raise a new issue or consider fixing it and sending a pull request.
Copyright & License
wink-sentiment is copyright 2017 GRAYPE Systems Private Limited.
It is licensed under the under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.
