Searched refs:lma_id (Results 1 – 7 of 7) sorted by relevance
23 bool is_system_lemma(LemmaIdType lma_id) { in is_system_lemma() argument24 return (0 < lma_id && lma_id <= kSysDictIdEnd); in is_system_lemma()27 bool is_user_lemma(LemmaIdType lma_id) { in is_user_lemma() argument28 return (kUserDictIdStart <= lma_id && lma_id <= kUserDictIdEnd); in is_user_lemma()31 bool is_composing_lemma(LemmaIdType lma_id) { in is_composing_lemma() argument32 return (kLemmaIdComposing == lma_id); in is_composing_lemma()
229 float NGram::get_uni_psb(LemmaIdType lma_id) { in get_uni_psb() argument230 return static_cast<float>(freq_codes_[lma_freq_idx_[lma_id]]) + in get_uni_psb()
686 LemmaIdType lma_id = lma_id_[pos]; in add_lma_to_userdict() local687 if (is_user_lemma(lma_id)) { in add_lma_to_userdict()688 user_dict_->update_lemma(lma_id, 1, true); in add_lma_to_userdict()693 uint16 tmp = get_lemma_str(lma_id, word_str + spl_id_fr, in add_lma_to_userdict()697 tmp = get_lemma_splids(lma_id, spl_ids + spl_id_fr, lma_len, true); in add_lma_to_userdict()
111 bool is_system_lemma(LemmaIdType lma_id);112 bool is_user_lemma(LemmaIdType lma_id);113 bool is_composing_lemma(LemmaIdType lma_id);
79 float get_uni_psb(LemmaIdType lma_id);