ngrampool Class Reference

Memory structure to store n-grams. More...

#include <ngrampool.h>

Collaboration diagram for ngrampool:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ngrampool (dictionary *d)
char * put (ngram)
int get (char *address, ngram &ng)
void stat ()
 ~ngrampool ()


Detailed Description

Memory structure to store n-grams.

which can be access by an address

Definition at line 19 of file ngrampool.h.


Constructor & Destructor Documentation

ngrampool::ngrampool ( dictionary d  ) 

ngrampool::~ngrampool (  )  [inline]

Definition at line 37 of file ngrampool.h.


Member Function Documentation

int ngrampool::get ( char *  address,
ngram ng 
)

char* ngrampool::put ( ngram   ) 

void ngrampool::stat (  )  [inline]

Definition at line 33 of file ngrampool.h.

References storage::stat().

Here is the call graph for this function:


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

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