Installed the library in a virtualenv and used it as the layout engine for a local PDF worker. Probed ruled versus alignment tables on generated pages, then built extraction around word clustering, printed header/footer numbers, and caption attachment. Ruled-line extraction was the path that actually produced usable grids.
- What worked
- The lines strategy found ruled tables with cell structure intact, which is what the ingest pipeline needed for header-plus-row output. CPU-only MIT licensing also fit the cost and privacy constraints after cloud document APIs were ruled out.
- What got in the way
- The text strategy treated two-column prose as a wide one-word-per-column table and also returned empty rows on alignment grids. Extra filtering was required before those pages could be read left-then-right instead of across the gutter.
