Home | History | Annotate | Download | only in i18n

Lines Matching defs:confidence

154     int32_t confidence          = 0;
180 return confidence;
188 // We don't have enough data to have any confidence.
190 confidence = 0;
195 confidence = 10;
198 return confidence;
206 confidence = 0;
208 return confidence;
213 // Assess confidence purely on having a reasonable number of
215 confidence = 30 + doubleByteCharCount - 20*badCharCount;
217 if (confidence > 100) {
218 confidence = 100;
227 confidence = (int32_t)(log((double)commonCharCount+1) * scaleFactor + 10.0);
229 confidence = min(confidence, 100);
232 if (confidence < 0) {
233 confidence = 0;
236 return confidence;
273 int32_t confidence = match_mbcs(det, commonChars_sjis, UPRV_LENGTHOF(commonChars_sjis));
274 results->set(det, this, confidence);
275 return (confidence > 0);
374 int32_t confidence = match_mbcs(det, commonChars_euc_jp, UPRV_LENGTHOF(commonChars_euc_jp));
375 results->set(det, this, confidence);
376 return (confidence > 0);
396 int32_t confidence = match_mbcs(det, commonChars_euc_kr, UPRV_LENGTHOF(commonChars_euc_kr));
397 results->set(det, this, confidence);
398 return (confidence > 0);
448 int32_t confidence = match_mbcs(det, commonChars_big5, UPRV_LENGTHOF(commonChars_big5));
449 results->set(det, this, confidence);
450 return (confidence > 0);
524 int32_t confidence = match_mbcs(det, commonChars_gb_18030, UPRV_LENGTHOF(commonChars_gb_18030));
525 results->set(det, this, confidence);
526 return (confidence > 0);