Giter Club home page Giter Club logo

sentiment-analysis-on-twitter-data's Introduction

Sentiment-Analysis

The following repository is about sentiment analysis on Twitter data.

Introduction

Sentiment analysis (or opinion mining) is a Natural Language Processing technique used to determine whether data is positive, negative or neutral. Sentiment analysis is often performed on textual data to help businesses monitor brand and product sentiment in customer feedback, and understand customer needs.

What you will learn?

Learn to perform basic sentiment analysis on real time data using Natural Language Processing libraries of Python. Also, get to know about WordCloud library to visualise the data and work on Twitter API.
You can read more about these libraries in the documentation.
Click here to read more Tweepy, TextBlob, WordCloud

How to perform the Analysis?

In this project, I am using tweepy, TextBlob and WordCloud libraries of Python to perform the analysis. Our task is to analyse the data in terms of subjectivity and plolarity.
The sentiment funtion of TextBlob returns these two properties, subjectivity and polarity.
Polarity is float which lies in the range of [-1,1] where 1 means positive statement and -1 means a negative statement. Subjective sentences generally refer to personal opinion, emotion or judgment whereas objective refers to factual information. Subjectivity is also a float which lies in the range of [0,1].
1. Create Twitter API keys - for this, create developer account at developer.twitter.com. Standard Twitter account will let you log in. Apply for the developer access by answering few question about why you need it.
2. After getting keys - create a csv file and store ConsumerKey, ConsumerSecretKey, AccessToken and AccessTokenSecret.
3. Upload the file as given in code
4. Start writing code and perfrom the analysis.


Note: This work is highly inpired from few other kernals, github sources and data science resources. Due respect and credit.

sentiment-analysis-on-twitter-data's People

Contributors

nainika-patidar avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.