Back to Projects

BabelDOC

Preserving document structure, formulas, and layout cues in cross-language PDF reading.

Active maintenanceBabelDOC

BabelDOC uses an intermediate representation to separate visual layout metadata from semantic content in visually rich PDFs. Translation can use cross-page context, terminology, and formula placeholders before adaptive typesetting places the translated content back into the original layout. The open-source toolkit offers a command-line interface and Python API for integration into translation applications.

Research questions and engineering evidence

Hypotheses guide the research; evidence and limitations describe what has been examined and its scope.

01

Research question

How can PDF translation use document meaning and visual structure together while preserving layout?

02

Working hypothesis · to test

An intermediate representation separating semantics from layout can connect contextual translation and adaptive typesetting to address quality, terminology consistency, and layout fidelity together.

03

System and current stage

An open-source CLI and Python interface connect parsing, intermediate representation, terminology-aware contextual translation, and typesetting.

04

Available evidence

An open-source repository, demonstration video, and ACL 2026 System Demonstrations paper are linked. Consult the paper and repository for evaluation settings and results.

05

Limitations

Existing evaluations have specific document and language scopes; they do not establish equal performance on arbitrary scans, complex layouts, or languages.

06

Open problems

How can semantic, formula, layout, and readability errors be evaluated together on harder documents? How can people efficiently locate and correct translation errors?

Research and Open Source

The paper evaluates layout fidelity, visual quality, terminology consistency, and translation precision. The open-source toolkit and downstream applications bring document-understanding research into practical cross-language reading workflows.

Video