HomeSort by relevance Sort by last modified time
    Searched refs:LmaScoreType (Results 1 - 9 of 9) sorted by null

  /packages/inputmethods/PinyinIME/jni/include/
ngram.h 33 static const LmaScoreType kMaxScore = 0x3fff;
36 // kScoreAmplifier, and we use LmaScoreType to store.
64 LmaScoreType *freq_codes_;
atomdictbase.h 226 virtual LmaScoreType get_lemma_score(LemmaIdType lemma_id) = 0;
236 virtual LmaScoreType get_lemma_score(char16 lemma_str[], uint16 splids[],
dictdef.h 69 typedef uint16 LmaScoreType;
dicttrie.h 212 LmaScoreType get_lemma_score(LemmaIdType lemma_id) {return 0;}
214 LmaScoreType get_lemma_score(char16 lemma_str[], uint16 splids[],
userdict.h 73 LmaScoreType get_lemma_score(LemmaIdType lemma_id);
75 LmaScoreType get_lemma_score(char16 lemma_str[], uint16 splids[],
292 LmaScoreType translate_score(int f);
  /packages/inputmethods/PinyinIME/jni/share/
ngram.cpp 170 if (fwrite(freq_codes_, sizeof(LmaScoreType), kCodeBookSize, fp) !=
197 freq_codes_ = static_cast<LmaScoreType*>
198 (malloc(kCodeBookSize * sizeof(LmaScoreType)));
203 if (fread(freq_codes_, sizeof(LmaScoreType), kCodeBookSize, fp) !=
289 freq_codes_ = new LmaScoreType[kCodeBookSize];
291 memset(freq_codes_, 0, sizeof(LmaScoreType) * kCodeBookSize);
334 freq_codes_[code_pos] = static_cast<LmaScoreType>(final_score);
dicttrie.cpp 324 static_cast<LmaScoreType>(ngram.get_uni_psb(lpi_items[lpi_num].id));
342 static_cast<LmaScoreType>(ngram.get_uni_psb(lpi_items[lpi_num].id));
818 static_cast<LmaScoreType>(ngram.get_uni_psb(lma_buf[ch_pos].id));
832 static_cast<LmaScoreType>(ngram.get_uni_psb(lma_buf[ch_pos].id));
userdict.cpp 73 inline LmaScoreType UserDict::translate_score(int raw_score) {
95 return (LmaScoreType)(log((double)factor * (double)ori_freq / tf)
866 LmaScoreType UserDict::get_lemma_score(LemmaIdType lemma_id) {
875 LmaScoreType UserDict::get_lemma_score(char16 lemma_str[], uint16 splids[],
    [all...]
matrixsearch.cpp 816 LmaScoreType score_chosen = lpi_items_[cand_id].psb;
    [all...]

Completed in 60 milliseconds