Home | History | Annotate | Download | only in text

Lines Matching defs:confidence

45      *             bits 0-7:  the match confidence, ranging from 0-100
56 int confidence = 0;
89 // We don't have enough data to have any confidence.
91 confidence = 0;
96 confidence = 10;
107 confidence = 0;
113 // Assess confidence purely on having a reasonable number of
115 confidence = 30 + doubleByteCharCount - 20*badCharCount;
116 if (confidence > 100) {
117 confidence = 100;
125 confidence = (int)(Math.log(commonCharCount+1) * scaleFactor + 10);
126 confidence = Math.min(confidence, 100);
130 return confidence;
228 int confidence = match(det, commonChars);
229 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
297 int confidence = match(det, commonChars);
298 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
412 int confidence = match(det, commonChars);
413 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
450 int confidence = match(det, commonChars);
451 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
551 int confidence = match(det, commonChars);
552 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);