irstlm/src/n_gram.cpp File Reference

#include <stdio.h>
#include <cstdlib>
#include <stdlib.h>
#include <iomanip>
#include <cassert>
#include "mempool.h"
#include "htable.h"
#include "dictionary.h"
#include "n_gram.h"
#include "index.h"

Go to the source code of this file.

Functions

ifstream & operator>> (ifstream &fi, ngram &ng)
istream & operator>> (istream &fi, ngram &ng)
ofstream & operator<< (ofstream &fo, ngram &ng)
ostream & operator<< (ostream &fo, ngram &ng)


Function Documentation

ostream& operator<< ( ostream &  fo,
ngram ng 
)

Definition at line 190 of file n_gram.cpp.

References dictionary::decode(), ngram::dict, ngram::freq, MAX_NGRAM, NULL, and ngram::size.

Here is the call graph for this function:

ofstream& operator<< ( ofstream &  fo,
ngram ng 
)

Definition at line 180 of file n_gram.cpp.

References dictionary::decode(), ngram::dict, ngram::freq, MAX_NGRAM, NULL, and ngram::size.

Here is the call graph for this function:

istream& operator>> ( istream &  fi,
ngram ng 
)

Definition at line 158 of file n_gram.cpp.

References ngram::dict, ngram::freq, MAX_WORD, NULL, and ngram::pushw().

Here is the call graph for this function:

ifstream& operator>> ( ifstream &  fi,
ngram ng 
)

Definition at line 96 of file n_gram.cpp.

References ngram::dict, dictionary::encode(), ngram::freq, MAX_NGRAM, MAX_WORD, and ngram::size.

Here is the call graph for this function:


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