#include "evallm.h"
#include "idngram2lm.h"
#include <stdlib.h>
#include <math.h>
Go to the source code of this file.
Functions | |
void | arpa_bo_ng_prob (int context_length, id__t *sought_ngram, arpa_lm_t *arpa_ng, int verbosity, double *p_prob, int *bo_case) |
|
Definition at line 25 of file arpa_bo_ng_prob.c. References arpa_lm_t::bo_weight, flag, fprintf(), free(), get_full_index(), i, arpa_lm_t::ind, arpa_lm_t::num_kgrams, arpa_lm_t::probs, arpa_lm_t::ptr_table, arpa_lm_t::ptr_table_size, rr_malloc(), verbosity, arpa_lm_t::vocab_size, and arpa_lm_t::word_id. Referenced by calc_prob_of(). |