libsent/src/voca/voca_lookup.c

単語辞書上の単語の検索 [詳細]

#include <sent/stddefs.h>
#include <sent/vocabulary.h>
voca_lookup.cのインクルード依存関係図

ソースコードを見る。

マクロ定義

#define WSSTEP   10
 Allocation step.

関数

WORD_ID voca_lookup_wid (char *keyword, WORD_INFO *winfo)
WORD_IDnew_str2wordseq (WORD_INFO *winfo, char *s, int *len_return)

説明

単語辞書上の単語の検索

作者:
Akinobu LEE
日付:
Fri Feb 18 21:24:01 2005

単語を,「言語エントリ名」あるいは「言語エントリ名[出力文字列]」 ,あるいは「#単語番号」から検索します.

Revision
1.3

voca_lookup.c で定義されています。


関数

WORD_ID voca_lookup_wid ( char *  keyword,
WORD_INFO winfo 
)

Look up a word on dictionary by string.

引数:
keyword [in] keyword to search
winfo [in] word dictionary
戻り値:
the word id if found, or WORD_INVALID if not found.

voca_lookup.c42 行で定義されています。

参照元 initialize_dict(), と new_str2wordseq().

WORD_ID* new_str2wordseq ( WORD_INFO winfo,
char *  s,
int *  len_return 
)

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
戻り値:
pointer to a newly allocated word list.

voca_lookup.c116 行で定義されています。


Juliusに対してTue Sep 22 00:15:38 2009に生成されました。  doxygen 1.6.0