Skip to main content

reconstruct

Function reconstruct 

Source
pub fn reconstruct(pages: &[Page]) -> Document
Expand description

Turn a page’s raw text spans into the semantic Document AST: split each page into reading-order columns, group spans into lines, then classify each line (or run of lines) as a heading, list, table, figure caption, or paragraph.