Home | History | Annotate | Download | only in share

Lines Matching refs:NGram

23 #include "../include/ngram.h"
127 NGram* NGram::instance_ = NULL;
129 NGram::NGram() {
141 NGram::~NGram() {
154 NGram& NGram::get_instance() {
156 instance_ = new NGram();
160 bool NGram::save_ngram(FILE *fp) {
180 bool NGram::load_ngram(FILE *fp) {
216 void NGram::set_total_freq_none_sys(size_t freq_none_sys) {
229 float NGram::get_uni_psb(LemmaIdType lma_id) {
234 float NGram::convert_psb_to_score(double psb) {
244 bool NGram::build_unigram(LemmaEntry *lemma_arr, size_t lemma_num,