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> |
||
|---|---|---|
| .. | ||
| pdftract-cer-diff | ||
| pdftract-cli | ||
| pdftract-core | ||
| pdftract-libpdftract | ||
| pdftract-py | ||