# roissyahf/nlp-playground architecture

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

- Interactive diagram: https://gitdiagram.com/roissyahf/nlp-playground
- Repository: https://github.com/roissyahf/nlp-playground

## Overview

This repository is a collection of independent NLP experiments, not a single application. The documented workflow is to explore or run a notebook and examine its experiment results and insights. The README describes preprocessing, training, and evaluation as common notebook activities, but no notebook excerpts were provided, so internal processing steps and links between notebooks and datasets are not inferred.

Main entry points: [`01 - IMDB Reviews/IMDB_Reviews.ipynb`](https://github.com/roissyahf/nlp-playground/blob/main/01%20-%20IMDB%20Reviews/IMDB_Reviews.ipynb) (IMDB Reviews), [`02 - BBC News Category/Classify BBC News Category with ML-Enhanced.ipynb`](https://github.com/roissyahf/nlp-playground/blob/main/02%20-%20BBC%20News%20Category/Classify%20BBC%20News%20Category%20with%20ML-Enhanced.ipynb) (BBC ML Classification), [`02 - BBC News Category/Classify_BBC_News_Category_with_RNNs.ipynb`](https://github.com/roissyahf/nlp-playground/blob/main/02%20-%20BBC%20News%20Category/Classify_BBC_News_Category_with_RNNs.ipynb) (BBC RNN Classification), [`03 - Text Preprocessing, n-grams, word cloud/notebook.ipynb`](https://github.com/roissyahf/nlp-playground/blob/main/03%20-%20Text%20Preprocessing%2C%20n-grams%2C%20word%20cloud/notebook.ipynb) (Preprocessing and N-grams)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_reviews["Review Analysis"]
  node_imdb["IMDB Reviews<br/>[IMDB_Reviews.ipynb]"]
end

subgraph group_classification["News Classification"]
  node_bbc_ml["BBC ML Classification"]
  node_bbc_rnn["BBC RNN Classification"]
  node_bbc_data[("BBC News Data")]
end

subgraph group_preprocessing["Text Preprocessing"]
  node_preprocess["Preprocessing and N-grams<br/>[notebook.ipynb]"]
end

subgraph group_sentiment["Sentiment and Emotion"]
  node_sentiment_emotion["Sentiment and Emotion Analysis<br/>[notebook.ipynb]"]
end

subgraph group_topics["Topic Modeling"]
  node_topic_modeling["LDA and BERTopic<br/>[notebook.ipynb]"]
end

node_researcher(("Explorer"))
node_results["Experiment Results"]

node_researcher -->|"runs or explores"| node_imdb
node_researcher -->|"runs or explores"| node_bbc_ml
node_researcher -->|"runs or explores"| node_bbc_rnn
node_researcher -->|"runs or explores"| node_preprocess
node_researcher -->|"runs or explores"| node_sentiment_emotion
node_researcher -->|"runs or explores"| node_topic_modeling
node_imdb -->|"documents insights"| node_results
node_bbc_ml -->|"documents insights"| node_results
node_bbc_rnn -->|"documents insights"| node_results
node_preprocess -->|"documents insights"| node_results
node_sentiment_emotion -->|"documents insights"| node_results
node_topic_modeling -->|"documents insights"| node_results

click node_imdb "https://github.com/roissyahf/nlp-playground/blob/main/01%20-%20IMDB%20Reviews/IMDB_Reviews.ipynb"
click node_bbc_ml "https://github.com/roissyahf/nlp-playground/blob/main/02%20-%20BBC%20News%20Category/Classify%20BBC%20News%20Category%20with%20ML-Enhanced.ipynb"
click node_bbc_rnn "https://github.com/roissyahf/nlp-playground/blob/main/02%20-%20BBC%20News%20Category/Classify_BBC_News_Category_with_RNNs.ipynb"
click node_bbc_data "https://github.com/roissyahf/nlp-playground/tree/main/02%20-%20BBC%20News%20Category/dataset"
click node_preprocess "https://github.com/roissyahf/nlp-playground/blob/main/03%20-%20Text%20Preprocessing%2C%20n-grams%2C%20word%20cloud/notebook.ipynb"
click node_sentiment_emotion "https://github.com/roissyahf/nlp-playground/blob/main/04%20-%20Sentiment%20%26%20Emotion%20Analysis/notebook.ipynb"
click node_topic_modeling "https://github.com/roissyahf/nlp-playground/blob/main/05%20-%20LDA%2C%20BERTopic%20Topic%20Modeling/notebook.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_imdb toneBlue
class node_bbc_ml,node_bbc_rnn,node_bbc_data toneAmber
class node_preprocess toneMint
class node_sentiment_emotion toneRose
class node_topic_modeling,node_researcher,node_results toneIndigo
```

## Components

### Review Analysis

- [IMDB Reviews](https://github.com/roissyahf/nlp-playground/blob/main/01%20-%20IMDB%20Reviews/IMDB_Reviews.ipynb): `01 - IMDB Reviews/IMDB_Reviews.ipynb`

### News Classification

- [BBC ML Classification](https://github.com/roissyahf/nlp-playground/blob/main/02%20-%20BBC%20News%20Category/Classify%20BBC%20News%20Category%20with%20ML-Enhanced.ipynb): `02 - BBC News Category/Classify BBC News Category with ML-Enhanced.ipynb`
- [BBC RNN Classification](https://github.com/roissyahf/nlp-playground/blob/main/02%20-%20BBC%20News%20Category/Classify_BBC_News_Category_with_RNNs.ipynb): `02 - BBC News Category/Classify_BBC_News_Category_with_RNNs.ipynb`
- [BBC News Data](https://github.com/roissyahf/nlp-playground/tree/main/02%20-%20BBC%20News%20Category/dataset): `02 - BBC News Category/dataset`

### Text Preprocessing

- [Preprocessing and N-grams](https://github.com/roissyahf/nlp-playground/blob/main/03%20-%20Text%20Preprocessing%2C%20n-grams%2C%20word%20cloud/notebook.ipynb): `03 - Text Preprocessing, n-grams, word cloud/notebook.ipynb`

### Sentiment and Emotion

- [Sentiment and Emotion Analysis](https://github.com/roissyahf/nlp-playground/blob/main/04%20-%20Sentiment%20%26%20Emotion%20Analysis/notebook.ipynb): `04 - Sentiment & Emotion Analysis/notebook.ipynb`

### Topic Modeling

- [LDA and BERTopic](https://github.com/roissyahf/nlp-playground/blob/main/05%20-%20LDA%2C%20BERTopic%20Topic%20Modeling/notebook.ipynb): `05 - LDA, BERTopic Topic Modeling/notebook.ipynb`

### Other components

- **Explorer**
- **Experiment Results**

## Connections

- Explorer → IMDB Reviews: runs or explores (evidence: `README.MD`)
- Explorer → BBC ML Classification: runs or explores (evidence: `README.MD`)
- Explorer → BBC RNN Classification: runs or explores (evidence: `README.MD`)
- Explorer → Preprocessing and N-grams: runs or explores (evidence: `README.MD`)
- Explorer → Sentiment and Emotion Analysis: runs or explores (evidence: `README.MD`)
- Explorer → LDA and BERTopic: runs or explores (evidence: `README.MD`)
- IMDB Reviews → Experiment Results: documents insights (evidence: `README.MD`)
- BBC ML Classification → Experiment Results: documents insights (evidence: `README.MD`)
- BBC RNN Classification → Experiment Results: documents insights (evidence: `README.MD`)
- Preprocessing and N-grams → Experiment Results: documents insights (evidence: `README.MD`)
- Sentiment and Emotion Analysis → Experiment Results: documents insights (evidence: `README.MD`)
- LDA and BERTopic → Experiment Results: documents insights (evidence: `README.MD`)
