L_LTOCR_API L_INT EXT_FUNCTION L_OcrSpellCheckManager_AddUserWords(spellCheckManager, language, words)
|L_OcrSpellCheckManager spellCheckManager;||handle to the OCR engine spell check manager|
|L_OcrLanguage language;||language the user wish to add words to its dictionary|
|const L_WCHAR* words;||one string that contains all words separated by null termination|
Adds user words to a language dictionary.
|spellCheckManager||OCR engine spell check manager handle.|
|language||Language the user wish to add words to its dictionary.|
|words||One string that contains all words separated by null termination. Each word in this string should not exceed 80 characters long, otherwise it will be ignored and will not be added to the dictionary.|
|SUCCESS||Language is supported.|
|< 1||Language is not supported. Refer to Return Codes.|
Use this method to add user words to the current loaded dictionary. Note that the OCR engine does not automatically correct the misspelling of words unless the confidence of the characters are low.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
|Functions:||L_OcrSpellCheckManager_GetSupportedLanguages, L_OcrSpellCheckManager_IsLanguageSupported, L_OcrSpellCheckManager_GetSpellCheckEngine, L_OcrSpellCheckManager_SetSpellCheckEngine|
|Topics:||Programming with LEADTOOLS OCR Advantage|
|Starting and Shutting Down the OCR Engine|
|OCR Languages and Spell Checking|
|OCR Spell Language Dictionaries|