# juliasilge/tidy-text-mining architecture

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

- Interactive diagram: https://gitdiagram.com/juliasilge/tidy-text-mining
- Repository: https://github.com/juliasilge/tidy-text-mining

## Overview

This repository is the source for *Text Mining with R: A Tidy Approach*, a book for readers learning text-mining methods. Its principal user-to-result workflow is reading the book’s chapters to learn about text preparation, analysis methods, and applied datasets. Chapter titles support these topic groupings, but no source excerpts were provided to establish calls or a more detailed instructional sequence; the graph therefore shows the documented book relationship without inventing chapter-to-chapter flow.

Main entry points: [`README.md`](https://github.com/juliasilge/tidy-text-mining/blob/main/README.md) (Text Mining with R)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Text Foundations"]
  node_tidy_text["Tidy Text<br/>[01-tidy-text.Rmd]"]
  node_references["References<br/>[10-references.Rmd]"]
end

subgraph group_methods["Analysis Methods"]
  node_sentiment["Sentiment Analysis"]
  node_tfidf["TF-IDF<br/>[03-tf-idf.Rmd]"]
  node_word_combinations["Word Combinations"]
  node_dtm["Term Matrices"]
  node_topics["Topic Models"]
end

subgraph group_applications["Applied Topics"]
  node_tweets["Tweet Archives"]
  node_nasa["NASA Metadata"]
  node_usenet["Usenet<br/>[09-usenet.Rmd]"]
end

node_reader(("Reader"))
node_book["Text Mining with R<br/>[README.md]"]

node_reader -->|"reads"| node_book

click node_book "https://github.com/juliasilge/tidy-text-mining/blob/main/README.md"
click node_tidy_text "https://github.com/juliasilge/tidy-text-mining/blob/main/01-tidy-text.Rmd"
click node_sentiment "https://github.com/juliasilge/tidy-text-mining/blob/main/02-sentiment-analysis.Rmd"
click node_tfidf "https://github.com/juliasilge/tidy-text-mining/blob/main/03-tf-idf.Rmd"
click node_word_combinations "https://github.com/juliasilge/tidy-text-mining/blob/main/04-word-combinations.Rmd"
click node_dtm "https://github.com/juliasilge/tidy-text-mining/blob/main/05-document-term-matrices.Rmd"
click node_topics "https://github.com/juliasilge/tidy-text-mining/blob/main/06-topic-models.Rmd"
click node_tweets "https://github.com/juliasilge/tidy-text-mining/blob/main/07-tweet-archives.Rmd"
click node_nasa "https://github.com/juliasilge/tidy-text-mining/blob/main/08-nasa-metadata.Rmd"
click node_usenet "https://github.com/juliasilge/tidy-text-mining/blob/main/09-usenet.Rmd"
click node_references "https://github.com/juliasilge/tidy-text-mining/blob/main/10-references.Rmd"

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_tidy_text,node_references toneBlue
class node_sentiment,node_tfidf,node_word_combinations,node_dtm,node_topics toneAmber
class node_tweets,node_nasa,node_usenet toneMint
class node_reader toneIndigo
class node_book toneTeal
```

## Components

### Text Foundations

- [Tidy Text](https://github.com/juliasilge/tidy-text-mining/blob/main/01-tidy-text.Rmd): `01-tidy-text.Rmd`
- [References](https://github.com/juliasilge/tidy-text-mining/blob/main/10-references.Rmd): `10-references.Rmd`

### Analysis Methods

- [Sentiment Analysis](https://github.com/juliasilge/tidy-text-mining/blob/main/02-sentiment-analysis.Rmd): `02-sentiment-analysis.Rmd`
- [TF-IDF](https://github.com/juliasilge/tidy-text-mining/blob/main/03-tf-idf.Rmd): `03-tf-idf.Rmd`
- [Word Combinations](https://github.com/juliasilge/tidy-text-mining/blob/main/04-word-combinations.Rmd): `04-word-combinations.Rmd`
- [Term Matrices](https://github.com/juliasilge/tidy-text-mining/blob/main/05-document-term-matrices.Rmd): `05-document-term-matrices.Rmd`
- [Topic Models](https://github.com/juliasilge/tidy-text-mining/blob/main/06-topic-models.Rmd): `06-topic-models.Rmd`

### Applied Topics

- [Tweet Archives](https://github.com/juliasilge/tidy-text-mining/blob/main/07-tweet-archives.Rmd): `07-tweet-archives.Rmd`
- [NASA Metadata](https://github.com/juliasilge/tidy-text-mining/blob/main/08-nasa-metadata.Rmd): `08-nasa-metadata.Rmd`
- [Usenet](https://github.com/juliasilge/tidy-text-mining/blob/main/09-usenet.Rmd): `09-usenet.Rmd`

### Other components

- **Reader**
- [Text Mining with R](https://github.com/juliasilge/tidy-text-mining/blob/main/README.md): `README.md`

## Connections

- Reader → Text Mining with R: reads (evidence: `README.md`)
