Home | History | Annotate | Download | only in share

Lines Matching refs:NGram

24 #include "../include/ngram.h"
151 NGram &ngram = NGram::get_instance();
158 !save_dict(fp) || !ngram.save_ngram(fp)) {
262 NGram &ngram = NGram::get_instance();
265 !load_dict(fp) || !ngram.load_ngram(fp) ||
300 NGram &ngram = NGram::get_instance();
303 !load_dict(fp) || !ngram.load_ngram(fp) ||
318 NGram& ngram = NGram::get_instance();
324 static_cast<LmaScoreType>(ngram.get_uni_psb(lpi_items[lpi_num].id));
337 NGram& ngram = NGram::get_instance();
342 static_cast<LmaScoreType>(ngram.get_uni_psb(lpi_items[lpi_num].id));
799 NGram &ngram = NGram::get_instance();
818 static_cast<LmaScoreType>(ngram.get_uni_psb(lma_buf[ch_pos].id));
832 static_cast<LmaScoreType>(ngram.get_uni_psb(lma_buf[ch_pos].id));
895 NGram& ngram = NGram::get_instance();
896 ngram.set_total_freq_none_sys(count);
916 NGram &ngram = NGram::get_instance();
930 npre_items[item_num].psb = ngram.get_uni_psb(top_lma_id);