How sarthakray26/sentiment-tracker-fds works
Sentiment Tracker turns product queries or submitted reviews into sentiment, topic, and summary insights, presented through Gradio interfaces. The README documents dataset selection, bulk and single-review analysis, visual results, and Kaggle-backed product review search; the tree also shows scraping, persistent review storage, and a browser extension for extracting reviews. The sampled backend excerpts support the analysis components and database operations, but do not expose every importer, scraper, or UI call, so uncertain wiring is omitted.
Main entry points: main_simple.py Analysis orchestrator · app_product_search.py Product search UI · app.py Review chatbot UI · app_simple.py Single and bulk UI
Components 20
Review collection
- Page extractor
customer-sentiment-summarizer/browser_extension/content.js - Dataset selection
customer-sentiment-summarizer/frontend/app_product_search.py - Dataset import
customer-sentiment-summarizer/backend/kaggle_importer.py - Review scraping
customer-sentiment-summarizer/backend/scraper.py
Analysis engine
- Analysis orchestrator
customer-sentiment-summarizer/backend/main_simple.py - Sentiment classification
customer-sentiment-summarizer/backend/sentiment.py - Multilingual sentiment
customer-sentiment-summarizer/backend/multilingual_sentiment.py - Topic extraction
customer-sentiment-summarizer/backend/topics.py - Text summarization
customer-sentiment-summarizer/backend/summarizer.py
Review storage
- Review database
customer-sentiment-summarizer/backend/database.py - Review records
customer-sentiment-summarizer/backend/database.py
User interfaces
- Product search UI
customer-sentiment-summarizer/frontend/app_product_search.py - Single and bulk UI
customer-sentiment-summarizer/frontend/app_simple.py - Review chatbot UI
customer-sentiment-summarizer/frontend/app.py - Spaces entry
customer-sentiment-summarizer/app.py - Extension popup
customer-sentiment-summarizer/browser_extension/popup.js - Charts and insights
customer-sentiment-summarizer/frontend/app_product_search.py
Other components
- Product analyst
- Review website
- Kaggle datasets
Connections 25
- Product analyst → Product search UI: searches
- Product analyst → Single and bulk UI: submits reviews
- Product analyst → Review chatbot UI: submits reviews
- Product search UI → Dataset selection: matches query
- Dataset selection → Dataset import: selects dataset
- Kaggle datasets → Dataset import: provides datasets
- Extension popup → Page extractor: requests extraction
- Review website → Page extractor: provides page
- Page extractor → Extension popup: returns reviews
- Extension popup → Product analyst: copies reviews
- Product analyst → Review scraping: requests collection
- Review scraping → Review website: collects reviews
- Product search UI → Analysis orchestrator: requests analysis
- Single and bulk UI → Analysis orchestrator: requests analysis
- Review chatbot UI → Analysis orchestrator: requests analysis
- Analysis orchestrator → Sentiment classification: classifies reviews
- Analysis orchestrator → Topic extraction: extracts topics
- Analysis orchestrator → Text summarization: summarizes reviews
- Analysis orchestrator → Review database: stores and retrieves
- Review database → Review records: reads and writes
- Product search UI → Charts and insights: formats analysis
- Single and bulk UI → Charts and insights: formats analysis
- Review chatbot UI → Charts and insights: formats analysis
- Charts and insights → Product analyst: shows insights
- Spaces entry → Review chatbot UI: launches interface