pdftract/crates
jedarden 8d1e411d7c fix(pdftract-3nwz): fix borderless table detection threshold and docs
Fix threshold logic in is_single_column_reflow to correctly detect
single-column paragraph reflow patterns. Changed from integer division
(< positions.len() / 2) to proper "more than half" check (* 2 < positions.len()).

Also update module documentation to reflect that borderless detection
is now implemented (7.2.2 complete).

Acceptance criteria:
-  Borderless 3x3 table detected via alignment heuristic
-  Unit tests: paragraph rejected, one-row rejected, vertical-gap test
-  Public TableDetector::detect_borderless(&PageContext) -> Vec<GridCandidate>
-  All 28 detector tests pass

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 22:30:06 -04:00
..
pdftract-cer-diff docs(pdftract-aawrz): add LICENSE-MIT and LICENSE-APACHE files 2026-05-23 10:36:28 -04:00
pdftract-cli feat(pdftract-27n3): implement border padding, pipeline orchestration, and fixtures 2026-05-23 21:55:11 -04:00
pdftract-core fix(pdftract-3nwz): fix borderless table detection threshold and docs 2026-05-23 22:30:06 -04:00
pdftract-libpdftract feat(pdftract-juc): implement Standard 14 font metrics registry 2026-05-23 14:04:02 -04:00
pdftract-py docs(pdftract-aawrz): add LICENSE-MIT and LICENSE-APACHE files 2026-05-23 10:36:28 -04:00