#include <sent/stddefs.h>
#include <sent/ngram2.h>
#include <sent/ptree.h>
Include dependency graph for ngram_lookup.c:
Go to the source code of this file.
Functions | |
void | ngram_make_lookup_tree (NGRAM_INFO *ndata) |
WORD_ID | ngram_lookup_word (NGRAM_INFO *ndata, char *wordstr) |
WORD_ID | make_ngram_ref (NGRAM_INFO *ndata, char *wstr) |
Definition in file ngram_lookup.c.
|
Make index tree for searching N-gram ID from the entry name.
Definition at line 34 of file ngram_lookup.c. Referenced by ngram_read_bin(). |
|
Look up N-gram ID by entry name.
Definition at line 64 of file ngram_lookup.c. Referenced by lookup_word(), make_ngram_ref(), and set_unknown_id(). |
|
Return N-gram ID of entry name, or unknown class ID if not found.
Definition at line 84 of file ngram_lookup.c. Referenced by make_voca_ref(). |