docling-project / docling-project/docling-java
docling-core: export DoclingDocument to markdown/text locally (Python parity)
- 主要言語
- Java
- スター
- 134
- フォーク
- 26
- 平均マージ
- 12時間 25分
- マージ済み PR(30日)
- 45
説明
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.
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100