How srujannampally/dependency_parser works
NLP Dependency Parser is a Streamlit application: a user enters a sentence, the app processes it with spaCy, then displays token/POS analysis, named entities, a dependency visualization, and sentence statistics. These are distinct outputs of the same parsed document, not a sequence of processing stages. The runtime is implemented entirely in app.py; the graph separates its responsibilities for clarity. Edges reflect the calls and data use shown in that file; no other runtime modules are present in the supplied tree.
Main entry points: app.py Streamlit app
Components 9
User interaction
- Streamlit app
app.py
NLP analysis
- Model loader
app.py - spaCy model
- Sentence parser
app.py
Analysis results
- Token analysis
app.py - Named entities
app.py - Dependency graph
app.py - Sentence statistics
app.py
Other components
- User
Connections 12
- User → Streamlit app: enters sentence
app.py - Streamlit app → Model loader: loads model
app.py - Model loader → spaCy model: loads
app.py - Streamlit app → Sentence parser: parses sentence
app.py - Streamlit app → Token analysis: builds table
app.py - Streamlit app → Named entities: displays entities
app.py - Streamlit app → Dependency graph: renders dependencies
app.py - Streamlit app → Sentence statistics: computes metrics
app.py - Sentence parser → Token analysis: provides document
app.py - Sentence parser → Named entities: provides document
app.py - Sentence parser → Dependency graph: provides document
app.py - Sentence parser → Sentence statistics: provides document
app.py