Searched refs:kMaxValidEditDistance (Results 1 – 3 of 3) sorted by relevance
122 const int kMaxValidEditDistance = 3; in SpellcheckNode() local124 int min_distance = kMaxValidEditDistance + 1; in SpellcheckNode()128 i->first, path, kAllowReplacements, kMaxValidEditDistance); in SpellcheckNode()
396 const int kMaxValidEditDistance = 3; in SpellcheckStringV() local398 int min_distance = kMaxValidEditDistance + 1; in SpellcheckStringV()403 kMaxValidEditDistance); in SpellcheckStringV()
331 const size_t kMaxValidEditDistance = 3u; in SpellcheckString() local333 size_t min_distance = kMaxValidEditDistance + 1u; in SpellcheckString()336 size_t distance = EditDistance(word, text, kMaxValidEditDistance); in SpellcheckString()