Lines Matching refs:BestTC
5304 TypoCorrection BestTC = Consumer->getNextCorrection(); in CorrectTypo() local
5306 if (!BestTC) in CorrectTypo()
5309 ED = BestTC.getEditDistance(); in CorrectTypo()
5320 SecondBestTC.getEditDistance(false) > BestTC.getEditDistance(false)) { in CorrectTypo()
5321 const TypoCorrection &Result = BestTC; in CorrectTypo()
5336 if (BestTC.getCorrection().getAsString() != "super") { in CorrectTypo()
5338 BestTC = SecondBestTC; in CorrectTypo()
5340 BestTC = (*Consumer)["super"].front(); in CorrectTypo()
5344 if (BestTC.getEditDistance() == 0 || in CorrectTypo()
5345 BestTC.getCorrection().getAsString() != "super") in CorrectTypo()
5348 BestTC.setCorrectionRange(SS, TypoName); in CorrectTypo()
5349 return BestTC; in CorrectTypo()