Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.86 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.86 KB

Twitter-Sentiment-Analysis

Twitter allows businesses to engage personally with consumers. However, there’s so much data on Twitter that it can be hard for brands to prioritize which tweets or mentions to respond to first. That's why sentiment analysis has become a key instrument in social media marketing strategies. This is a tool that automatically monitors emotions in conversations on social media platforms.It is an automated process of identifying and classifying subjective information in text data. Sentiment analysis uses Natural Language Processing (NLP) to make sense of human language, and machine learning to automatically deliver accurate results.

❓ How to perform Sentimental Analysis on your twitter data?

Basically involves 5 steps:

  1. Gathering your relevant Twitter data.
  2. Cleaning your data using pre-processing techniques.
  3. Creating a sentiment analysis machine learning model.
  4. Analyzing your Twitter data using your sentiment analysis model.
  5. Visualizing the results of your Twitter sentiment analysis.

🐣 Using the twitter API

  • The Twitter API lets you access and interact with public Twitter data.Use the Twitter Streaming API to connect to Twitter data streams and gather tweets containing keywords, brand mentions, and hashtags, or collect tweets from specific users.
  • Tweepyis an easy-to-use Python library for accessing the Twitter API. I used Tweepy for accessing the Twitter API. You need to have a Twitter developer account and sample codes to do this analysis.

📄 Using twitter dataset

  • Download the twitter dataset which is avaliable on kaggle. It contains all the tweets based on a paticular entity.