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_lexiconLookupLexiconLookupLexiconLookupLexiconlookup_lexicon
checks whether WordWordWordWordwordword
is
contained in the lexicon LexiconHandleLexiconHandleLexiconHandleLexiconHandlelexiconHandlelexicon_handle
, and returns
1 in FoundFoundFoundFoundfoundfound
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
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 value:
'word'
"word"
"word"
"word"
"word"
"word"
FoundFoundFoundFoundfoundfound
(output_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Result of the search.
Alternatives
suggest_lexiconsuggest_lexiconSuggestLexiconSuggestLexiconSuggestLexiconsuggest_lexicon
See also
create_lexiconcreate_lexiconCreateLexiconCreateLexiconCreateLexiconcreate_lexicon
Module
OCR/OCV