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