Home | History | Annotate | Download | only in i18n

Lines Matching refs:confidence

153     int32_t confidence          = 0;
179 return confidence;
187 // We don't have enough data to have any confidence.
189 confidence = 0;
194 confidence = 10;
197 return confidence;
205 confidence = 0;
207 return confidence;
212 // Assess confidence purely on having a reasonable number of
214 confidence = 30 + doubleByteCharCount - 20*badCharCount;
216 if (confidence > 100) {
217 confidence = 100;
226 confidence = (int32_t)(log((double)commonCharCount+1) * scaleFactor + 10.0);
228 confidence = min(confidence, 100);
231 if (confidence < 0) {
232 confidence = 0;
235 return confidence;
272 int32_t confidence = match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis));
273 results->set(det, this, confidence);
274 return (confidence > 0);
373 int32_t confidence = match_mbcs(det, commonChars_euc_jp, ARRAY_SIZE(commonChars_euc_jp));
374 results->set(det, this, confidence);
375 return (confidence > 0);
395 int32_t confidence = match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr));
396 results->set(det, this, confidence);
397 return (confidence > 0);
447 int32_t confidence = match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5));
448 results->set(det, this, confidence);
449 return (confidence > 0);
523 int32_t confidence = match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030));
524 results->set(det, this, confidence);
525 return (confidence > 0);