#include "evallm.h"
Go to the source code of this file.
Functions | |
void | display_stats (ng_t *ng) |
void | display_arpa_stats (arpa_lm_t *arpa_ng) |
Definition in file stats.c.
|
Display statistics of an ARPA n-gram Definition at line 122 of file stats.c. References CLOSED_VOCAB, arpa_lm_t::context_cue, arpa_lm_t::first_id, fprintf(), i, arpa_lm_t::n, arpa_lm_t::no_of_ccs, arpa_lm_t::num_kgrams, OPEN_VOCAB_1, OPEN_VOCAB_2, arpa_lm_t::vocab, arpa_lm_t::vocab_size, and arpa_lm_t::vocab_type. Referenced by main(). |
|
Display statistics of an n-gram Definition at line 27 of file stats.c. References ng_t::abs_disc_const, ABSOLUTE, CLOSED_VOCAB, ng_t::context_cue, ng_t::disc_range, ng_t::discounting_method, ng_t::first_id, ng_t::fof_size, ng_t::four_byte_alphas, fprintf(), ng_t::freq_of_freq, GOOD_TURING, ng_t::gt_disc_ratio, i, j, ng_t::lin_disc_ratio, LINEAR, ng_t::n, ng_t::no_of_ccs, ng_t::num_kgrams, ng_t::oov_fraction, OPEN_VOCAB_1, OPEN_VOCAB_2, ng_t::vocab, ng_t::vocab_size, ng_t::vocab_type, and WITTEN_BELL. Referenced by main(). |