#include "ngram.h"
#include "idngram2lm.h"
Go to the source code of this file.
Functions | |
void | store_count (flag four_byte_counts, int *count_table, int count_table_size, unsigned short *short_counts, int *long_counts, int position, int count) |
int | return_count (flag four_byte_counts, int *count_table, unsigned short *short_counts, int *long_counts, int position) |
Procedures to deal with counts correctly. taking account of whether we are dealing with two- or four-byte counts.
Definition in file counts.c.
|
Definition at line 48 of file counts.c. References flag. Referenced by bo_ng_prob(), compute_back_off(), compute_unigram(), increment_context(), and main(). |
|
Definition at line 30 of file counts.c. References flag, and lookup_index_of(). Referenced by increment_context(), and main(). |