Home
last modified time | relevance | path

Searched refs:lemma_id (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/PinyinIME/jni/share/
Duserdict.cpp866 LmaScoreType UserDict::get_lemma_score(LemmaIdType lemma_id) { in _get_lpis() argument
869 if (is_valid_lemma_id(lemma_id) == false) in _get_lpis()
872 return translate_score(_get_lemma_score(lemma_id)); in _get_lpis()
882 int UserDict::_get_lemma_score(LemmaIdType lemma_id) { in _get_lpis() argument
885 if (is_valid_lemma_id(lemma_id) == false) in _get_lpis()
888 uint32 offset = offsets_by_id_[lemma_id - start_id_]; in _get_lpis()
975 bool UserDict::remove_lemma(LemmaIdType lemma_id) { in _get_lpis() argument
978 if (is_valid_lemma_id(lemma_id) == false) in _get_lpis()
980 uint32 offset = offsets_by_id_[lemma_id - start_id_]; in _get_lpis()
2124 LemmaIdType UserDict::update_lemma(LemmaIdType lemma_id, int16 delta_count, in _get_lpis() argument
[all …]
/packages/inputmethods/PinyinIME/jni/include/
Duserdict.h67 LemmaIdType update_lemma(LemmaIdType lemma_id, int16 delta_count,
73 LmaScoreType get_lemma_score(LemmaIdType lemma_id);
78 bool remove_lemma(LemmaIdType lemma_id);
312 int _get_lemma_score(LemmaIdType lemma_id);
Datomdictbase.h206 virtual LemmaIdType update_lemma(LemmaIdType lemma_id, int16 delta_count,
226 virtual LmaScoreType get_lemma_score(LemmaIdType lemma_id) = 0;
245 virtual bool remove_lemma(LemmaIdType lemma_id) = 0;
Ddicttrie.h206 LemmaIdType update_lemma(LemmaIdType lemma_id, int16 delta_count, in update_lemma() argument
212 LmaScoreType get_lemma_score(LemmaIdType lemma_id) {return 0;} in get_lemma_score() argument
217 bool remove_lemma(LemmaIdType lemma_id) {return false;} in remove_lemma() argument