docling-project / docling-project/docling

Cell text missing in table

Open
#2,064 3 comments 2 reactions 1 assignee Claimed by @maxmnemonic View on GitHub
bug table structure
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Bug

Cell text missing in table, which typically seemed to happen when there is big chunk of text in a specific column cell, compared to other cells.

I have a mock example here:
[mock-test.pdf](https://github.com/user-attachments/files/21542219/mock-test.pdf)

The last column Facility Number has got 7 numbers. But for the third (last row), it is missing the last number (BP-63812).

Product | Details | Material | Grade | Facility Number
-- | -- | -- | -- | --
0 | Alloy Pipe 2X | High-pressure industrial piping | 80% Steel, 20% Chromium | A | BP-27620 BP-27617 BP-27615 BP-27616 BP-27618 BP-63810 BP-63812
1 | FlexWeave Mat | Heat-resistant woven insulation mat | 60% Fiberglass, 40% Kevlar | B+ | BP-27620 BP-27617 BP-27615 BP-27616 BP-27618 BP-63810 BP-63812
2 | SolarCell-X7 | Photovoltaic panel for compact arrays | 45% Silicon, 30% Glass, 25% Copper | A+ | BP-27620 BP-27617 BP-27615 BP-27616 BP-27618 BP-63810

### Steps to reproduce

I am using these options:
`pipeline_options = PdfPipelineOptions(do_ocr=False, do_table_structure=True, table_structure_options={"mode": "accurate", "do_cell_matching": True})`

### Docling version

v2.42.2

### Python version

3.12

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.