Main Page   Compound List   File List   Compound Members   File Members  

increment_context.c File Reference

Implementation of increment_context. More...

#include "ngram.h"
#include "idngram2lm.h"
#include <stdlib.h>

Go to the source code of this file.

Functions

void increment_context (ng_t *ng, int k, int verbosity)


Detailed Description

Implementation of increment_context.

Definition in file increment_context.c.


Function Documentation

void increment_context ng_t   ng,
int    k,
int    verbosity
 

Definition at line 27 of file increment_context.c.

References ng_t::count, ng_t::count4, ng_t::count_table, ng_t::count_table_size, current_pos, ng_t::disc_range, end_pos, ng_t::first_id, flag, ng_t::four_byte_counts, free(), get_full_index(), ng_t::ind, j, ng_t::marg_counts, ng_t::marg_counts4, ng_t::num_kgrams, ng_t::ptr_table, ng_t::ptr_table_size, return_count(), rr_calloc(), store_count(), verbosity, and ng_t::vocab_size.

Referenced by main().


Generated on Tue Dec 21 13:54:47 2004 by doxygen1.2.18