ClassesClasses | | Operators

lookup_lexiconT_lookup_lexiconLookupLexiconLookupLexicon (Operator)

Name

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

Signature

lookup_lexicon( : : LexiconHandle, Word : Found)

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

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

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

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

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

int HLexicon.LookupLexicon(string word)

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

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


ClassesClasses | | Operators