normcache Class Reference

#include <normcache.h>

Collaboration diagram for normcache:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 normcache (dictionary *d)
 ~normcache ()
void expand (int i)
double get (ngram ng, int size, double &value)
double put (ngram ng, int size, double value)
void stat ()


Detailed Description

Definition at line 23 of file normcache.h.


Constructor & Destructor Documentation

normcache::normcache ( dictionary d  ) 

Definition at line 33 of file normcache.cpp.

References LEAFPROB, NULL, and dictionary::size().

Here is the call graph for this function:

normcache::~normcache (  )  [inline]

Definition at line 34 of file normcache.h.


Member Function Documentation

void normcache::expand ( int  i  ) 

Definition at line 51 of file normcache.cpp.

Referenced by put().

Here is the caller graph for this function:

double normcache::get ( ngram  ng,
int  size,
double &  value 
)

Definition at line 65 of file normcache.cpp.

References ngram::freq, ngramtable::get(), and ngram::wordp().

Referenced by mdiadaptlm::zeta().

Here is the call graph for this function:

Here is the caller graph for this function:

double normcache::put ( ngram  ng,
int  size,
double  value 
)

Definition at line 87 of file normcache.cpp.

References expand(), ngram::freq, ngramtable::get(), ngramtable::put(), and ngram::wordp().

Referenced by mdiadaptlm::zeta().

Here is the call graph for this function:

Here is the caller graph for this function:

void normcache::stat (  ) 

Definition at line 111 of file normcache.cpp.


The documentation for this class was generated from the following files:

Generated on Fri Apr 15 13:04:15 2011 for Moses by  doxygen 1.5.9