docling-project / docling-project/docling-core

Why is `missing-text` set?

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
282
Forks
214
Avg merge
2d 15h
Merged PRs (30d)
21

Description

At https://github.com/DS4SD/docling-core/blob/f464be5521a92a21cb312b2d7f68489487b63b10/docling_core/types/doc/document.py#L2140

this value is set.

This value pops up as `DoclingDocument`'s `export_to_markdown()` return value in some cases. What's the benefit of this placeholder over the empty string? Using the empty string allows us to detect missing text in a standard (Pythonic) way, using truthiness or length.

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.