Home
last modified time | relevance | path

Searched refs:lma_id (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Dsearchutility.cpp23 bool is_system_lemma(LemmaIdType lma_id) { in is_system_lemma() argument
24 return (0 < lma_id && lma_id <= kSysDictIdEnd); in is_system_lemma()
27 bool is_user_lemma(LemmaIdType lma_id) { in is_user_lemma() argument
28 return (kUserDictIdStart <= lma_id && lma_id <= kUserDictIdEnd); in is_user_lemma()
31 bool is_composing_lemma(LemmaIdType lma_id) { in is_composing_lemma() argument
32 return (kLemmaIdComposing == lma_id); in is_composing_lemma()
H A Dngram.cpp229 float NGram::get_uni_psb(LemmaIdType lma_id) { in get_uni_psb() argument
230 return static_cast<float>(freq_codes_[lma_freq_idx_[lma_id]]) + in get_uni_psb()
H A Dmatrixsearch.cpp686 LemmaIdType lma_id = lma_id_[pos]; in add_lma_to_userdict() local
687 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()
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Dsearchutility.h111 bool is_system_lemma(LemmaIdType lma_id);
112 bool is_user_lemma(LemmaIdType lma_id);
113 bool is_composing_lemma(LemmaIdType lma_id);
H A Dngram.h79 float get_uni_psb(LemmaIdType lma_id);
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Dsearchutility.h111 bool is_system_lemma(LemmaIdType lma_id);
112 bool is_user_lemma(LemmaIdType lma_id);
113 bool is_composing_lemma(LemmaIdType lma_id);
H A Dngram.h79 float get_uni_psb(LemmaIdType lma_id);