#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 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 |
| #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 |
Definition at line 31 of file dictionary.h.
Referenced by dictionary::generate(), dictionary::getword(), dictionary::isprintable(), dictionary::load(), operator>>(), and dictionary::test().
| #define OOV_ "<unk>" |
Definition at line 55 of file dictionary.h.
Referenced by dictionary::OOV(), and mdiadaptlm::saveMT().
1.5.9