irstlm/src/dictionary.h File Reference

#include "mfstream.h"
#include <cstring>
#include <iostream>

Go to the source code of this file.

Classes

struct  dict_entry
class  dictionary
class  dictionary_iter

Defines

#define MAX_WORD   1000
#define LOAD_FACTOR   5
#define GROWTH_STEP   100000
#define DICT_INITSIZE   100000
#define BOS_   "<s>"
#define EOS_   "</s>"
#define OOV_   "<unk>"


Define Documentation

#define BOS_   "<s>"

Definition at line 44 of file dictionary.h.

#define DICT_INITSIZE   100000

Definition at line 39 of file dictionary.h.

#define EOS_   "</s>"

Definition at line 50 of file dictionary.h.

#define GROWTH_STEP   100000

Definition at line 35 of file dictionary.h.

Referenced by dictionary::grow().

#define LOAD_FACTOR   5

Definition at line 32 of file dictionary.h.

Referenced by dictionary::dictionary(), dictionary::grow(), and dictionary::sort().

#define MAX_WORD   1000

#define OOV_   "<unk>"

Definition at line 55 of file dictionary.h.

Referenced by dictionary::OOV(), and mdiadaptlm::saveMT().


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