Skip to content

[Question] DocTags parser for docling-core (Rust)? #152

Description

@pjmalandrino

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:

  1. Is a DocTags to DoclingDocument parser in scope for docling-core (Rust)?
  2. Would you accept a PR targeting the DoclingDocument model in crates/docling-core?
  3. Any preference on placement (docling-core vs a separate crate) and target API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionProposal / needs discussion before commitment

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions