pub fn score_document(
document: &RenderedDocument,
weights: &RefineWeights,
profile: Option<&StyleProfile>,
) -> f32Expand description
Compute the composite score for document under weights and
profile. Returns a value in [0.0, sum_of_weights]. Higher is
better.