#include <sent/stddefs.h>
#include <sent/ngram2.h>
#include <sent/ptree.h>
関数 | |
| void | ngram_make_lookup_tree (NGRAM_INFO *ndata) |
| Make index tree for searching N-gram ID from the entry name. | |
| WORD_ID | ngram_lookup_word (NGRAM_INFO *ndata, char *wordstr) |
| Look up N-gram ID by entry name. | |
| WORD_ID | make_ngram_ref (NGRAM_INFO *ndata, char *wstr) |
| Return N-gram ID of entry name, or unknown class ID if not found. | |
ngram_lookup.c で定義されています。
| void ngram_make_lookup_tree | ( | NGRAM_INFO * | ndata | ) |
Make index tree for searching N-gram ID from the entry name.
| ndata | [in] N-gram data |
ngram_lookup.c の 35 行で定義されています。
参照元 ngram_read_bin().
| WORD_ID ngram_lookup_word | ( | NGRAM_INFO * | ndata, | |
| char * | wordstr | |||
| ) |
Look up N-gram ID by entry name.
| ndata | [in] N-gram data | |
| wordstr | [in] entry name to search |
ngram_lookup.c の 65 行で定義されています。
参照元 add_bigram(), add_unigram(), make_ngram_ref(), set_ngram(), と set_unknown_id().
| WORD_ID make_ngram_ref | ( | NGRAM_INFO * | ndata, | |
| char * | wstr | |||
| ) |
Return N-gram ID of entry name, or unknown class ID if not found.
| ndata | [in] N-gram data | |
| wstr | [in] entry name to search |
ngram_lookup.c の 85 行で定義されています。
参照元 make_voca_ref().
1.5.4