How praveengk09-rgb/government-scheme-information-extraction-using-nlp works
This is a Streamlit dashboard for turning government-scheme PDFs, web pages, or demo text into structured scheme information. The main workflow is document input, text extraction, field extraction, then viewing or exporting results. The dashboard also presents text metrics and a language badge. Source excerpts show the application’s calls into the scraper and extractor; internal parser details and some UI wiring are only partially shown, so the graph keeps those responsibilities at module level.
Main entry points: app.py PDF, URL, Demo Input · scraper_pdf.py PDF & Web Text Extraction · extractor.py Nine-Field Extraction
Components 10
Dashboard
- Streamlit Dashboard
app.py - PDF, URL, Demo Input
app.py - Scheme Cards & JSON
app.py - Text Analytics
app.py - JSON Export
app.py
Text Ingestion
- PDF & Web Text Extraction
scraper_pdf.py
Scheme Analysis
- Nine-Field Extraction
extractor.py
Other components
- User
- Scheme Document
- Scheme Website
Connections 9
- User → Streamlit Dashboard: uses
README.md - User → PDF, URL, Demo Input: provides input
README.md - PDF, URL, Demo Input → PDF & Web Text Extraction: extracts text
app.py - Scheme Website → PDF & Web Text Extraction: provides page
scraper_pdf.py - PDF, URL, Demo Input → Nine-Field Extraction: submits demo text
app.py - PDF & Web Text Extraction → Nine-Field Extraction: passes text
app.py - Nine-Field Extraction → Scheme Cards & JSON: returns fields
app.py - Scheme Cards & JSON → JSON Export: exports JSON
README.md - Streamlit Dashboard → Text Analytics: shows metrics
README.md