Home | History | Annotate | Download | only in share

Lines Matching refs:dict_trie

506                              DictTrie *dict_trie) {
507 if (NULL == fn_raw || NULL == dict_trie)
566 dict_trie->dict_list_ = new DictList();
567 bool dl_success = dict_trie->dict_list_->init_list(scis_, scis_num_,
598 dict_trie->root_ = new LmaNodeLE0[lma_nds_used_num_le0_];
599 dict_trie->nodes_ge1_ = new LmaNodeGE1[lma_nds_used_num_ge1_];
601 dict_trie->lma_idx_buf_ = new unsigned char[lma_idx_num * kLemmaIdSize];
602 assert(NULL != dict_trie->root_);
603 assert(NULL != dict_trie->lma_idx_buf_);
604 dict_trie
605 dict_trie->lma_node_num_ge1_ = lma_nds_used_num_ge1_;
606 dict_trie->lma_idx_buf_len_ = lma_idx_num * kLemmaIdSize;
607 dict_trie->top_lmas_num_ = top_lmas_num_;
609 memcpy(dict_trie->root_, lma_nodes_le0_,
611 memcpy(dict_trie->nodes_ge1_, lma_nodes_ge1_,
615 id_to_charbuf(dict_trie->lma_idx_buf_ + pos * kLemmaIdSize,
623 id_to_charbuf(dict_trie->lma_idx_buf_ + pos * kLemmaIdSize, idx);