/sentiment-analysis

Simple show case of consuming twitter api and performing sentiment analysis over tweets

Primary LanguageScalaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Build Status codecov CodeFactor

sentiment-analysis

Simple show case of consuming twitter api and performing sentiment analysis over tweets

How to contribute

You need the following dependencies installed:

  • Gradle
  • ElasticSearch
  • Kibana
  • You need to get credentials to access Twitter API from here: Twitter-app once you get your credentials create a file called twitter4j.properties under src/main/resources and add your credentials in it, use the template under resources.

How to run it

After installing Elasticsearch just go to the bin directory and fire up elasticsearch or for windows bin/elasticsearch after that you need to run gradle run

How to delete Elasticsearch index

use the following command in your terminal while Elasticsearch service is up, curl -XDELETE 'http://localhost:9200/twitter'