How to Give Tesseract a User Words List for a Scanned PDF
Add your document's unusual words to Tesseract's user-words list so names and terms OCR recognises are spelled your way.
THE FIELD GUIDE
Find out whether a PDF has searchable text, choose OCR settings for scanned pages, and verify the resulting text layer.
Add your document's unusual words to Tesseract's user-words list so names and terms OCR recognises are spelled your way.
Add your document's code patterns to Tesseract's user-patterns file so serials and references keep their shape.
Check whether web addresses in a scanned PDF survive OCR intact, so a copied link actually opens the right page.
Check whether monospaced typewriter text in a scanned PDF is recognised cleanly, including its uneven ink and worn letters.
Try Tesseract's thresholding modes on a low-quality scan, and check which one separates text from background best.
Pick Tesseract's OCR engine mode — legacy, LSTM or both — for a scanned page, and check which reads your document best.
Check whether superscripts and subscripts in a scanned PDF survive OCR, so a squared value does not become a plain number.
Use OCRmyPDF's skip-text mode on a mixed PDF so pages with real text are left alone and only the scanned pages get…
Write OCRmyPDF's sidecar text to standard output to preview recognition quality before committing to a full PDF.
Check whether serial numbers in a scanned PDF survive OCR digit for digit, so a copied serial still identifies the right item.