Skip to main content

VOCABULARY_SUGGESTION_MIN_SIMILARITY

Constant VOCABULARY_SUGGESTION_MIN_SIMILARITY 

Source
pub const VOCABULARY_SUGGESTION_MIN_SIMILARITY: f64 = 0.6;
Expand description

Jaro-Winkler similarity below which a candidate is not offered as a fix.

Jaro-Winkler rather than plain edit distance because it rewards a shared prefix, and a mistyped key name almost always keeps its prefix — body_length against body, entity_type against entity.