File size: 1,213 Bytes
b84cfce
 
 
 
 
 
 
6242ddb
b84cfce
 
6242ddb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: Topic Analysis
emoji: πŸ“Š
colorFrom: green
colorTo: blue
sdk: docker
pinned: false
app_port: 7860
---

# πŸ“Š Sentiment & Topic Analysis Dashboard

Upload CSV, JSON, or Excel files containing customer feedback, support tickets, or reviews β€” get instant multilingual sentiment analysis, topic clustering, anomaly detection, and interactive visualizations.

## Features
- **Multilingual sentiment analysis** using `cardiffnlp/twitter-xlm-roberta-base-sentiment`
- **Dynamic topic clustering** with BERTopic (HDBSCAN + UMAP)
- **Interactive force-directed** topic cluster graph
- **Sentiment trend charts** with confidence intervals
- **Data quality dashboard** flagging low-confidence predictions, mixed languages, duplicates
- **Comparison mode** to contrast time periods or segments
- **Export** to CSV, JSON, or PDF
- **Dark mode** support

## Usage
1. Upload a file with text data (CSV, JSON, Excel)
2. Wait for analysis to complete (~30s for 50 entries)
3. Explore the dashboard tabs: Overview, Data Quality, Compare

**API Key**: Use `dev-key-1` (pre-configured in the UI)

## Tech Stack
- **Backend**: FastAPI, PyTorch, Transformers, BERTopic
- **Frontend**: React, TypeScript, Recharts, D3.js