#include <sent/stddefs.h>
#include <sent/vocabulary.h>
マクロ定義 | |
#define | WSSTEP 10 |
Allocation step | |
関数 | |
WORD_ID | voca_lookup_wid (char *keyword, WORD_INFO *winfo) |
Look up a word on dictionary by string. | |
WORD_ID * | new_str2wordseq (WORD_INFO *winfo, char *s, int *len_return) |
Convert string of space-separated word strings to array of word ids. |
単語を,「言語エントリ名」あるいは「言語エントリ名[出力文字列]」 ,あるいは「#単語番号」から検索します.
voca_lookup.c で定義されています。
Look up a word on dictionary by string.
keyword | [in] keyword to search | |
winfo | [in] word dictionary |
voca_lookup.c の 43 行で定義されています。
参照元 initialize_dict(), と 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 |
voca_lookup.c の 117 行で定義されています。