Lines Matching defs:confidence
113 // since 'buf' is empty, ICU would return a UTF-8 matcher with low confidence, so
130 // the ISO detector reports a confidence of 0, while the GB18030 detector reports
131 // a confidence of 10 with no invalid characters)
199 ALOGV("@@@@ recognized charset: %s for %s confidence %d",
275 * - recalculate the starting confidence level for multibyte encodings using a different
279 * - signal to the caller whether this match is considered good: confidence > 15, and confidence
294 int confidence = ucsdet_getConfidence(ucma[i], &status);
295 ALOGV("%zu: %s %d", i, encname, confidence);
304 int confidence = ucsdet_getConfidence(matches[0], &status);
305 if (confidence > 15) {
321 int confidence = ucsdet_getConfidence(matches[i], &status);
339 ALOGV("%zu: %s %d", i, encname, confidence);
345 confidence = 0;
396 ALOGV("ICU confidence: %d, my confidence: %d (%d %d)", confidence, myconfidence,
400 confidence = myconfidence;
402 ALOGV("%d-%d=%d", confidence, demerit, confidence - demerit);
403 newconfidence.push_back(confidence - demerit);
405 if (i == 0 && (confidence - demerit) == 100) {
411 // find match with highest confidence after adjusting for unlikely characters
429 ALOGV("selecting: '%s' w/ %d confidence",
437 ALOGV("runner up: '%s' w/ %d confidence",