#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 BOD_ "<d>" |
| #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 |
| #define EOD_ "</d>" |
| #define EOS_ "</s>" |
Definition at line 52 of file dictionary.h.
| #define GROWTH_STEP 1.5 |
| #define MAX_WORD 1000 |
Definition at line 32 of file dictionary.h.
Referenced by dictionary::generate(), dictionary::getword(), dictionary::isprintable(), dictionary::load(), operator>>(), and dictionary::test().
| #define OOV_ "<unk>" |
Definition at line 68 of file dictionary.h.
Referenced by dictionary::OOV(), and mdiadaptlm::saveMT().
| typedef htable<char*> HASHTABLE_t |
Definition at line 77 of file dictionary.h.
1.5.9