How yp9435/hiremeow-lt works
Project type and purpose
• From the README and file tree, Hiremeow is a small full-stack Python application with a Streamlit frontend and ML-driven backend.
• Purpose: upload a resume, categorize it, extract skills/education/experience, and match to job listings with a compatibility score.
File structure
• Top-level:
• app.py (Streamlit entry point / UI)
• job_utils.py (business logic for matching and scoring)
• nlp_utils.py (text-processing logic: NER, regex)
• models/ (pre-trained Random Forest model + TF-IDF vectorizer)
• jobs.json (static data store of job listings)
• notebooks (analysis / prototyping in .ipynb files)
• No separate “backend” folder—frontend and backend run in the same Python process under Streamlit.
• Dependencies on external ML libraries: spaCy, SentenceTransformer, scikit-learn.
Pull additional insights from the README
• Frontend is served by Streamlit (no separate web server).
• ML Models (RF classifier + TF-IDF) are serialized under models/.
• The matching algorithm reads jobs.json in real time.
• Extraction uses spaCy for NER, custom regex for details.
Main components
a. User Interface (Streamlit app)
b. Business Logic Layer
• Classification Module (loads vectorizer + RF)
• Extraction Module (spaCy NER + regex pipelines)
• Matching Module (job_utils.py reading jobs.json)
c. Data Stores
• Serialized ML Models (models/)
• Static Job Listings (jobs.json)
d. External Services/Libraries
• spaCy language models
• SentenceTransformer embeddings
• scikit-learn classifier
e. User (browser) acting as the source of resume file uploads
Relationships and data flow
• User → Streamlit UI (app.py) →
• calls Classification Module → loads vectorizer & RF model → returns category
• calls Extraction Module → spaCy + regex → returns parsed fields
• calls Matching Module → compares parsed skills vs. jobs.json → returns scores
• Streamlit UI composes results and displays recommendations back to User.
• All modules share the same Python runtime but logically form separate layers.
Architectural patterns and design principles
• Layered Architecture: UI layer (Streamlit) → Service layer (business logic) → Data layer (models + JSON).
• Separation of Concerns:
• classification logic kept in its own module
• parsing logic isolated in nlp_utils.py
• matching and scoring in job_utils.py
• Reusability/Extensibility: new models or data sources can be plugged into their respective modules.