/disk4/html/www/moses/doxygen/irstlm/trunk/src/dictionary.h File Reference

#include "mfstream.h"
#include "htable.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 DICTIONARY_LOAD_FACTOR   2.0
#define GROWTH_STEP   1.5
#define DICT_INITSIZE   100000
#define BOS_   "<s>"
#define EOS_   "</s>"
#define BOD_   "<d>"
#define EOD_   "</d>"
#define OOV_   "<unk>"

Typedefs

typedef htable< char * > HASHTABLE_t


Define Documentation

#define BOD_   "<d>"

Definition at line 57 of file dictionary.h.

Referenced by dictionary::BoD().

#define BOS_   "<s>"

Definition at line 46 of file dictionary.h.

#define DICT_INITSIZE   100000

Definition at line 41 of file dictionary.h.

#define DICTIONARY_LOAD_FACTOR   2.0

Definition at line 33 of file dictionary.h.

Referenced by dictionary::dictionary().

#define EOD_   "</d>"

Definition at line 62 of file dictionary.h.

Referenced by dictionary::EoD().

#define EOS_   "</s>"

Definition at line 52 of file dictionary.h.

#define GROWTH_STEP   1.5

Definition at line 37 of file dictionary.h.

Referenced by dictionary::grow().

#define MAX_WORD   1000

#define OOV_   "<unk>"

Definition at line 68 of file dictionary.h.

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


Typedef Documentation

typedef htable<char*> HASHTABLE_t

Definition at line 77 of file dictionary.h.


Generated on Thu Jul 6 00:31:23 2017 for Moses by  doxygen 1.5.9