lookup_lexiconT_lookup_lexiconLookupLexiconLookupLexiconlookup_lexicon (Operator)
Name
lookup_lexiconT_lookup_lexiconLookupLexiconLookupLexiconlookup_lexicon — Check if a word is contained in a lexicon.
Signature
Description
lookup_lexiconlookup_lexiconLookupLexiconLookupLexiconlookup_lexicon checks whether WordWordWordwordword is
contained in the lexicon LexiconHandleLexiconHandleLexiconHandlelexiconHandlelexicon_handle, and returns
1 in FoundFoundFoundfoundfound if the word is found, otherwise 0.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
LexiconHandleLexiconHandleLexiconHandlelexiconHandlelexicon_handle (input_control) lexicon → HLexicon, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the lexicon.
WordWordWordwordword (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Word to be looked up.
Default:
'word'
"word"
"word"
"word"
"word"
FoundFoundFoundfoundfound (output_control) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Result of the search.
Alternatives
suggest_lexiconsuggest_lexiconSuggestLexiconSuggestLexiconsuggest_lexicon
See also
create_lexiconcreate_lexiconCreateLexiconCreateLexiconcreate_lexicon
Module
OCR/OCV