# ankitsharma-tech/advanced-news-finder-using-nlp architecture

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

- Interactive diagram: https://gitdiagram.com/ankitsharma-tech/advanced-news-finder-using-nlp
- Repository: https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp

## Overview

NewsMelt is a news-analysis application: a user-supplied or configured query leads to article collection, full-content extraction, topic classification and clustering, multi-document and graph-based summaries, and result display. The pipeline excerpt explicitly lists and invokes these stages; its imports and the README support the principal connections. The README also documents RSS aggregation, NLP analysis, sentiment/trend analysis, and interactive visualizations, but the sampled source does not establish all their implementation or wiring. The frontend is documented, but a backend connection is not shown.

Main entry points: [`src/pipeline.py`](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/pipeline.py) (Pipeline orchestrator), [`src/utils/config.py`](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/utils/config.py) (Configuration), [`src/core/news_crawler.py`](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/news_crawler.py) (News crawler), [`src/core/content_extractor.py`](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/content_extractor.py) (Content extraction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Processing workflow"]
  node_pipeline["Pipeline orchestrator<br/>[pipeline.py]"]
  node_crawler["News crawler<br/>[news_crawler.py]"]
  node_extractor["Content extraction"]
  node_classifier["Topic classification"]
  node_clusterer["Topic clustering<br/>[topic_clusterer.py]"]
end

subgraph group_analysis["Analysis and results"]
  node_summarizer["Multi-document summaries<br/>[summarizer.py]"]
  node_graphsum["Graph summaries"]
  node_sentiment["Sentiment and trends"]
  node_results["Result display<br/>[result_display.py]"]
end

subgraph group_interface["User interface"]
  node_frontend["Web dashboard<br/>[index.html]"]
  node_frontendjs["Dashboard interactions<br/>[script.js]"]
end

subgraph group_support["Shared utilities"]
  node_config["Configuration<br/>[config.py]"]
  node_progress["Progress reporting<br/>[progress.py]"]
end

node_user(("News analyst"))
node_newsapi["NewsAPI"]
node_rss["RSS feeds"]

node_user -->|"starts analysis"| node_pipeline
node_pipeline -->|"runs collection"| node_crawler
node_crawler -->|"fetches articles"| node_newsapi
node_crawler -.->|"aggregates feeds"| node_rss
node_pipeline -->|"runs extraction"| node_extractor
node_pipeline -->|"runs classification"| node_classifier
node_pipeline -->|"runs clustering"| node_clusterer
node_pipeline -->|"runs summarization"| node_summarizer
node_pipeline -->|"runs graph summaries"| node_graphsum
node_pipeline -->|"runs display"| node_results
node_user -->|"opens dashboard"| node_frontend
node_frontend -.->|"loads interactions"| node_frontendjs
node_user -.->|"views analysis"| node_sentiment
node_pipeline -->|"creates directories"| node_config
node_pipeline -->|"reports progress"| node_progress
node_crawler -->|"reads settings"| node_config
node_extractor -->|"reads settings"| node_config
node_classifier -->|"reads settings"| node_config
node_summarizer -->|"reads settings"| node_config
node_graphsum -->|"reads settings"| node_config
node_results -->|"reads settings"| node_config

click node_pipeline "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/pipeline.py"
click node_crawler "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/news_crawler.py"
click node_extractor "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/content_extractor.py"
click node_classifier "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/topic_classifier.py"
click node_clusterer "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/topic_clusterer.py"
click node_summarizer "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/summarizer.py"
click node_graphsum "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/graph_summarizer.py"
click node_sentiment "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/tree/main/src/core"
click node_results "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/result_display.py"
click node_frontend "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/app/index.html"
click node_frontendjs "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/app/script.js"
click node_config "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/utils/config.py"
click node_progress "https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/utils/progress.py"

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_pipeline,node_crawler,node_extractor,node_classifier,node_clusterer toneBlue
class node_summarizer,node_graphsum,node_sentiment,node_results toneAmber
class node_frontend,node_frontendjs,node_newsapi toneMint
class node_config,node_progress toneRose
class node_user,node_rss toneIndigo
```

## Components

### Processing workflow

- [Pipeline orchestrator](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/pipeline.py): `src/pipeline.py`
- [News crawler](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/news_crawler.py): `src/core/news_crawler.py`
- [Content extraction](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/content_extractor.py): `src/core/content_extractor.py`
- [Topic classification](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/topic_classifier.py): `src/core/topic_classifier.py`
- [Topic clustering](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/topic_clusterer.py): `src/core/topic_clusterer.py`

### Analysis and results

- [Multi-document summaries](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/summarizer.py): `src/core/summarizer.py`
- [Graph summaries](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/graph_summarizer.py): `src/core/graph_summarizer.py`
- [Sentiment and trends](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/tree/main/src/core): `src/core`
- [Result display](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/core/result_display.py): `src/core/result_display.py`

### User interface

- [Web dashboard](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/app/index.html): `app/index.html`
- [Dashboard interactions](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/app/script.js): `app/script.js`

### Shared utilities

- [Configuration](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/utils/config.py): `src/utils/config.py`
- [Progress reporting](https://github.com/ankitsharma-tech/advanced-news-finder-using-nlp/blob/main/src/utils/progress.py): `src/utils/progress.py`

### Other components

- **News analyst**
- **NewsAPI**
- **RSS feeds**

## Connections

- News analyst → Pipeline orchestrator: starts analysis (evidence: `README.md`)
- Pipeline orchestrator → News crawler: runs collection (evidence: `src/pipeline.py`)
- News crawler → NewsAPI: fetches articles (evidence: `src/core/news_crawler.py`)
- News crawler → RSS feeds: aggregates feeds (evidence: `README.md`)
- Pipeline orchestrator → Content extraction: runs extraction (evidence: `src/pipeline.py`)
- Pipeline orchestrator → Topic classification: runs classification (evidence: `src/pipeline.py`)
- Pipeline orchestrator → Topic clustering: runs clustering (evidence: `src/pipeline.py`)
- Pipeline orchestrator → Multi-document summaries: runs summarization (evidence: `src/pipeline.py`)
- Pipeline orchestrator → Graph summaries: runs graph summaries (evidence: `src/pipeline.py`)
- Pipeline orchestrator → Result display: runs display (evidence: `src/pipeline.py`)
- News analyst → Web dashboard: opens dashboard (evidence: `README.md`)
- Web dashboard → Dashboard interactions: loads interactions
- News analyst → Sentiment and trends: views analysis (evidence: `README.md`)
- Pipeline orchestrator → Configuration: creates directories (evidence: `src/pipeline.py`)
- Pipeline orchestrator → Progress reporting: reports progress (evidence: `src/pipeline.py`)
- News crawler → Configuration: reads settings (evidence: `src/core/news_crawler.py`)
- Content extraction → Configuration: reads settings (evidence: `src/core/content_extractor.py`)
- Topic classification → Configuration: reads settings (evidence: `src/core/topic_classifier.py`)
- Multi-document summaries → Configuration: reads settings (evidence: `src/core/summarizer.py`)
- Graph summaries → Configuration: reads settings (evidence: `src/core/graph_summarizer.py`)
- Result display → Configuration: reads settings (evidence: `src/core/result_display.py`)
