Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isfonzar/sentiment-thermometer
Measure the sentiment towards a word, name or sentence on social networks
https://github.com/isfonzar/sentiment-thermometer
composer machine-learning php sentiment-analysis twitter
Last synced: about 22 hours ago
JSON representation
Measure the sentiment towards a word, name or sentence on social networks
- Host: GitHub
- URL: https://github.com/isfonzar/sentiment-thermometer
- Owner: isfonzar
- License: mit
- Created: 2017-02-15T22:34:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-18T20:36:49.000Z (almost 8 years ago)
- Last Synced: 2024-11-29T14:43:43.278Z (29 days ago)
- Topics: composer, machine-learning, php, sentiment-analysis, twitter
- Language: PHP
- Homepage:
- Size: 34.2 KB
- Stars: 56
- Watchers: 7
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About Sentiment Thermometer
Sentiment Thermometer is a library and tool to measure the sentiment around a word, name, sentence or hashtag using social networks.![](http://i.imgur.com/UZyHxN1.gif)
## Features
- Fully integrated with twitter feed
- Positive/negative/neutral analysis
- EASY to incorporate on your projects
- CUSTOMIZE to your needs
- STUPIDLY [EASY TO USE](https://github.com/iiiicaro/SentimentThermometer#usage)
- Very fast start up and response time## Installation
### Composer
```bash
$ composer require iiiicaro/sentiment-thermometer
```## Usage
### Basic usage
```php
[
'consumer_key' => 'CONSUMER_KEY_HERE',
'consumer_secret' => 'CONSUMER_SECRET_HERE',
]
];$sentimentThermometer = new SentimentThermometer($config);
$thermomether = $sentimentThermometer->get('Donald Trump');print_r($thermomether);
```## Contributing
### Bug Reports & Feature Requests
Please use the [issue tracker](https://github.com/iiiicaro/sentiment-thermometer/issues) to report any bugs or feature requests.
## Social Coding
1. Create an issue to discuss about your idea
2. [Fork it] (https://github.com/iiiicaro/sentiment-thermometer/fork)
3. Create your feature branch (`git checkout -b my-new-feature`)
4. Commit your changes (`git commit -am 'Add some feature'`)
5. Push to the branch (`git push origin my-new-feature`)
6. Create a new Pull Request
7. Profit! :white_check_mark: