All Projects β†’ Lissy93 β†’ sentiment-analysis

Lissy93 / sentiment-analysis

Licence: other
🎈 A Node.js AFINN-111 based sentiment analysis module

Programming Languages

coffeescript
4710 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to sentiment-analysis

globify
Run browserify and watchify with globs - even on Windows!
Stars: ✭ 16 (-38.46%)
Mutual labels:  browserify
Scrapy-tripadvisor-reviews
Using scrapy to scrape tripadvisor in order to get users' reviews.
Stars: ✭ 24 (-7.69%)
Mutual labels:  sentiment-analysis
SA-DL
Sentiment Analysis with Deep Learning models. Implemented with Tensorflow and Keras.
Stars: ✭ 35 (+34.62%)
Mutual labels:  sentiment-analysis
levheimcube
No description or website provided.
Stars: ✭ 11 (-57.69%)
Mutual labels:  sentiment-analysis
bert-sentiment
Fine-grained Sentiment Classification Using BERT
Stars: ✭ 49 (+88.46%)
Mutual labels:  sentiment-analysis
Subject-and-Sentiment-Analysis
ζ±½θ½¦θ‘ŒδΈšη”¨ζˆ·θ§‚η‚ΉδΈ»ι’˜εŠζƒ…ζ„Ÿθ―†εˆ«
Stars: ✭ 24 (-7.69%)
Mutual labels:  sentiment-analysis
text2emoji
Predict an emoji that is associated with a text
Stars: ✭ 30 (+15.38%)
Mutual labels:  sentiment-analysis
ts-react-boilerplate
A very opinionated (React/TypeScript/Redux/etc) frontend boilerplate
Stars: ✭ 43 (+65.38%)
Mutual labels:  browserify
hackthebox
Notes Taken for HTB Machines & InfoSec Community.
Stars: ✭ 286 (+1000%)
Mutual labels:  quick
grasp
Essential NLP & ML, short & fast pure Python code
Stars: ✭ 58 (+123.08%)
Mutual labels:  sentiment-analysis
TextMood
A Xamarin + IoT + Azure sample that detects the sentiment of incoming text messages, performs sentiment analysis on the text, and changes the color of a Philips Hue lightbulb
Stars: ✭ 52 (+100%)
Mutual labels:  sentiment-analysis
overview-and-benchmark-of-traditional-and-deep-learning-models-in-text-classification
NLP tutorial
Stars: ✭ 41 (+57.69%)
Mutual labels:  sentiment-analysis
Sentiment-Analysis-with-Python
Lectures in Urban Data Science Lab, Seoul
Stars: ✭ 19 (-26.92%)
Mutual labels:  sentiment-analysis
Sentiment-analysis-amazon-Products-Reviews
NLP with NLTK for Sentiment analysis amazon Products Reviews
Stars: ✭ 37 (+42.31%)
Mutual labels:  sentiment-analysis
Whatsapp-analytics
performing sentiment analysis on the whatsapp chats.
Stars: ✭ 20 (-23.08%)
Mutual labels:  sentiment-analysis
twitter sentiment challenge
The code uses the tweepy library to access the Twitter API and the TextBlob library to perform Sentiment Analysis on each Tweet.
Stars: ✭ 14 (-46.15%)
Mutual labels:  sentiment-analysis
cacheify
Browserify transform wrapper that caches the transforms between runs to improve performance
Stars: ✭ 30 (+15.38%)
Mutual labels:  browserify
semeval22 structured sentiment
SemEval-2022 Shared Task 10: Structured Sentiment Analysis
Stars: ✭ 67 (+157.69%)
Mutual labels:  sentiment-analysis
visualization
Text visualization tools
Stars: ✭ 18 (-30.77%)
Mutual labels:  sentiment-analysis
HackerNews
A .NET MAUI app for displaying the top posts on Hacker News that demonstrates text sentiment analysis gathered using artificial intelligence
Stars: ✭ 184 (+607.69%)
Mutual labels:  sentiment-analysis

Sentiment Analysis

A light-weight sentiment analysis NPM module, based on the AFINN-111 word list


Usage

Simply install sentiment-analysis via Yarn/ NPM/ pnpm, then import and use it.

npm i sentiment-analysis
sentimentAnalysis = require('sentiment-analysis');

sentimentAnalysis('Dinosaurs are awesome!'); // +0.4
sentimentAnalysis('Everything is stupid');  // -0.2
sentimentAnalysis('JavaScript sucks'); // -0.3
sentimentAnalysis('My life is a catastrophic disaster');  // -0.6

For a more detailed usage example, see this example Gist


Developing

To make changes, clone the project, cd into it, install dev dependencies then start Gulp watch.

git clone [email protected]:Lissy93/sentiment-analysis.git
cd sentiment-analysis
npm i

The entry point, and bulk of the logic is in the index.coffee file.

The following scripts are availible:

  • npm run dev - Watch for file changes and rebuild the project for development
  • npm run build - Run tests, then lint, compile and minify the project for production
  • npm run test - Execute unit tests, quality gates, and coverage
  • npm run example - Run the example script

Testing

After cloning, run yarn test to execute the unit tests and generate quality and coverage report. The following files will be executed:

Any new features added must be tested, and all tests must be passing before any changes can be merged.


Contributing

Contributions are welcome :) Please be sure to follow the Contributor Covenant Code of Conduct.


License

For license explanation, see TLDR Legal > MIT

The MIT License (MIT)
Copyright (c) Alicia Sykes <[email protected]> 

Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software and associated documentation files (the "Software"), to deal 
in the Software without restriction, including without limitation the rights 
to use, copy, modify, merge, publish, distribute, sub-license, and/or sell 
copies of the Software, and to permit persons to whom the Software is furnished 
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included install 
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANT ABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Β© Alicia Sykes 2015
Licensed under MIT

Thanks for visiting :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].