# hbcc1999/sentence-transformation architecture

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

- Interactive diagram: https://gitdiagram.com/hbcc1999/sentence-transformation
- Repository: https://github.com/hbcc1999/sentence-transformation

## Overview

This is a small desktop sentence-transformation app. A user enters a sentence and tense in the Tkinter interface; the interface calls the transformation function and displays its returned sentence. The conversion code handles sentence adjustments and verb forms, loading irregular-verb data from the CSV. The README documents the Windows executable workflow, but the available source excerpts do not show packaging internals or additional product features, so they are not mapped here.

Main entry points: [`main.py`](https://github.com/hbcc1999/sentence-transformation/blob/main/main.py) (Sentence transformer), [`interactive_gui.py`](https://github.com/hbcc1999/sentence-transformation/blob/main/interactive_gui.py) (Tkinter GUI), [`irregular_verbs_list.csv`](https://github.com/hbcc1999/sentence-transformation/blob/main/irregular_verbs_list.csv) (Irregular verb data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Desktop interface"]
  node_gui["Tkinter GUI<br/>[interactive_gui.py]"]
end

subgraph group_conversion["Sentence conversion"]
  node_transform["Sentence transformer<br/>[main.py]"]
  node_verbs["Irregular verb data"]
end

node_user(("User"))

node_user -->|"enters input"| node_gui
node_gui -->|"calls transform"| node_transform
node_transform -->|"returns sentence"| node_gui
node_transform -->|"loads forms"| node_verbs

click node_gui "https://github.com/hbcc1999/sentence-transformation/blob/main/interactive_gui.py"
click node_transform "https://github.com/hbcc1999/sentence-transformation/blob/main/main.py"
click node_verbs "https://github.com/hbcc1999/sentence-transformation/blob/main/irregular_verbs_list.csv"

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_gui,node_user toneBlue
class node_transform,node_verbs toneAmber
```

## Components

### Desktop interface

- [Tkinter GUI](https://github.com/hbcc1999/sentence-transformation/blob/main/interactive_gui.py): `interactive_gui.py`

### Sentence conversion

- [Sentence transformer](https://github.com/hbcc1999/sentence-transformation/blob/main/main.py): `main.py`
- [Irregular verb data](https://github.com/hbcc1999/sentence-transformation/blob/main/irregular_verbs_list.csv): `irregular_verbs_list.csv`

### Other components

- **User**

## Connections

- User → Tkinter GUI: enters input (evidence: `interactive_gui.py`)
- Tkinter GUI → Sentence transformer: calls transform (evidence: `interactive_gui.py`)
- Sentence transformer → Tkinter GUI: returns sentence (evidence: `interactive_gui.py`)
- Sentence transformer → Irregular verb data: loads forms (evidence: `main.py`)
