Searched refs:MaxEditDistance (Results 1 – 3 of 3) sorted by relevance
73 unsigned MaxEditDistance) { in edit_distance() argument115 if (MaxEditDistance && BestThisRow > MaxEditDistance) in edit_distance()116 return MaxEditDistance + 1; in edit_distance()
3001 unsigned MaxEditDistance; member in __anon9853ef940411::TypoCorrectionConsumer3008 MaxEditDistance((std::numeric_limits<unsigned>::max)()), in TypoCorrectionConsumer()3039 return MaxEditDistance; in getMaxEditDistance()3043 return (BestResults.empty()) ? MaxEditDistance : BestResults.begin()->first; in getBestEditDistance()3069 if (MinED > MaxEditDistance || (MinED && Typo.size() / MinED < 3)) in FoundName()3075 std::min(unsigned((Typo.size() + 2) / 3), MaxEditDistance); in FoundName()3082 if (ED > MaxEditDistance) { in FoundName()3096 if (ED > MaxEditDistance) { in addKeywordResult()
167 unsigned MaxEditDistance = 0);