pub(crate) fn name_score(object: &str, candidate: &str) -> u16
Score how well object names candidate (per-mille): exact = 1000, otherwise the share of the longer side’s tokens that match.
object
candidate