Searched refs:top_lmas_ (Results 1 – 3 of 3) sorted by relevance
164 top_lmas_ = NULL; in DictBuilder()185 top_lmas_ = new LemmaEntry[kTopScoreLemmaNum]; in alloc_resource()203 if (NULL == lemma_arr_ || NULL == top_lmas_ || in alloc_resource()296 top_lmas_[0] = lemma_arr_[pos]; in get_top_lemmas()301 if (lemma_arr_[pos].freq > top_lmas_[top_lmas_num_ - 1].freq) { in get_top_lemmas()307 top_lmas_[move_pos] = top_lmas_[move_pos - 1]; in get_top_lemmas()310 top_lmas_[move_pos - 2].freq > lemma_arr_[pos].freq)) { in get_top_lemmas()315 top_lmas_[move_pos - 1] = lemma_arr_[pos]; in get_top_lemmas()317 top_lmas_[top_lmas_num_] = lemma_arr_[pos]; in get_top_lemmas()325 printf("--%d, idx:%06d, score:%.5f\n", pos, top_lmas_[pos].idx_by_hz, in get_top_lemmas()[all …]
66 LemmaEntry *top_lmas_; variable