HomeSort by relevance Sort by last modified time
    Searched refs:LemmaIdType (Results 1 - 16 of 16) sorted by null

  /packages/inputmethods/PinyinIME/jni/include/
atomdictbase.h 64 virtual bool load_dict(const char *file_name, LemmaIdType start_id,
65 LemmaIdType end_id) = 0;
150 virtual uint16 get_lemma_str(LemmaIdType id_lemma, char16 *str_buf,
165 virtual uint16 get_lemma_splids(LemmaIdType id_lemma, uint16 *splids,
194 virtual LemmaIdType put_lemma(char16 lemma_str[], uint16 splids[],
206 virtual LemmaIdType update_lemma(LemmaIdType lemma_id, int16 delta_count,
217 virtual LemmaIdType get_lemma_id(char16 lemma_str[], uint16 splids[],
226 virtual LmaScoreType get_lemma_score(LemmaIdType lemma_id) = 0;
245 virtual bool remove_lemma(LemmaIdType lemma_id) = 0
    [all...]
dictdef.h 64 // LemmaIdType must always be size_t.
65 typedef size_t LemmaIdType;
81 const LemmaIdType kSysDictIdEnd = 500000;
84 const LemmaIdType kUserDictIdStart = 500001;
87 const LemmaIdType kUserDictIdEnd = 600000;
141 LemmaIdType idx_by_py;
142 LemmaIdType idx_by_hz;
dicttrie.h 104 inline LemmaIdType get_lemma_id(size_t id_offset);
142 bool try_extend(const uint16 *splids, uint16 splid_num, LemmaIdType id_lemma);
177 bool load_dict(const char *filename, LemmaIdType start_id,
178 LemmaIdType end_id);
180 LemmaIdType start_id, LemmaIdType end_id);
194 uint16 get_lemma_str(LemmaIdType id_lemma, char16 *str_buf, uint16 str_max);
196 uint16 get_lemma_splids(LemmaIdType id_lemma, uint16 *splids,
203 LemmaIdType put_lemma(char16 lemma_str[], uint16 splids[],
206 LemmaIdType update_lemma(LemmaIdType lemma_id, int16 delta_count
    [all...]
userdict.h 37 bool load_dict(const char *file_name, LemmaIdType start_id,
38 LemmaIdType end_id);
53 uint16 get_lemma_str(LemmaIdType id_lemma, char16* str_buf,
56 uint16 get_lemma_splids(LemmaIdType id_lemma, uint16 *splids,
64 LemmaIdType put_lemma(char16 lemma_str[], uint16 splids[],
67 LemmaIdType update_lemma(LemmaIdType lemma_id, int16 delta_count,
70 LemmaIdType get_lemma_id(char16 lemma_str[], uint16 splids[],
73 LmaScoreType get_lemma_score(LemmaIdType lemma_id);
78 bool remove_lemma(LemmaIdType lemma_id)
    [all...]
ngram.h 79 float get_uni_psb(LemmaIdType lma_id);
91 LemmaIdType next_idx_unused);
searchutility.h 111 bool is_system_lemma(LemmaIdType lma_id);
112 bool is_user_lemma(LemmaIdType lma_id);
113 bool is_composing_lemma(LemmaIdType lma_id);
dictbuilder.h 59 LemmaIdType *homo_idx_buf_;
106 void id_to_charbuf(unsigned char *buf, LemmaIdType id);
123 LemmaIdType sort_lemmas_by_hz();
dictlist.h 94 uint16 get_lemma_str(LemmaIdType id_hz, char16 *str_buf, uint16 str_max);
116 LemmaIdType get_lemma_id(const char16 *str, uint16 str_len);
matrixsearch.h 58 LemmaIdType id;
209 LemmaIdType lma_id_[kMaxRowNum];
293 uint16 get_lemma_str(LemmaIdType id_lemma, char16 *str_buf, uint16 str_max);
295 uint16 get_lemma_splids(LemmaIdType id_lemma, uint16 *splids,
  /packages/inputmethods/PinyinIME/jni/share/
dicttrie.cpp 95 inline LemmaIdType DictTrie::get_lemma_id(size_t id_offset) {
96 LemmaIdType id = 0;
244 bool DictTrie::load_dict(const char *filename, LemmaIdType start_id,
245 LemmaIdType end_id) {
277 long length, LemmaIdType start_id,
278 LemmaIdType end_id) {
599 LemmaIdType id_lemma) {
644 LemmaIdType id_this = get_lemma_id(node_le0->homo_idx_buf_off + homo_pos);
848 uint16 DictTrie::get_lemma_str(LemmaIdType id_lemma, char16 *str_buf,
853 uint16 DictTrie::get_lemma_splids(LemmaIdType id_lemma, uint16 *splids
    [all...]
searchutility.cpp 23 bool is_system_lemma(LemmaIdType lma_id) {
27 bool is_user_lemma(LemmaIdType lma_id) {
31 bool is_composing_lemma(LemmaIdType lma_id) {
ngram.cpp 229 float NGram::get_uni_psb(LemmaIdType lma_id) {
245 LemmaIdType next_idx_unused) {
256 LemmaIdType idx_now = 0;
userdict.cpp 204 inline LemmaIdType UserDict::get_max_lemma_id() {
210 inline bool UserDict::is_valid_lemma_id(LemmaIdType id) {
252 bool UserDict::load_dict(const char *file_name, LemmaIdType start_id,
253 LemmaIdType end_id) {
609 uint16 UserDict::get_lemma_str(LemmaIdType id_lemma, char16* str_buf,
627 uint16 UserDict::get_lemma_splids(LemmaIdType id_lemma, uint16 *splids,
856 LemmaIdType UserDict::get_lemma_id(char16 lemma_str[], uint16 splids[],
866 LmaScoreType UserDict::get_lemma_score(LemmaIdType lemma_id) {
882 int UserDict::_get_lemma_score(LemmaIdType lemma_id) {
975 bool UserDict::remove_lemma(LemmaIdType lemma_id)
    [all...]
dictbuilder.cpp 199 homo_idx_buf_ = new LemmaIdType[lemma_num_];
215 memset(homo_idx_buf_, 0, sizeof(LemmaIdType) * lemma_num_);
621 LemmaIdType idx =
640 void DictBuilder::id_to_charbuf(unsigned char *buf, LemmaIdType id) {
679 LemmaIdType DictBuilder::sort_lemmas_by_hz() {
686 LemmaIdType idx_max = 1;
886 LemmaIdType* idx_buf = homo_idx_buf_ + homo_idx_num_eq1_ +
955 LemmaIdType* idx_buf = homo_idx_buf_ + homo_idx_num_eq1_ +
dictlist.cpp 286 uint16 DictList::get_lemma_str(LemmaIdType id_lemma, char16 *str_buf,
348 LemmaIdType DictList::get_lemma_id(const char16 *str, uint16 str_len) {
358 return static_cast<LemmaIdType>
matrixsearch.cpp 622 LemmaIdType id = lpi_items_[cand_id].id;
663 LemmaIdType lma_id = lma_id_[pos];
815 LemmaIdType id_chosen = lpi_items_[cand_id].id;
    [all...]

Completed in 39 milliseconds