How lakshith007/social-media-analysis works
This repository is a social-media data extraction and analysis pipeline. Its apparent workflow is to fetch Firestore records, normalize them, enrich text with sentiment and emotion, then derive topics and trends. The README is only a title, so it documents no capabilities; stage relationships not directly shown in excerpts are marked unverified or omitted. The graph includes the visible extraction, normalization, analysis, and storage responsibilities, not deployment machinery.
Main entry points: extract.py Collection extraction · normalize.py Record normalization · analyze_text.py Sentiment and emotion · analyze_topics.py Topics and trends
Components 11
Data ingestion
- Collection extraction
extraction/extract.py - Raw social data
- Firestore client helper
extraction/firebase_client.py
Data preparation
- Record normalization
extraction/normalize.py - Processed records
Text analysis
- Sentiment and emotion
extraction/analyze_text.py - Enriched text
- Topics and trends
extraction/analyze_topics.py - Topic and trend outputs
Other components
- Operator
- Firestore
Connections 9
- Operator → Collection extraction: runs
extraction/extract.py - Collection extraction → Firestore: reads collections
extraction/extract.py - Collection extraction → Raw social data: writes JSON
extraction/extract.py - Raw social data → Record normalization: loads raw data
extraction/normalize.py - Record normalization → Processed records: writes records
extraction/normalize.py - Processed records → Sentiment and emotion: loads text inputs
- Sentiment and emotion → Enriched text: writes analysis
extraction/analyze_text.py - Enriched text → Topics and trends: loads analysis input
- Topics and trends → Topic and trend outputs: writes JSON
extraction/analyze_topics.py