User words and dictionaries are no longer supported in the LEADTOOLS OCR Module - OmniPage Engine.

typedef struct _tagUserDictionary2 
   L_UINT uStructSize; 
   L_TCHAR * pszFileName; 
   L_CHAR * pszDefSection; 

The USERDICTIONARY2 structure contains user dictionary options.



Structure size. It should be equal to sizeof(USERDICTIONARY2).


Character string that contains the name of the user dictionary file.


Character string that contains the name of the default section of the user dictionary. If it is NULL, the default section will be the first section of the dictionary, if one exists.


The checking subsystem contains three parts, as follows:

Once the checking subsystem has been enabled, it can be further configured to use any combination of these three checking options.

pUSERDICTIONARY2 is a pointer to a USERDICTIONARY2 structure. If the function parameter type is pUSERDICTIONARY2, declare a USERDICTIONARY2 variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pUSERDICTIONARY2 variable is necessary only if the program requires a pointer.

The structure is used by:

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help