#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrSpellCheckManager_SetSpellCheckEngine(spellCheckManager, value)
Gets the current spell check engine.
OCR engine spell check manager handle.
New spell check engine
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Sets the current spell check engine.
Set the 'value' parameter to L_OcrSpellCheckEngine_None to globally disable any spell checking and correction during the recognition process.
For more information on the spell check engines supported by LEADTOOLS OCR Module - LEAD Engine, refer to L_OcrSpellCheckEngine.
Required DLLs and Libraries
For an example, refer to L_OcrEngine_GetSpellCheckManager