OCR Text Verification
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_b818ef37/ocr-check.
About this skill
Problem Being Solved
OCR text often contains clause skips, bottom-of-page truncation, missing sub-clauses, 1 misread as l, incomplete formulas, and mixed version content. Manual page-by-page review is slow and hard to keep consistent. This skill targets OCR output after PDF-to-text conversion and provides an executable check-and-repair workflow for structured documents such as quantity lists, standard clauses, appendices, tables, and formulas.
How It Works
- Four-stage check: extract
X.Y.Zclause numbers with regex and verify continuity → compare PDF pages against OCR text page by page for truncation, misalignment, cross-references, and version differences → run script-based fallback checks → sample-validate formulas, amounts, core definitions, and repaired areas. - Six-dimension review: beyond clause numbering, it covers completeness, page mapping, character accuracy, cross-reference consistency, and version consistency, reducing the blind spots of manual checks that only look for obvious omissions.
- Repair loop: prioritize issues from
P0toP3, restore missing or truncated content from PDF pages, then rerun checks and sample validation to avoid introducing new problems.
Boundaries And Notes
It fits documents with section numbers, clause numbers, table indexes, and appendix references. For blurry scans, complex layouts, or image-only non-clause content, base OCR quality must still be ensured first; formulas, cross-page tables, dual page-number systems, and version-difference regions remain high-risk and require manual review against the original pages.
Use Cases
- After converting a GB/T 50500-2024 quantity-list PDF to text, check clause-number skips and missing clauses chapter by chapter.
- Compare scanned PDF pages with OCR text to locate bottom-of-page truncation, missing sub-clauses, and incomplete formulas.
- Validate appendix references, page mappings, and table continuation in an engineering quantity list.
- Repair OCR character errors, mixed punctuation, and digit misreads, then rerun checks to confirm continuity.
Best For
- Quantity-list engineers who process OCR output and need to find skipped, truncated, or missing clauses.
- Documentation engineers maintaining digital standards who need to verify appendices, tables, and page mappings.
- Data engineers cleaning OCR text who need to classify and repair character, punctuation, and formula errors.
- Technical editors who must review clause continuity and key formulas before final package delivery.
Related Skills
Organizes files by extension into subfolders like Documents, Code, and Archives, then outputs a report.
Extract tables, formulas, charts, and layout from invoices, reports, papers, and multi-column documents.
Generates a multi-sheet Excel report containing only structured data tables from byteplan-analysis results.
Automatically sort directory files into type-based folders, with dry-run preview, reports, and JSON custom rules.