docling-project / docling-project/docling

Docling misses parsing certain lines in a PDF file

Open
#2,127 2 comments 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

PDF parser doesn't parse the line `02` of the given PDF

### Steps to reproduce

1. Convert the attached file to JSON
```sh
docling --to json --table-mode accurate -vv --image-export-mode placeholder --num-threads 8 --pdf-backend dlparse_v4 akleg.gov_basis_Bill_Plaintext_24_Hsid=HB0270A\ \(1\).pdf
```
2. Note the line 01 in the PDF
Image

3. Observe the JSON output (also attached)

`report security freezes` is present which is 02, `HOUSE BILL NO. 270` is also present 00, but `01` is missing.

### Docling version
Docling version: 2.45.0
Docling Core version: 2.43.1
Docling IBM Models version: 3.9.0
Docling Parse version: 4.0.4
Python: cpython-312 (3.12.10)
Platform: macOS-15.6-arm64-arm-64bit

### Python version
Python 3.12.10

PDF:
[akleg.gov_basis_Bill_Plaintext_24_Hsid=HB0270A (1).pdf](https://github.com/user-attachments/files/21955746/akleg.gov_basis_Bill_Plaintext_24_Hsid.HB0270A.1.pdf)

JSON:
[akleg.gov_basis_Bill_Plaintext_24_Hsid=HB0270A (1).json](https://github.com/user-attachments/files/21955749/akleg.gov_basis_Bill_Plaintext_24_Hsid.HB0270A.1.json)

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.