Lines Matching defs:BestTC
5368 TypoCorrection BestTC = Consumer->getNextCorrection();
5370 if (!BestTC)
5373 ED = BestTC.getEditDistance();
5384 SecondBestTC.getEditDistance(false) > BestTC.getEditDistance(false)) {
5385 const TypoCorrection &Result = BestTC;
5400 if (BestTC.getCorrection().getAsString() != "super") {
5402 BestTC = SecondBestTC;
5404 BestTC = (*Consumer)["super"].front();
5408 if (BestTC.getEditDistance() == 0 ||
5409 BestTC.getCorrection().getAsString() != "super")
5412 BestTC.setCorrectionRange(SS, TypoName);
5413 return BestTC;