AlgoViz

Chunking documents with internal structure

medium 7 min

A structured document encodes meaning in relationships.

Trace the example

Follow the evidence through each stage, then test a change in the case.

Which column owns the value 19.95?

Which column owns the value 19.95?. Selected component: Price table inside Document layout.
Open full-size diagram

Document layout

Monthly · Annual

Reading order and repeated headers matter. On a scanned page two amounts can sit next to each other with no repeated currency or period label.

The OCR value is exact but the chunk omits the column header. Can it support a claim about annual price?