#include <stdlib.h>
#include "evallm.h"
#include "idngram2lm.h"
Go to the source code of this file.
Functions | |
double | calc_prob_of (id__t sought_word, id__t *context, int context_length, ng_t *ng, arpa_lm_t *arpa_ng, fb_info *fb_list, int *bo_case, int *acl, flag arpa_lm) |
Definition in file calc_prob_of.c.
|
Definition at line 29 of file calc_prob_of.c. References arpa_bo_ng_prob(), bo_ng_prob(), CLOSED_VOCAB, flag, free(), i, quit(), rr_malloc(), arpa_lm_t::vocab_type, and ng_t::vocab_type. Referenced by compute_perplexity(), and validate(). |