Searched refs:top_lmas_num_ (Results 1 – 6 of 6) sorted by relevance
165 top_lmas_num_ = 0; in DictBuilder()184 top_lmas_num_ = 0; in alloc_resource()290 top_lmas_num_ = 0; in get_top_lemmas()295 if (0 == top_lmas_num_) { in get_top_lemmas()297 top_lmas_num_ = 1; in get_top_lemmas()301 if (lemma_arr_[pos].freq > top_lmas_[top_lmas_num_ - 1].freq) { in get_top_lemmas()302 if (kTopScoreLemmaNum > top_lmas_num_) in get_top_lemmas()303 top_lmas_num_ += 1; in get_top_lemmas()306 for (move_pos = top_lmas_num_ - 1; move_pos > 0; move_pos--) { in get_top_lemmas()316 } else if (kTopScoreLemmaNum > top_lmas_num_) { in get_top_lemmas()[all …]
39 top_lmas_num_ = 0; in DictTrie()125 if (fwrite(&top_lmas_num_, sizeof(uint32), 1, fp) != 1) in save_dict()180 if (fread(&top_lmas_num_, sizeof(uint32), 1, fp) != 1 || in load_dict()181 top_lmas_num_ >= lma_idx_buf_len_) in load_dict()918 size_t top_lmas_id_offset = lma_idx_buf_len_ / kLemmaIdSize - top_lmas_num_; in predict_top_lmas()920 while (item_num < npre_max && top_lmas_pos < top_lmas_num_) { in predict_top_lmas()
67 size_t top_lmas_num_; variable
84 uint32 top_lmas_num_; // Number of lemma with highest scores. variable