#include <sent/stddefs.h>
#include <sent/vocabulary.h>
Include dependency graph for voca_lookup.c:

Go to the source code of this file.
Defines | |
| #define | WSSTEP 10 |
| Allocation step. | |
Functions | |
| WORD_ID | voca_lookup_wid (char *keyword, WORD_INFO *winfo) |
| WORD_ID * | new_str2wordseq (WORD_INFO *winfo, char *s, int *len_return) |
Definition in file voca_lookup.c.
Look up a word on dictionary by string.
| keyword | [in] keyword to search | |
| winfo | [in] word dictionary |
Definition at line 42 of file voca_lookup.c.
Referenced by initialize_dict(), and new_str2wordseq().
Convert string of space-separated word strings to array of word ids.
| winfo | [in] word dictionary | |
| s | [in] string of space-separated word strings | |
| len_return | [out] number of found words |
Definition at line 116 of file voca_lookup.c.
1.5.0