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

  /packages/inputmethods/PinyinIME/jni/share/
dictbuilder.cpp 165 top_lmas_num_ = 0;
184 top_lmas_num_ = 0;
290 top_lmas_num_ = 0;
295 if (0 == top_lmas_num_) {
297 top_lmas_num_ = 1;
301 if (lemma_arr_[pos].freq > top_lmas_[top_lmas_num_ - 1].freq) {
302 if (kTopScoreLemmaNum > top_lmas_num_)
303 top_lmas_num_ += 1;
306 for (move_pos = top_lmas_num_ - 1; move_pos > 0; move_pos--) {
316 } else if (kTopScoreLemmaNum > top_lmas_num_) {
    [all...]
dicttrie.cpp 39 top_lmas_num_ = 0;
125 if (fwrite(&top_lmas_num_, sizeof(size_t), 1, fp) != 1)
181 if (fread(&top_lmas_num_, sizeof(size_t), 1, fp) != 1 ||
182 top_lmas_num_ >= lma_idx_buf_len_)
919 size_t top_lmas_id_offset = lma_idx_buf_len_ / kLemmaIdSize - top_lmas_num_;
921 while (item_num < npre_max && top_lmas_pos < top_lmas_num_) {
  /packages/inputmethods/PinyinIME/jni/include/
dictbuilder.h 67 size_t top_lmas_num_; member in class:ime_pinyin::DictBuilder
dicttrie.h 84 size_t top_lmas_num_; // Number of lemma with highest scores. member in class:ime_pinyin::DictTrie

Completed in 43 milliseconds