← all concepts

DocumentChunker

Chrome's internal Blink algorithm that recursively walks a page's DOM layout tree to group text nodes into semantically cohesive passages of up to 200 words.

What it is

DocumentChunker is an internal algorithm in Google Chrome's rendering engine (Blink) that recursively traverses a page's DOM layout tree, grouping sibling and descendant text nodes into semantically cohesive passages of up to 200 words. Instead of treating a page as one flat blob of text, it breaks the content into meaningful chunks that reflect the document's own structure.

Chunking on the device like this is a building block for understanding pages where they are actually rendered. It sits close to other Chrome content systems such as DomDistiller and the Content Fetcher, it produces the passage-level units described in Content Node and Annotated Page Content (APC), and it yields the sort of passage a model later cites as a Grounding Chunk.

Related concepts

Method