Home
last modified time | relevance | path

Searched refs:is_reliable (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/cld/encodings/compact_lang_det/
Dcompact_lang_det.cc20 bool* is_reliable) { in DetectLanguage() argument
47 is_reliable); in DetectLanguage()
64 bool* is_reliable) { in DetectLanguageSummary() argument
88 is_reliable); in DetectLanguageSummary()
109 bool* is_reliable) { in DetectLanguageSummary() argument
130 is_reliable); in DetectLanguageSummary()
151 bool* is_reliable) { in ExtDetectLanguageSummary() argument
175 is_reliable); in ExtDetectLanguageSummary()
196 bool* is_reliable) { in ExtDetectLanguageSummary() argument
217 is_reliable); in ExtDetectLanguageSummary()
[all …]
Dcompact_lang_det.h112 bool* is_reliable);
124 bool* is_reliable);
140 bool* is_reliable);
158 bool* is_reliable);
180 bool* is_reliable);
199 bool* is_reliable);
Dcompact_lang_det_impl.cc1651 const int* text_bytes, const bool* is_reliable) { in PrintLangs() argument
1656 *is_reliable ? "" : "*", in PrintLangs()
1851 int* text_bytes, bool* is_reliable) { in ExtractLangEtc() argument
1866 *is_reliable = false; in ExtractLangEtc()
1944 *is_reliable = reliable_percent >= cld::kMinReliable; in ExtractLangEtc()
1948 *is_reliable = true; in ExtractLangEtc()
1992 Language* summary_lang, bool* is_reliable) { in CalcSummaryLang() argument
2000 *is_reliable = true; in CalcSummaryLang()
2001 if (percent3[0] < kKeepMinPercent) {*is_reliable = false;} in CalcSummaryLang()
2016 if (percent3[active_slot[0]] < kKeepMinPercent) {*is_reliable = false;} in CalcSummaryLang()
[all …]
Dcompact_lang_det_unittest_small.cc414 bool is_reliable; in TestCompactLangDetPlain() local
418 &is_reliable); in TestCompactLangDetPlain()
429 bool is_reliable; in TestExtCompactLangDetPlain() local
437 &is_reliable); in TestExtCompactLangDetPlain()
Dcompact_lang_det_impl.h161 bool* is_reliable);
/external/chromium_org/components/translate/core/language_detection/
Dlanguage_detection_util.cc92 bool is_reliable = false; in DetermineTextLanguage() local
103 DetectLanguageOfUnicodeText(NULL, text.c_str(), true, &is_reliable, in DetermineTextLanguage()
118 &text_bytes, &is_reliable); in DetermineTextLanguage()
131 *is_cld_reliable = is_reliable; in DetermineTextLanguage()
139 if (is_reliable && text_bytes >= 100 && is_valid_language) { in DetermineTextLanguage()
/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/
Dcld_unicodetext.cc42 bool* is_reliable, int* num_languages, in DetectLanguageOfUnicodeText() argument
68 &text_bytes_tmp, is_reliable); in DetectLanguageOfUnicodeText()
Dcld_unicodetext.h36 bool* is_reliable, int* num_languages,