Lines Matching refs:lemma_num_
149 lemma_num_ = 0;
181 lemma_num_ = lma_num;
182 lemma_arr_ = new LemmaEntry[lemma_num_];
188 scis_num_ = lemma_num_ * kMaxLemmaSize;
197 lma_nodes_ge1_ = new LmaNodeGE1[lemma_num_];
199 homo_idx_buf_ = new LemmaIdType[lemma_num_];
211 memset(lemma_arr_, 0, sizeof(LemmaEntry) * lemma_num_);
214 memset(lma_nodes_ge1_, 0, sizeof(LmaNodeGE1) * lemma_num_);
215 memset(homo_idx_buf_, 0, sizeof(LemmaIdType) * lemma_num_);
294 for (size_t pos = 0; pos < lemma_num_; pos++) {
361 lemma_num_ = 0;
510 lemma_num_ = read_raw_dict(fn_raw, fn_validhzs, 240000);
511 if (0 == lemma_num_)
539 for (size_t i = 0; i < lemma_num_; i++) {
568 lemma_arr_, lemma_num_);
573 ngram.build_unigram(lemma_arr_, lemma_num_,
574 lemma_arr_[lemma_num_ - 1].idx_by_hz + 1);
577 myqsort(lemma_arr_, lemma_num_, sizeof(LemmaEntry), compare_py);
587 lemma_arr_, 0, lemma_num_, 0);
680 if (NULL == lemma_arr_ || 0 == lemma_num_)
683 myqsort(lemma_arr_, lemma_num_, sizeof(LemmaEntry), cmp_lemma_entry_hzs);
687 for (size_t i = 1; i < lemma_num_; i++) {
700 if (NULL == scis_ || lemma_num_ * kMaxLemmaSize > scis_num_)
713 for (size_t pos = 0; pos < lemma_num_; pos++) {
745 for (size_t pos = 0; pos < lemma_num_; pos++) {