Home
last modified time | relevance | path

Searched refs:top_lmas_num_ (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Ddictbuilder.cpp165 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 …]
H A Ddicttrie.cpp39 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()
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Ddictbuilder.h67 size_t top_lmas_num_; variable
H A Ddicttrie.h84 uint32 top_lmas_num_; // Number of lemma with highest scores. variable
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Ddictbuilder.h67 size_t top_lmas_num_; variable
H A Ddicttrie.h84 uint32 top_lmas_num_; // Number of lemma with highest scores. variable