/disk4/html/www/moses/doxygen/irstlm/trunk/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 244 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 233 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 210 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 107 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 Thu Jul 6 00:31:24 2017 for Moses by  doxygen 1.5.9