# thomastsel1/parliament_narratives architecture

> Architecture diagram of the GitHub repository thomastsel1/parliament_narratives, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/thomastsel1/parliament_narratives
- Repository: https://github.com/thomastsel1/parliament_narratives

## Overview

This repository appears to be a notebook-based text-analysis project, with notebooks for stopword preparation, embeddings, clustering, taxonomy/narrative analysis, and annotation. The README is empty and no notebook source was provided, so their actual data flow and calls cannot be verified; the graph therefore shows the apparent work areas without connecting them.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_preparation["Text Preparation"]
  node_stopword_prep["Stopword Preparation"]
end

subgraph group_analysis["Clustering Analysis"]
  node_cake_clustering["Cake Clustering"]
  node_taxonomy_clustering["Taxonomy Clustering"]
end

subgraph group_support["Embeddings and Annotation"]
  node_embeddings["RunPod Embeddings"]
  node_annotation["Annotation<br/>[annotation.ipynb]"]
end

node_analyst(("Researcher"))

click node_stopword_prep "https://github.com/thomastsel1/parliament_narratives/blob/main/00_PAR-Preperations-Stopwords.ipynb"
click node_cake_clustering "https://github.com/thomastsel1/parliament_narratives/blob/main/01_cake_clustering.ipynb"
click node_taxonomy_clustering "https://github.com/thomastsel1/parliament_narratives/blob/main/02_taxonomies_narrative_clustering.ipynb"
click node_embeddings "https://github.com/thomastsel1/parliament_narratives/blob/main/runpod_embeddings.ipynb"
click node_annotation "https://github.com/thomastsel1/parliament_narratives/blob/main/annotation.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_stopword_prep toneBlue
class node_cake_clustering,node_taxonomy_clustering toneAmber
class node_embeddings,node_annotation toneMint
class node_analyst toneIndigo
```

## Components

### Text Preparation

- [Stopword Preparation](https://github.com/thomastsel1/parliament_narratives/blob/main/00_PAR-Preperations-Stopwords.ipynb): `00_PAR-Preperations-Stopwords.ipynb`

### Clustering Analysis

- [Cake Clustering](https://github.com/thomastsel1/parliament_narratives/blob/main/01_cake_clustering.ipynb): `01_cake_clustering.ipynb`
- [Taxonomy Clustering](https://github.com/thomastsel1/parliament_narratives/blob/main/02_taxonomies_narrative_clustering.ipynb): `02_taxonomies_narrative_clustering.ipynb`

### Embeddings and Annotation

- [RunPod Embeddings](https://github.com/thomastsel1/parliament_narratives/blob/main/runpod_embeddings.ipynb): `runpod_embeddings.ipynb`
- [Annotation](https://github.com/thomastsel1/parliament_narratives/blob/main/annotation.ipynb): `annotation.ipynb`

### Other components

- **Researcher**
