docling-project / docling-project/docling
Bug: Misinterpretation of Table Headers and Pre-Table Text
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
### Bug
1. Table headers are being mistakenly treated as cell values.
2. The text before the table is being incorrectly used as the column header for all columns.
_**This issue occurs with both the accurate and fast table modes.**_
### Steps to reproduce
1. Parse this PDF: [test-docling-parser-11.pdf](https://github.com/user-attachments/files/18033822/test-docling-parser-11.pdf)
#### Table in PDF:

#### Parsed Table:

### Docling version
- Docling version: 2.8.3
- Docling Core version: 2.7.0
- Docling IBM Models version: 2.0.7
- Docling Parse version: 2.1.2
### Python version
Python 3.11.8
Contributor guide
Assessment
This issue has not been assessed yet.