https://txtfetch.com/glossary/reading-order/
Reading order
The sequence a document's text should be read in, left to right and top to bottom within each column. Extraction can recover it correctly or scramble it.
definition
Reading order is the sequence in which a document's text is meant to be read. This is not always the order its underlying data happens to store it in.
Also called: column order, text flow order
in-plain-terms
A PDF page doesn't store 'column one, then column two' as a concept. It stores individual text-drawing operators, each with its own position, in whatever order the file's producer happened to write them. A layout-aware extractor recovers reading order by clustering those operators back into columns and lines using their positions. A naive one just reads the operators in file order. On a multi-column page, this interleaves both columns mid-line.
Reading-order failures don't look like missing data. Every word from the page is usually present somewhere in the output. They look like a scrambled sentence instead, which is worse, because it reads as plausible instead of obviously broken.
example
Revenue grew Q3 was a strong quarter 34% year over year for the company, driven byTwo columns interleaved mid-sentence. Every word from the page is present, just not in the order a reader would encounter them.
why-it-matters
- A chunker draws sentence and paragraph boundaries over whatever order the text arrives in. It can't detect an interleaved column and un-scramble it after the fact.
- Reading-order failures pass a check that only asks 'did we get text back', since there's no missing-data or error signal to trip. Only reading the sentences back reveals they don't parse.
how-to-check
- Read the extracted text back. A scrambled multi-column page produces sentences that don't parse, even though every individual word is correct. See the columns-out-of-order symptom
related-terms
faq
- Is a reading-order failure the same as missing text?
- No. Every word from the page is usually present somewhere in the output. A reading-order failure means they're in the wrong sequence, which reads as a plausible but scrambled sentence rather than an obvious gap.
- Can I fix reading order after extraction?
- Not reliably. Chunking and downstream processing inherit whatever order extraction produced. A layout-aware extraction pass, or a higher-quality tier for a stubborn document, is what actually recovers the correct column order.
related-reading
See the term in real output.
Drop a file into the free reader and watch it happen.
Open the file reader →