# indonlp/nusax architecture

> Architecture diagram of the GitHub repository indonlp/nusax, 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/indonlp/nusax
- Repository: https://github.com/indonlp/nusax

## Overview

NusaX is a multilingual language-resource release: users access parallel machine-translation data, sentiment-analysis data, and sentiment lexicons for Indonesian languages. The README describes the sentiment datasets as translations verified by native speakers. The repository also includes a classical sentiment-analysis notebook, but its contents were not sampled, so no connection to particular datasets is asserted.

Main entry points: [`datasets/mt`](https://github.com/indonlp/nusax/tree/main/datasets/mt) (Translation corpus), [`datasets/sentiment`](https://github.com/indonlp/nusax/tree/main/datasets/sentiment) (Sentiment datasets), [`datasets/lexicon`](https://github.com/indonlp/nusax/tree/main/datasets/lexicon) (Sentiment lexicons)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_corpus["Language datasets"]
  node_mt[("Translation corpus")]
  node_sentiment[("Sentiment datasets")]
  node_lexicon[("Sentiment lexicons")]
end

subgraph group_analysis["Analysis code"]
  node_notebook["Classical analysis"]
end

node_researcher(("Dataset user"))

node_researcher -->|"accesses"| node_mt
node_researcher -->|"accesses"| node_sentiment
node_researcher -->|"accesses"| node_lexicon

click node_mt "https://github.com/indonlp/nusax/tree/main/datasets/mt"
click node_sentiment "https://github.com/indonlp/nusax/tree/main/datasets/sentiment"
click node_lexicon "https://github.com/indonlp/nusax/tree/main/datasets/lexicon"
click node_notebook "https://github.com/indonlp/nusax/blob/main/code/notebook/sentiment_analysis_nusax_classical.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_mt,node_sentiment,node_lexicon,node_researcher toneBlue
class node_notebook toneAmber
```

## Components

### Language datasets

- [Translation corpus](https://github.com/indonlp/nusax/tree/main/datasets/mt): `datasets/mt`
- [Sentiment datasets](https://github.com/indonlp/nusax/tree/main/datasets/sentiment): `datasets/sentiment`
- [Sentiment lexicons](https://github.com/indonlp/nusax/tree/main/datasets/lexicon): `datasets/lexicon`

### Analysis code

- [Classical analysis](https://github.com/indonlp/nusax/blob/main/code/notebook/sentiment_analysis_nusax_classical.ipynb): `code/notebook/sentiment_analysis_nusax_classical.ipynb`

### Other components

- **Dataset user**

## Connections

- Dataset user → Translation corpus: accesses (evidence: `README.md`)
- Dataset user → Sentiment datasets: accesses (evidence: `README.md`)
- Dataset user → Sentiment lexicons: accesses (evidence: `README.md`)
