docling-project / docling-project/docling-java

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

Abierto
#557 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
134
Forks
26
Merge medio
12 h 25 min
PR fusionados (30 d)
45

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
backend
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
55/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.