docling-project / docling-project/docling-java

docling-core: export DoclingDocument to markdown/text locally (Python parity)

Offen
#557 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
134
Forks
26
Ø Merge
12 Std. 25 Min.
Gemergte PRs (30 T.)
45

Beschreibung

DoclingDocument in Java deserializes from JSON, but there is no local export API (`export_to_markdown()` / `text`) like in Python.

We persist Docling JSON as canonical artifact and need text/md in later (async) document processing stages (moderation, etc.) without re-parsing the original file and without a Serve round-trip (JSON_DOCLING → md|text works but adds HTTP coupling).

Proposal: add local export in docling-core, e.g. `toMarkdown()` / `toText()`.

Use case: offline/async workers reading archived JSON only.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reading the DoclingDocument JSON model and comparing the requested local export behavior with Python's markdown and text exports. Implement and verify markdown/text output from archived Docling JSON without re-parsing the original file or using a Serve round-trip; done means both local export forms are available through the proposed API.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
backend
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.