ImageGear .NET - Updated
SingleLanguageDetection Property




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecRecognitionSettings Class : SingleLanguageDetection Property
Automatic single language detection.
Syntax
'Declaration
 
Public Property SingleLanguageDetection As Boolean
'Usage
 
Dim instance As ImGearRecRecognitionSettings
Dim value As Boolean
 
instance.SingleLanguageDetection = value
 
value = instance.SingleLanguageDetection
public bool SingleLanguageDetection {get; set;}
public: __property bool get_SingleLanguageDetection();
public: __property void set_SingleLanguageDetection( 
   bool value
);
public:
property bool SingleLanguageDetection {
   bool get();
   void set (    bool value);
}
Remarks
The default value of this property is false. In this case the language of the document must be known and specified before calling the first processing function. More than one languages can be specified even if the document contains text written in those languages, but it is suggested to use few (fewer than 5) languages only. The recognition engine uses all those language dictionaries to recognize the words on the document.
When the language of the document is not known, automatic detection can be requested by setting this property to true and enabling all possible languages.
When Automatic Single Language Detection is enabled, the engine works in a special mode: when the first processing function is called, it tries to determine the language of the page by inspecting the letters and words found on it. The page may contain a single language only, but this language can be any Latin-alphabet or CCJK language. Further processing in this mode uses the detected language to process the page. If the language cannot be determined, the language of the previous page will be used.
Automatic detection of Arabic and Thai is not supported. Very clean documents in Greek, Russian and other Cyrillic languages can be processed with Single Language Detection, but making your application depend on automatic detection of these languages is not encouraged.
See Also

Reference

ImGearRecRecognitionSettings Class
ImGearRecRecognitionSettings Members