We are keen to contribute a DocTags parser to docling.rs.
Our use case is edge compute, so the small VLM path is the one that matters most
to us: Granite-Docling emitting DocTags. On device, a single small model plus a
DocTags parser is a lot lighter than pdfium plus the ONNX layout stack.
We could not find a DocTags parser on the Rust side yet. The format produced by
Granite-Docling has no importer in docling-core. We already have a working
pure-Rust implementation (tolerant lexer plus recursive-descent parser, no native
deps, panic-free on real degenerate output) and are happy to upstream it,
retargeted to DoclingDocument.
Questions:
- Is a DocTags to DoclingDocument parser in scope for docling-core (Rust)?
- Would you accept a PR targeting the DoclingDocument model in crates/docling-core?
- Any preference on placement (docling-core vs a separate crate) and target API?
We are keen to contribute a DocTags parser to docling.rs.
Our use case is edge compute, so the small VLM path is the one that matters most
to us: Granite-Docling emitting DocTags. On device, a single small model plus a
DocTags parser is a lot lighter than pdfium plus the ONNX layout stack.
We could not find a DocTags parser on the Rust side yet. The format produced by
Granite-Docling has no importer in docling-core. We already have a working
pure-Rust implementation (tolerant lexer plus recursive-descent parser, no native
deps, panic-free on real degenerate output) and are happy to upstream it,
retargeted to DoclingDocument.
Questions: