Searched refs:LemmaEntry (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/PinyinIME/jni/share/ |
D | dictbuilder.cpp | 92 size_t size1 = utf16_strlen(((const LemmaEntry*)p1)->hanzi_str); in cmp_lemma_entry_hzs() 93 size_t size2 = utf16_strlen(((const LemmaEntry*)p2)->hanzi_str); in cmp_lemma_entry_hzs() 99 return utf16_strcmp(((const LemmaEntry*)p1)->hanzi_str, in cmp_lemma_entry_hzs() 100 ((const LemmaEntry*)p2)->hanzi_str); in cmp_lemma_entry_hzs() 112 int ret = utf16_strcmp(((const LemmaEntry*)p1)->spl_idx_arr, in compare_py() 113 ((const LemmaEntry*)p2)->spl_idx_arr); in compare_py() 118 return static_cast<int>(((const LemmaEntry*)p2)->freq) - in compare_py() 119 static_cast<int>(((const LemmaEntry*)p1)->freq); in compare_py() 124 size_t size1 = utf16_strlen(((const LemmaEntry*)p1)->hanzi_str); in cmp_lemma_entry_hzspys() 125 size_t size2 = utf16_strlen(((const LemmaEntry*)p2)->hanzi_str); in cmp_lemma_entry_hzspys() [all …]
|
D | dictlist.cpp | 87 const LemmaEntry *lemma_arr, size_t lemma_num) { in init_list() 113 size_t DictList::calculate_size(const LemmaEntry* lemma_arr, size_t lemma_num) { in calculate_size() 178 void DictList::fill_list(const LemmaEntry* lemma_arr, size_t lemma_num) { in fill_list()
|
D | ngram.cpp | 244 bool NGram::build_unigram(LemmaEntry *lemma_arr, size_t lemma_num, in build_unigram()
|
/packages/inputmethods/PinyinIME/jni/include/ |
D | dictlist.h | 57 size_t calculate_size(const LemmaEntry *lemma_arr, size_t lemma_num); 63 void fill_list(const LemmaEntry *lemma_arr, size_t lemma_num); 90 const LemmaEntry *lemma_arr, size_t lemma_num);
|
D | dictbuilder.h | 39 LemmaEntry *lemma_arr_; 66 LemmaEntry *top_lmas_; 135 bool construct_subset(void* parent, LemmaEntry* lemma_arr,
|
D | ngram.h | 90 bool build_unigram(LemmaEntry *lemma_arr, size_t num,
|
D | dictdef.h | 140 struct LemmaEntry { struct
|