ImageGear22.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecRecognitionSettings Class : CorrectionEnabled Property |
'Declaration Public Property CorrectionEnabled As Boolean
'Usage Dim instance As ImGearRecRecognitionSettings Dim value As Boolean instance.CorrectionEnabled = value value = instance.CorrectionEnabled
public bool CorrectionEnabled {get; set;}
This method enables or disables the Correction mode setting of the checking subsystem. If this mode is enabled, non-compliant words may be automatically corrected during recognition. The Correction mode is a page-level setting, i.e. when it is enabled, it will be applied to all zones of the page for which at least one of the three possible checking algorithms have been enabled. The application should set this (and other checking-related properties) BEFORE calling the Recognize method.
If CorrectionEnabled
is set to false, non-compliant words will be flagged, but no auto-correction will be done. If CorrectionEnabled
is set to true, all unchanged non-compliant words will be flagged, while some characters may also be changed by the checking subsystem.
Though the Correction mode is a page-level setting, it can be disabled for any particular zone by setting the CORRECTION_DISABLE
flag of the zone's Checking
property.
The correction feature will construct possible solutions from two sources only: any second or third character guesses for the characters in the word or character-pair solutions in the TEV.SZO file, designed to handle typical OCR-misrecognitions. These solutions are passed to the checking subsystem, which may result in a refused word being changed.
The default value is true.