# u2b3k/uz-hunspell architecture

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

- Interactive diagram: https://gitdiagram.com/u2b3k/uz-hunspell
- Repository: https://github.com/u2b3k/uz-hunspell

## Overview

uz-hunspell is a set of Uzbek Hunspell dictionary assets, with Latin- and Cyrillic-script variants. The documented user workflow is to install the dictionaries on Linux with `install.sh`, then use them for spell-checking. The README describes a vocabulary of over 90,000 words and affixes for nouns, adjectives, and verbs. Source excerpts are unavailable, so the relationships between the individual files and the installer's behavior are not inferred.

Main entry points: [`install.sh`](https://github.com/u2b3k/uz-hunspell/blob/master/install.sh) (Installer), [`uz_UZ.dic`](https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ.dic) (Latin word list), [`uz_UZ.aff`](https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ.aff) (Latin affix rules), [`uz_UZ_Cyrl.dic`](https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ_Cyrl.dic) (Cyrillic word list)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_installer["Installer<br/>[install.sh]"]
node_hunspell["Hunspell consumer"]
node_latin_words["Latin word list<br/>[uz_UZ.dic]"]
node_latin_affixes["Latin affix rules<br/>[uz_UZ.aff]"]
node_cyrillic_words["Cyrillic word list<br/>[uz_UZ_Cyrl.dic]"]
node_cyrillic_affixes["Cyrillic affix rules<br/>[uz_UZ_Cyrl.aff]"]

node_user -->|"runs"| node_installer
node_hunspell -.->|"spell-checks"| node_latin_words
node_hunspell -.->|"applies rules"| node_latin_affixes
node_hunspell -.->|"spell-checks"| node_cyrillic_words
node_hunspell -.->|"applies rules"| node_cyrillic_affixes

click node_installer "https://github.com/u2b3k/uz-hunspell/blob/master/install.sh"
click node_latin_words "https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ.dic"
click node_latin_affixes "https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ.aff"
click node_cyrillic_words "https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ_Cyrl.dic"
click node_cyrillic_affixes "https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ_Cyrl.aff"

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_user toneBlue
class node_installer,node_latin_words,node_latin_affixes,node_cyrillic_words,node_cyrillic_affixes toneTeal
class node_hunspell toneIndigo
```

## Components

### Other components

- **User**
- [Installer](https://github.com/u2b3k/uz-hunspell/blob/master/install.sh): `install.sh`
- **Hunspell consumer**
- [Latin word list](https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ.dic): `uz_UZ.dic`
- [Latin affix rules](https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ.aff): `uz_UZ.aff`
- [Cyrillic word list](https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ_Cyrl.dic): `uz_UZ_Cyrl.dic`
- [Cyrillic affix rules](https://github.com/u2b3k/uz-hunspell/blob/master/uz_UZ_Cyrl.aff): `uz_UZ_Cyrl.aff`

## Connections

- User → Installer: runs (evidence: `README.md`)
- Hunspell consumer → Latin word list: spell-checks (evidence: `README.md`)
- Hunspell consumer → Latin affix rules: applies rules (evidence: `README.md`)
- Hunspell consumer → Cyrillic word list: spell-checks (evidence: `README.md`)
- Hunspell consumer → Cyrillic affix rules: applies rules (evidence: `README.md`)
