# lexian-6/sentiment-analysis-towards-covid-19-on-twitter architecture

> Architecture diagram of the GitHub repository lexian-6/sentiment-analysis-towards-covid-19-on-twitter, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter
- Repository: https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter

## Overview

This repository is a research project for estimating sentiment in tweets about COVID-19. Its visible workflow ends at reviewing results in Main.ipynb; the tree also identifies four separate model notebooks (SRN, LSTM, DistilBERT, and XLNet) and several CSV corpus variants. The README does not document which files each notebook reads or how the model notebooks relate to Main.ipynb, and no source excerpts are available, so those connections are left unspecified.

Main entry points: [`Main.ipynb`](https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Main.ipynb) (Research notebook)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Tweet data"]
  node_covidsenti["COVIDSenti corpus<br/>[COVIDSenti.csv]"]
  node_corpus_variants["Corpus variants<br/>[Re-COVIDSenti.csv]"]
end

subgraph group_research["Research results"]
  node_main["Research notebook<br/>[Main.ipynb]"]
  node_results["Sentiment results"]
end

subgraph group_models["Sentiment models"]
  node_srn["SRN model<br/>[Model1: SRN.ipynb]"]
  node_lstm["LSTM model<br/>[Model2: LSTM.ipynb]"]
  node_distilbert["DistilBERT model"]
  node_xlnet["XLNet model<br/>[Model4_XLnet.ipynb]"]
end

node_researcher(("Researcher"))

node_researcher -->|"reviews"| node_main
node_main -->|"presents"| node_results

click node_covidsenti "https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/COVIDSenti.csv"
click node_corpus_variants "https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Re-COVIDSenti.csv"
click node_main "https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Main.ipynb"
click node_srn "https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Model1%3A%20SRN.ipynb"
click node_lstm "https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Model2%3A%20LSTM.ipynb"
click node_distilbert "https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Model3_distilBert.ipynb"
click node_xlnet "https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Model4_XLnet.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_covidsenti,node_corpus_variants toneBlue
class node_main,node_results toneAmber
class node_srn,node_lstm,node_distilbert,node_xlnet toneMint
class node_researcher toneIndigo
```

## Components

### Tweet data

- [COVIDSenti corpus](https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/COVIDSenti.csv): `COVIDSenti.csv`
- [Corpus variants](https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Re-COVIDSenti.csv): `Re-COVIDSenti.csv`

### Research results

- [Research notebook](https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Main.ipynb): `Main.ipynb`
- **Sentiment results**

### Sentiment models

- [SRN model](https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Model1%3A%20SRN.ipynb): `Model1: SRN.ipynb`
- [LSTM model](https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Model2%3A%20LSTM.ipynb): `Model2: LSTM.ipynb`
- [DistilBERT model](https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Model3_distilBert.ipynb): `Model3_distilBert.ipynb`
- [XLNet model](https://github.com/lexian-6/sentiment-analysis-towards-covid-19-on-twitter/blob/main/Model4_XLnet.ipynb): `Model4_XLnet.ipynb`

### Other components

- **Researcher**

## Connections

- Researcher → Research notebook: reviews
- Research notebook → Sentiment results: presents
