lookup_lexiconT_lookup_lexiconLookupLexiconLookupLexiconlookup_lexicon (算子)
名称
lookup_lexiconT_lookup_lexiconLookupLexiconLookupLexiconlookup_lexicon — 检查词典中是否包含单词。
签名
描述
lookup_lexiconlookup_lexiconLookupLexiconLookupLexiconLookupLexiconlookup_lexicon checks whether WordWordWordWordwordword is
contained in the lexicon LexiconHandleLexiconHandleLexiconHandleLexiconHandlelexiconHandlelexicon_handle, and returns
1 in FoundFoundFoundFoundfoundfound if the word is found, otherwise 0.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
LexiconHandleLexiconHandleLexiconHandleLexiconHandlelexiconHandlelexicon_handle (输入控制) lexicon → HLexicon, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the lexicon.
WordWordWordWordwordword (输入控制) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Word to be looked up.
默认值:
'word'
"word"
"word"
"word"
"word"
"word"
FoundFoundFoundFoundfoundfound (输出控制) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Result of the search.
替代
suggest_lexiconsuggest_lexiconSuggestLexiconSuggestLexiconSuggestLexiconsuggest_lexicon
另见
create_lexiconcreate_lexiconCreateLexiconCreateLexiconCreateLexiconcreate_lexicon
模块
光学字符识别/光学字符验证