docling-project / docling-project/docling

Complex tables with page breaks produce hallucitating results

Open
#2,790 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Bug
The extracted table contains misplaced column names and corrupt data parsing pipeline.

### Steps to reproduce
Source Image screenshot: (data obfuscated to not contain PHI)
Image

### Docling version
2.65.0

### Python version
3.14

Pipeline Options used:

pipeline_options.do_table_structure = True
pipeline_options.table_structure_options.do_cell_matching = True
pipeline_options.table_structure_options.mode = TableFormerMode("accurate")
pipeline_options.do_ocr = False // document has embedded text

Example of the markdown output using vlm:

[file.md](https://github.com/user-attachments/files/24180216/file.md)

Example of the markdown output using dl_parse_v4:

[file2.md](https://github.com/user-attachments/files/24180276/file2.md)

Screenshot from rendered markdown:

Image

All data is syntetic. No personal information shared

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.