FreeLing
4.0
|
#include <prefTree.h>
Public Member Functions | |
PrefTree () | |
~PrefTree () | |
void | addWord (const wchar_t *word, List::ListRecBase *lr, const wchar_t *data) |
List::ListRecBase * | findWord (const wchar_t *) const |
List::ListRecData * | find (const wchar_t *word) const |
void | deleteWord (const wchar_t *) |
Private Attributes | |
List * | root |
size_t | DELIM_LEN |
freeling::PrefTree::PrefTree | ( | ) | [inline] |
freeling::PrefTree::~PrefTree | ( | ) | [inline] |
References root.
void freeling::PrefTree::addWord | ( | const wchar_t * | word, |
List::ListRecBase * | lr, | ||
const wchar_t * | data | ||
) |
void freeling::PrefTree::deleteWord | ( | const wchar_t * | word | ) |
List::ListRecData * freeling::PrefTree::find | ( | const wchar_t * | word | ) | const |
List::ListRecBase * freeling::PrefTree::findWord | ( | const wchar_t * | word | ) | const |
References freeling::List::find(), and freeling::List::ListRecBase::nextList.
size_t freeling::PrefTree::DELIM_LEN [private] |
Referenced by PrefTree().
List* freeling::PrefTree::root [private] |
Referenced by PrefTree(), and ~PrefTree().