Twitter API Sentiment Analysis

Embed Size (px)

Citation preview

  • 8/13/2019 Twitter API Sentiment Analysis

    1/7

    Twitter Sentiment Analysis

    Rahul Sukhija

    71310052

  • 8/13/2019 Twitter API Sentiment Analysis

    2/7

    Idea

    Tweets Downloadfor Narendra Modi

    DataCollection

    Categorized tweets

    based on Key-words

    6 categoriesformed

    Categorization Ranked tweets on

    scale of Positive,

    Negative andNeutral

    Scoring

    Based on scores in

    previous step,overall scorecreated

    Results

  • 8/13/2019 Twitter API Sentiment Analysis

    3/7

    Tweetsdownloaded

    Narendra Modi

    Tool Used Python tweepy

    Totalnumber of

    tweets 4799

    Data Collection

  • 8/13/2019 Twitter API Sentiment Analysis

    4/7

    Categorization

    (Based on keywords)

    NAMO RAHULG & SONIAG

    WAVE

    #BJP

    JAVED

    #CONGRESS

    Modi Tweets

    categorization

    Tweets are categorized as positive and negative

    tweets as per the keywords below

  • 8/13/2019 Twitter API Sentiment Analysis

    5/7

    Sentiment (Positive/Negative)

    wave

    SoniaG

    +

    RahulG

    Javed

    +

    Namo

    Scoring

    Tweets are then grouped and

    categorized as positive ornegative tweet

  • 8/13/2019 Twitter API Sentiment Analysis

    6/7

    3835

    84.06%

    727

    15.94%

    Results Positive and negative tweets for Modi

  • 8/13/2019 Twitter API Sentiment Analysis

    7/7

    Thank You