# wasif-devop/wer-analysis-tool architecture

> Architecture diagram of the GitHub repository wasif-devop/wer-analysis-tool, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-07-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wasif-devop/wer-analysis-tool
- Repository: https://github.com/wasif-devop/wer-analysis-tool

## Diagram (Mermaid)

```mermaid
flowchart TD
    User["User (Browser / Client)"]:::external
    subgraph "Flask Application"
        A["app.py (Entry Point)"]:::api
        E["extensions.py"]:::api
        FH["file_handler.py"]:::logic
        NLP["nlp_processor.py"]:::logic
        WER["wer_calculator.py"]:::logic
        PDF["pdf_generator.py"]:::logic
        M["models.py (DB Models)"]:::storage
    end
    subgraph "Storage"
        DB["Database"]:::storage
        FS["uploads/"]:::storage
    end
    subgraph "Project Documentation"
        RE["README.md"]:::docs
        REQ["requirements.txt"]:::docs
    end

    User -->|Uploads Audio/Video| A
    A -->|Initialize Extensions| E
    A -->|Route to File Handler| FH
    FH -->|Save Media| FS
    FH -->|Send to Transcription| NLP
    NLP -->|Generate Transcript| WER
    WER -->|Store Metadata| M
    M -->|Persist| DB
    WER -->|Send for Report| PDF
    PDF -->|Save PDF| FS
    PDF -->|Serve to User| A

    click A "https://github.com/wasif-devop/wer-analysis-tool/blob/main/app.py"
    click E "https://github.com/wasif-devop/wer-analysis-tool/blob/main/extensions.py"
    click FH "https://github.com/wasif-devop/wer-analysis-tool/blob/main/file_handler.py"
    click NLP "https://github.com/wasif-devop/wer-analysis-tool/blob/main/nlp_processor.py"
    click WER "https://github.com/wasif-devop/wer-analysis-tool/blob/main/wer_calculator.py"
    click PDF "https://github.com/wasif-devop/wer-analysis-tool/blob/main/pdf_generator.py"
    click M "https://github.com/wasif-devop/wer-analysis-tool/blob/main/models.py"
    click FS "https://github.com/wasif-devop/wer-analysis-tool/tree/main/uploads/"
    click REQ "https://github.com/wasif-devop/wer-analysis-tool/blob/main/requirements.txt"
    click RE "https://github.com/wasif-devop/wer-analysis-tool/blob/main/README.md"

    classDef external fill:#f9f,stroke:#333,stroke-width:1px
    classDef api fill:#9f9,stroke:#333,stroke-width:1px
    classDef logic fill:#ff9,stroke:#333,stroke-width:1px
    classDef storage fill:#9ff,stroke:#333,stroke-width:1px
    classDef docs fill:#ccc,stroke:#333,stroke-width:1px
```
