Home
last modified time | relevance | path

Searched refs:prob123_entry (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/cld/encodings/compact_lang_det/
Dcompact_lang_det_impl.cc1795 const uint8* prob123_entry = cld::LgProb2TblEntry(prob123); in ApplyTLDHint() local
1797 if (top1 > 0) {lang_hint_boost[top1] += cld::LgProb3(prob123_entry, 0);} in ApplyTLDHint()
1799 if (top2 > 0) {lang_hint_boost[top2] += cld::LgProb3(prob123_entry, 1);} in ApplyTLDHint()
1801 if (top3 > 0) {lang_hint_boost[top3] += cld::LgProb3(prob123_entry, 2);} in ApplyTLDHint()
1817 const uint8* prob123_entry = cld::LgProb2TblEntry(prob123); in ApplyEncodingHint() local
1819 if (top1 > 0) {lang_hint_boost[top1] += cld::LgProb3(prob123_entry, 0);} in ApplyEncodingHint()
1821 if (top2 > 0) {lang_hint_boost[top2] += cld::LgProb3(prob123_entry, 1);} in ApplyEncodingHint()
1823 if (top3 > 0) {lang_hint_boost[top3] += cld::LgProb3(prob123_entry, 2);} in ApplyEncodingHint()
1838 const uint8* prob123_entry = cld::LgProb2TblEntry(prob123); in ApplyLanguageHint() local
1840 if (top1 > 0) {lang_hint_boost[top1] += cld::LgProb3(prob123_entry, 0);} in ApplyLanguageHint()
[all …]
Dcldutil.cc404 const uint8* prob123_entry = cld::LgProb2TblEntry(prob123); in ProcessProbV25Tote() local
407 if (top1 > 0) {tote->Add(top1, cld::LgProb3(prob123_entry, 0));} in ProcessProbV25Tote()
409 if (top2 > 0) {tote->Add(top2, cld::LgProb3(prob123_entry, 1));} in ProcessProbV25Tote()
411 if (top3 > 0) {tote->Add(top3, cld::LgProb3(prob123_entry, 2));} in ProcessProbV25Tote()