ClassesClassesClassesClasses | | | | Operators

lookup_lexiconlookup_lexiconLookupLexiconlookup_lexiconLookupLexiconLookupLexicon (Operator)

Name

lookup_lexiconlookup_lexiconLookupLexiconlookup_lexiconLookupLexiconLookupLexicon — Check if a word is contained in a lexicon.

Signature

lookup_lexicon( : : LexiconHandle, Word : Found)

Herror lookup_lexicon(const Hlong LexiconHandle, const char* Word, Hlong* Found)

Herror T_lookup_lexicon(const Htuple LexiconHandle, const Htuple Word, Htuple* Found)

Herror lookup_lexicon(const HTuple& LexiconHandle, const HTuple& Word, Hlong* Found)

Hlong HLexicon::LookupLexicon(const HTuple& Word) const

void LookupLexicon(const HTuple& LexiconHandle, const HTuple& Word, HTuple* Found)

Hlong HLexicon::LookupLexicon(const HString& Word) const

Hlong HLexicon::LookupLexicon(const char* Word) const

void HOperatorSetX.LookupLexicon(
[in] VARIANT LexiconHandle, [in] VARIANT Word, [out] VARIANT* Found)

Hlong HLexiconX.LookupLexicon([in] BSTR Word)

static void HOperatorSet.LookupLexicon(HTuple lexiconHandle, HTuple word, out HTuple found)

int HLexicon.LookupLexicon(string word)

Description

lookup_lexiconlookup_lexiconLookupLexiconlookup_lexiconLookupLexiconLookupLexicon checks whether WordWordWordWordWordword is contained in the lexicon LexiconHandleLexiconHandleLexiconHandleLexiconHandleLexiconHandlelexiconHandle, and returns 1 in FoundFoundFoundFoundFoundfound if the word is found, otherwise 0.

Parallelization

Parameters

LexiconHandleLexiconHandleLexiconHandleLexiconHandleLexiconHandlelexiconHandle (input_control)  lexicon HLexicon, HTupleHTupleHLexicon, HTupleHLexiconX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the lexicon.

WordWordWordWordWordword (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Word to be looked up.

Default value: 'word' "word" "word" "word" "word" "word"

FoundFoundFoundFoundFoundfound (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Result of the search.

Alternatives

suggest_lexiconsuggest_lexiconSuggestLexiconsuggest_lexiconSuggestLexiconSuggestLexicon

See also

create_lexiconcreate_lexiconCreateLexiconcreate_lexiconCreateLexiconCreateLexicon

Module

OCR/OCV


ClassesClassesClassesClasses | | | | Operators