#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) |
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.
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.
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().
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.