Home | History | Annotate | Download | only in compact_lang_det

Lines Matching refs:cld

96 uint32 cld::BiHashV25(const char* word_ptr, int bytecount) {
184 uint32 cld::QuadHashV25(const char* word_ptr, int bytecount) {
198 uint32 cld::QuadHashV25Underscore(const char* word_ptr, int bytecount) {
338 uint64 cld::OctaHash40(const char* word_ptr, int bytecount) {
356 uint64 cld::OctaHash40underscore(const char* word_ptr, int bytecount) {
386 void cld::ProcessProbV25UniTote(int propval, Tote* tote) {
389 if (pa->probs[0] > 0) {tote->Add(cld::PackLanguage(CHINESE), pa->probs[0]);}
390 if (pa->probs[1] > 0) {tote->Add(cld::PackLanguage(CHINESE_T), pa->probs[1]);}
391 if (pa->probs[2] > 0) {tote->Add(cld::PackLanguage(JAPANESE), pa->probs[2]);}
392 if (pa->probs[3] > 0) {tote->Add(cld::PackLanguage(KOREAN), pa->probs[3]);}
393 if (pa->probs[4] > 0) {tote->Add(cld::PackLanguage(VIETNAMESE), pa->probs[4]);}
394 if (pa->probs[5] > 0) {tote->Add(cld::PackLanguage(ZHUANG), pa->probs[5]);}
401 void cld::ProcessProbV25Tote(uint32 probs, Tote* tote) {
404 const uint8* prob123_entry = cld::LgProb2TblEntry(prob123);
407 if (top1 > 0) {tote->Add(top1, cld::LgProb3(prob123_entry, 0));}
409 if (top2 > 0) {tote->Add(top2, cld::LgProb3(prob123_entry, 1));}
411 if (top3 > 0) {tote->Add(top3, cld::LgProb3(prob123_entry, 2));}
424 int cld::DoUniScoreV3(const UTF8PropObj* unigram_obj,
503 int cld::DoBigramScoreV3(const cld::CLDTableSummary* bigram_obj,
561 int cld::DoQuadScoreV3(const cld::CLDTableSummary* quadgram_obj,
677 int cld::DoOctaScoreV3(const cld::CLDTableSummary* octagram_obj,
764 int cld::ReliabilityDelta(int value1, int value2, int gramcount) {
779 return cld::minint(max_reliability_percent,
789 int cld::ReliabilityMainstream(int topscore, int len, int mean_score) {
811 double cld::GetNormalizedScore(Language lang, UnicodeLScript lscript,
839 int cld::GetReliability(int len, UnicodeLScript lscript,
868 cld::DbgLangName3(UnpackLanguage(chunk_tote->Key(0)), temp1);
870 cld::DbgLangName3(UnpackLanguage(chunk_tote->Key(1)), temp2);
898 void cld::DemoteNotTop40(Tote* chunk_tote, int packed_plus_one) {