docling-project / docling-project/docling

[BEE] Layout Model detects 1 table instead of 2 or Table Model marks row 2 as col header instead of row 3

Open
#2,984 1 comment 0 reactions 0 assignees View on GitHub
bug triage/close-stale
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Bug

https://ibm.box.com/s/l0vbii0ijpa6rexsvr129awkck970ndp

This is the table output in html format from running the document below. Either there needs to be 2 tables (with the first being composed of the first 2 rows of the current table and with the first row of each table being composed of column header cells), or you can leave it as a single table (with the first and third rows being composed of column header cells). No other cells should be column headers. Right now the cells of the second row are being assigned column header status instead of those in the third row.

### Steps to reproduce

Run the following file through the Docling CLI:

https://ibm.box.com/s/jwytzrv6zks869m3r4xh1i4etbffdgin

### Docling version

2.70.0

### Python version

3.11.9

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.