Package com.extractpdf4j.parsers
package com.extractpdf4j.parsers
PDF parsing strategies that convert document content into structured tables.
Example transaction rows extracted from a text-based PDF.
Choose a strategy
STREAM- Use text positions to group rows and columns in PDFs with selectable text.
LATTICE- Use visible horizontal and vertical rules to find cells in a table grid.
OCRSTREAM- Recognize text and locate columns in scanned pages.
HYBRID- Compare strategies for documents with mixed or unknown layouts.
-
ClassesClassDescriptionBaseParserExperimental hybrid parser that invokes an injected ML extractor only when the existing Stream, Lattice, and OCR strategies return no tables.HybridParserLatticeParserOcrStreamParser (header-aware): - Removes horizontal *and* vertical rules before OCR.StreamParser