SkillAgentSearch skills...

PyTextSentiment

Emotion Detection & Classification of Tweets Using Streaming APIs. [NLTK] [Scikit Learn] [Twitter Streaming API] [Bing API]

Install / Use

/learn @mjaglan/PyTextSentiment

README

Emotion Detection And Classification of Tweets

How to Run

  • Go to your terminal.

  • Clone this repository and go inside it

    git clone https://github.com/mjaglan/PyTextSentiment.git
    cd PyTextSentiment
    
  • Edit following files:

    app/assets/BingCredentials/bingClientId.txt
    app/assets/BingCredentials/bingClientSecret.txt
    app/assets/TwitterAPI/credentials.txt
    app/assets/input.txt
    
  • Run the following script

    . ./restart-all.sh
    

Web UI

Project Structure

  • Training dataset files: app/assets/Resource/searchKeys
  • Get Feeds by text search query: app/assets/Resource/searchKeys/testFiles
  • Bag of Words for emotion tagging and classification: app/assets/Resource
  • Output twitter data directory: app/assets/twitterData

Project Overview

The term paper of this work is present here. Below are the highlights of the work done + the results generated for live tweets on 28 December 2015.

Page 2


Page 3


Page 4


Page 5


Page 6

References

Related Skills

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated23d ago
Forks14

Languages

Python

Security Score

80/100

Audited on Mar 14, 2026

No findings