How ankitsharma-tech/advanced-news-finder-using-nlp works
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: pipeline.py Pipeline orchestrator · config.py Configuration · news_crawler.py News crawler · content_extractor.py Content extraction
Components 16
Processing workflow
- Pipeline orchestrator
src/pipeline.py - News crawler
src/core/news_crawler.py - Content extraction
src/core/content_extractor.py - Topic classification
src/core/topic_classifier.py - Topic clustering
src/core/topic_clusterer.py
Analysis and results
- Multi-document summaries
src/core/summarizer.py - Graph summaries
src/core/graph_summarizer.py - Sentiment and trends
src/core - Result display
src/core/result_display.py
User interface
- Web dashboard
app/index.html - Dashboard interactions
app/script.js
Shared utilities
- Configuration
src/utils/config.py - Progress reporting
src/utils/progress.py
Other components
- News analyst
- NewsAPI
- RSS feeds
Connections 21
- News analyst → Pipeline orchestrator: starts analysis
README.md - Pipeline orchestrator → News crawler: runs collection
src/pipeline.py - News crawler → NewsAPI: fetches articles
src/core/news_crawler.py - News crawler → RSS feeds: aggregates feeds
README.md - Pipeline orchestrator → Content extraction: runs extraction
src/pipeline.py - Pipeline orchestrator → Topic classification: runs classification
src/pipeline.py - Pipeline orchestrator → Topic clustering: runs clustering
src/pipeline.py - Pipeline orchestrator → Multi-document summaries: runs summarization
src/pipeline.py - Pipeline orchestrator → Graph summaries: runs graph summaries
src/pipeline.py - Pipeline orchestrator → Result display: runs display
src/pipeline.py - News analyst → Web dashboard: opens dashboard
README.md - Web dashboard → Dashboard interactions: loads interactions
- News analyst → Sentiment and trends: views analysis
README.md - Pipeline orchestrator → Configuration: creates directories
src/pipeline.py - Pipeline orchestrator → Progress reporting: reports progress
src/pipeline.py - News crawler → Configuration: reads settings
src/core/news_crawler.py - Content extraction → Configuration: reads settings
src/core/content_extractor.py - Topic classification → Configuration: reads settings
src/core/topic_classifier.py - Multi-document summaries → Configuration: reads settings
src/core/summarizer.py - Graph summaries → Configuration: reads settings
src/core/graph_summarizer.py - Result display → Configuration: reads settings
src/core/result_display.py