lookup_lexiconT_lookup_lexiconLookupLexiconLookupLexiconlookup_lexicon (算子名称)
名称
lookup_lexiconT_lookup_lexiconLookupLexiconLookupLexiconlookup_lexicon — Check if a word is contained in a 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 (input_control) lexicon → HLexicon, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the lexicon.
WordWordWordWordwordword (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Word to be looked up.
Default:
'word'
"word"
"word"
"word"
"word"
"word"
FoundFoundFoundFoundfoundfound (output_control) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Result of the search.
可替代算子
suggest_lexiconsuggest_lexiconSuggestLexiconSuggestLexiconSuggestLexiconsuggest_lexicon
参考其它
create_lexiconcreate_lexiconCreateLexiconCreateLexiconCreateLexiconcreate_lexicon
模块
OCR/OCV