Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
OcrSpellCheckOpinion Enumeration
See Also  
Leadtools.Forms.Ocr Namespace : OcrSpellCheckOpinion Enumeration



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

Syntax

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

Members

MemberDescription
Sure The recognized value is certainly acceptable.
Possible The recognized value is possibly acceptable.
Impossible The recognized value cannot be possible.
Unlikely The recognized value is unlikely to be acceptable.
Unresolved Cannot 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 value contains digits only and falls in the range of the values allowed, the user should return OcrSpellCheckOpinion.Sure.
  • If the value fails to to fulfill any of the above two requirements, the user should return OcrSpellCheckOpinion.Impossible.

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:

  • If the value is digits only, the user should return OcrSpellCheckOpinion.Possible.
  • If the value contains digits plus punctuation (for example, a comma or a period), the user should return OcrSpellCheckOpinion.Unlikely.

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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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