Skip to main content

parse_score

Function parse_score 

Source
pub fn parse_score(cells: &[TextCell]) -> Option<f64>
Expand description

The page parse_score: the 10th-percentile rate_text_quality over the extracted text-layer cells (the quantile emphasises problem cells, matching docling’s page-preprocessing stage). Unset when the page has no text layer (a scanned page — docling’s nanquantile([]) is NaN there too).