LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
OcrSpellCheckOpinion Enumeration
See Also  
Leadtools.Forms.Ocr Namespace : OcrSpellCheckOpinion Enumeration



The OcrSpellCheckOpinion Enumeration is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Possible return values for a user-defined spell checking callback.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Enum OcrSpellCheckOpinion 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As OcrSpellCheckOpinion
C# 
[SerializableAttribute()]
public enum OcrSpellCheckOpinion : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[SerializableAttribute()]
public enum class OcrSpellCheckOpinion : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
ImpossibleThe recognized value cannot be possible.
PossibleThe recognized value is possibly acceptable.
SureThe recognized value is certainly acceptable.
UnlikelyThe recognized value is unlikely to be acceptable.
UnresolvedCannot make a decision about the acceptability of the recognized value.

Example

For an example, refer to OcrSpellCheckCallback.

Remarks

You can set the OcrSpellCheckCallback to be used globally in the engine through the IOcrSpellCheckManager.SetSpellCheckCallback method.

This callback allows user intervention during the spell checking process. The callback is called by the checking subsystem of the engine during the recognition operation. The user can then influence the decision about the recognized result through the returned OcrSpellCheckOpinion value.

For an example, if the particular zone in the page to be recognized is allowed to contain digits and only certain values are allowed. The user can return the following values:

If the particular zone in the page to be recognized is allowed to have digits only but no further restrictions, the user can return the following values:

Note: User-defined checking through the OcrSpellCheckCallback callback is not supported when using the LEADTOOLS OCR Advantage Engine.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Forms.Ocr.OcrSpellCheckOpinion

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

OcrSpellCheckOpinion requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features