lookup_lexiconT_lookup_lexiconLookupLexiconLookupLexicon (Operator)
Name
lookup_lexiconT_lookup_lexiconLookupLexiconLookupLexicon — Check if a word is contained in a lexicon.
Signature
Description
lookup_lexiconlookup_lexiconLookupLexiconLookupLexiconLookupLexicon checks whether WordWordWordWordword is
contained in the lexicon LexiconHandleLexiconHandleLexiconHandleLexiconHandlelexiconHandle, 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
LexiconHandleLexiconHandleLexiconHandleLexiconHandlelexiconHandle (input_control) lexicon → HLexicon, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the lexicon.
WordWordWordWordword (input_control) string → HTupleHTupleHtuple (string) (string) (HString) (char*)
Word to be looked up.
Default value:
'word'
"word"
"word"
"word"
"word"
FoundFoundFoundFoundfound (output_control) integer → HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Result of the search.
Alternatives
suggest_lexiconsuggest_lexiconSuggestLexiconSuggestLexiconSuggestLexicon
See also
create_lexiconcreate_lexiconCreateLexiconCreateLexiconCreateLexicon
Module
OCR/OCV