/NLP-through-NLTK

Graphing Live Twitter Sentiment Analysis with NLTK.

Primary LanguagePython

Graphing Live Twitter Sentiment Analysis with NLTK

Table Of Content:

Overview

In this project i have done live Twitter Sentiment Analysis with NLTK and produced the result through live graph.

1.1 NLP

Natural language processing (NLP) is an area of computer science and artificial intelligence concerned with the interactions between computers and human (natural) languages, in particular how to program computers to process and analyze large amounts of natural language data. It is the branch of machine learning which is about analyzing any text and handling predictive analysis.

1.2 NLTK

The Natural Language Toolkit (NLTK) is a platform used for building Python programs that work with human language data for applying in statistical natural language processing (NLP). It contains text processing libraries for tokenization, parsing, classification, stemming, tagging and semantic reasoning.

Motivation

Visualization have a greater impact than just a few words. It is better grasped and understood. And yes reading blogs do help you a lot. You discover new things and new technology. I came across NLP and when i came to know about it. I got inclined towards it and the idea of working on it strike my mind. Visualizing through graph the live Twitter Sentiment got my attention and i started working on it.

Steps For The Project

Steps that were implemented are:-

  • Getting Data from Twitter Streaming API

    • Step 1: Getting Twitter API keys
    • Step 2: Connecting to Twitter Streaming API and downloading data
    • Step 3: Mining the tweets
  • Entering the phase or words whose relevant tweets you want to stream

  • Ploting those live stream on live graph

Final Result

  • When we gave the word happy .The live graph that is been created using live data coming from Twitter streaming API has a graph with increaing y-axis showing postive tweet for happy word:

gif

  • When we gave the word covid19.The live that is been created using live data coming from Twitter streaming API has a graph with decreaing y-axis showing negative tweet for a covid19 word:

gif (1)

Inspiration

  • Live Twitter Sentiment Analysis by Edmauryaishu medium post

Author:-

Shubhangi Dabral (ShubhangiDabral13)