Searched refs:chunk_tote (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
D | cldutil.cc | 426 int* tote_grams, int gram_limit, Tote* chunk_tote) { in DoUniScoreV3() argument 449 ProcessProbV25UniTote(propval, chunk_tote); in DoUniScoreV3() 490 DbgScoreTop(src, (len * 2) / advance_by, chunk_tote); in DoUniScoreV3() 504 const char* isrc, int srclen, Tote* chunk_tote) { in DoBigramScoreV3() argument 541 ProcessProbV25Tote(probs, chunk_tote); in DoBigramScoreV3() 563 int* tote_grams, int gram_limit, Tote* chunk_tote) { in DoQuadScoreV3() argument 604 ProcessProbV25Tote(probs, chunk_tote); in DoQuadScoreV3() 653 DbgScoreTop(src, (len * 2) / advance_by, chunk_tote); in DoQuadScoreV3() 678 const char* isrc, int srclen, Tote* chunk_tote) { in DoOctaScoreV3() argument 721 ProcessProbV25Tote(probs, chunk_tote); in DoOctaScoreV3() [all …]
|
D | compact_lang_det_impl.cc | 1306 void ApplyLanguageHints(Tote* chunk_tote, int tote_grams, in ApplyLanguageHints() argument 1312 for (int sub = 0; sub < chunk_tote->MaxSize(); ++sub) { in ApplyLanguageHints() 1314 int lang_sub = chunk_tote->Key(sub); in ApplyLanguageHints() 1315 int new_value = chunk_tote->Value(sub) + in ApplyLanguageHints() 1317 chunk_tote->SetValue(sub, new_value); in ApplyLanguageHints() 1356 Tote* chunk_tote, in ScoreChunkIntoDoc() argument 1362 ApplyLanguageHints(chunk_tote, tote_grams, lang_hint_boost); in ScoreChunkIntoDoc() 1366 chunk_tote->Sort(2); in ScoreChunkIntoDoc() 1367 Language cur_lang = cld::UnpackLanguage(chunk_tote->Key(0)); in ScoreChunkIntoDoc() 1371 chunk_tote->Reinit(); in ScoreChunkIntoDoc() [all …]
|
D | cldutil.h | 1141 int* tote_grams, int gram_limit, Tote* chunk_tote); 1148 const char* isrc, int srclen, Tote* chunk_tote); 1155 int* tote_grams, int gram_limit, Tote* chunk_tote); 1161 const char* isrc, int srclen, Tote* chunk_tote); 1175 int GetReliability(int len, UnicodeLScript lscript, const Tote* chunk_tote); 1200 void DemoteNotTop40(Tote* chunk_tote, int packed_plus_one);
|
D | cldutil_dbg_empty.cc | 37 void DbgScoreTop(const char* src, int srclen, Tote* chunk_tote) {}; in DbgScoreTop() argument 47 void PrintLang(FILE* f, const Tote* chunk_tote, in PrintLang() argument
|
D | cldutil_dbg.h | 36 void DbgScoreTop(const char* src, int srclen, Tote* chunk_tote); 46 void PrintLang(FILE* f, const Tote* chunk_tote,
|