L_OcrSpellCheckManager_AddUserWords

#include "ltocr.h"

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.

Parameter Description
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.

Returns

SUCCESS Language is supported.
< 1 Language is not supported. Refer to Return Codes.

Comments

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

LTOCR
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Advantage OCR C API Help