Open P2PayPeer opened 8 months ago
NER
(Named Entity Recognition)flowchart TD
A[Start OCR Process] --> B[Receive Image Page]
B --> C[Preprocess Image]
C --> D[Apply OCR to Image]
D --> E[Extracted Text]
E --> F[Split Text into Sentences/Phrases]
F --> G[Present Text to User for Initial Review]
G --> H{User Edits?}
H -->|Yes| I[User Edits Text]
I --> J[Finalized Text from User]
H -->|No| J
J --> K[Apply NER Model]
K --> L[Identify Entities]
L --> M[Tag Entities with IDs]
M --> N[Present Tagged Text to User]
N --> O{User Edits Tags?}
O -->|Yes| P[User Edits Entity Tags]
P --> Q[Updated Tagged Text]
O -->|No| Q
Q --> R[Store Tagged Text in Data Structure]
R --> S{More Pages/Text?}
S -->|Yes| B
S -->|No| T[End OCR & NER Process]
T --> U[Proceed to Next Step in Data Pipeline]
cbr-webui.py