WFGY/ProblemMap/GlobalFixMap/OCR_Parsing
2026-03-06 12:46:37 +00:00
..
checklists Create .gitkeep 2025-09-01 16:49:14 +08:00
eval Create .gitkeep 2025-09-01 16:49:22 +08:00
mvp_demo Create .gitkeep 2025-09-01 16:49:31 +08:00
ops Create .gitkeep 2025-09-01 16:49:40 +08:00
patterns Create .gitkeep 2025-09-01 16:49:48 +08:00
playbooks Create .gitkeep 2025-09-01 16:49:57 +08:00
tools Create .gitkeep 2025-09-01 16:50:05 +08:00
images_and_figures.md sync footer navigation (remove clinics, align PM versions) 2026-03-06 12:46:37 +00:00
layout_headers_and_footers.md sync footer navigation (remove clinics, align PM versions) 2026-03-06 12:46:37 +00:00
multi_language_and_fonts.md sync footer navigation (remove clinics, align PM versions) 2026-03-06 12:46:37 +00:00
README.md sync footer navigation (remove clinics, align PM versions) 2026-03-06 12:46:37 +00:00
scanned_pdfs_and_quality.md sync footer navigation (remove clinics, align PM versions) 2026-03-06 12:46:37 +00:00
tables_and_columns.md sync footer navigation (remove clinics, align PM versions) 2026-03-06 12:46:37 +00:00
tokenization_and_casing.md sync footer navigation (remove clinics, align PM versions) 2026-03-06 12:46:37 +00:00

OCR + Parsing — Global Fix Map

🏥 Quick Return to Emergency Room

You are in a specialist desk.
For full triage and doctors on duty, return here:

Think of this page as a sub-room.
If you want full consultation and prescriptions, go back to the Emergency Room lobby.

A hub to triage and repair noisy text inputs from scanned PDFs, images, HTML scraping, or parser drift.
Use this folder when the document looks fine to the eye but retrieval or reasoning keeps failing.


Orientation: what each page does

Page What it solves Typical symptom
Layout, Headers, Footers Remove noise from margins and repeated text Answers reference “page 3 footer” instead of body
Tokenization & Casing Normalize Unicode, case, and hyphens E-mailEmail, half-width/full-width mismatch
Tables & Columns Preserve table schema and cell order Numbers drift across columns
Images & Figures OCR and align captions Figure text missing or attached to wrong section
Scanned PDFs & Quality Handle skewed/blurred pages Whole sections unreadable to OCR
Multi-language & Fonts Normalize mixed scripts Chinese/English tokens split or duplicated

When to use

  • OCR tables or citations look visually correct but answers miss the right section.
  • Code blocks or math collapse after parsing.
  • Mixed-language documents behave inconsistently.
  • Special characters or hyphen splits break tokens.
  • Headers or section anchors disappear during export.

FAQ

Why does OCR “look fine” but retrieval fails?
Because tokenization and indexing see hidden breaks (Unicode variants, line merges, wrong anchors) that humans overlook.

What is the most common root cause?
Headers/footers leaking into the body and breaking ΔS alignment.

Do I need to retrain embeddings after fixing?
No — most fixes are structural (schema/normalization). Re-indexing with the same embeddings is enough.


Acceptance targets

  • ΔS(question, retrieved) ≤ 0.45 for three paraphrases.
  • Coverage ≥ 0.70 for the target section.
  • λ_observe convergent across two seeds.
  • Human audit shows no missing headers, captions, or broken tables.

Fix in 60 seconds

  1. Ground-truth one page
    Pick one Q/A pair and keep a screenshot baseline.

  2. Measure ΔS
    Log ΔS(question, retrieved) and ΔS(retrieved, anchor).

  3. Probe λ_observe
    Ask for cite-first. If citation fails but free explanation works, drift confirmed.

  4. Patch minimally

    • Re-run OCR with line/table fences
    • Normalize casing and Unicode
    • Preserve anchors, math, captions
    • Drop low-confidence spans and export with {section_id, page_no, char_span}

🔗 Quick-Start Downloads (60 sec)

Tool Link 3-Step Setup
WFGY 1.0 PDF Engine Paper 1 Download · 2 Upload · 3 Ask “Answer using WFGY + ”
TXT OS TXTOS.txt 1 Download · 2 Paste into LLM · 3 Type “hello world” — OS boots instantly

Explore More

Layer Page What its for
Proof WFGY Recognition Map External citations, integrations, and ecosystem proof
⚙️ Engine WFGY 1.0 Original PDF tension engine and early logic sketch (legacy reference)
⚙️ Engine WFGY 2.0 Production tension kernel for RAG and agent systems
⚙️ Engine WFGY 3.0 TXT based Singularity tension engine (131 S class set)
🗺️ Map Problem Map 1.0 Flagship 16 problem RAG failure taxonomy and fix map
🗺️ Map Problem Map 2.0 Global Debug Card for RAG and agent pipeline diagnosis
🗺️ Map Problem Map 3.0 Global AI troubleshooting atlas and failure pattern map
🧰 App TXT OS .txt semantic OS with fast bootstrap
🧰 App Blah Blah Blah Abstract and paradox Q&A built on TXT OS
🧰 App Blur Blur Blur Text to image generation with semantic control
🏡 Onboarding Starter Village Guided entry point for new users

If this repository helped, starring it improves discovery so more builders can find the docs and tools.
GitHub Repo stars