PyTextSentiment
Emotion Detection & Classification of Tweets Using Streaming APIs. [NLTK] [Scikit Learn] [Twitter Streaming API] [Bing API]
Install / Use
/learn @mjaglan/PyTextSentimentREADME
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
- This application inside docker container page can be browsed at http://CONTAINER-IP:9091/
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.

References
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
350.8kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
claude-opus-4-5-migration
110.4kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
