USERDICTIONARY2

NOTE: User words and dictionaries are no longer supported in the OCR Professional Engine.

typedef struct _tagUserDictionary2 
{ 
   L_UINT uStructSize; 
   L_TCHAR * pszFileName; 
   L_CHAR * pszDefSection; 
} USERDICTIONARY2, * pUSERDICTIONARY2; 

The USERDICTIONARY2 structure contains user dictionary options.

Member

Description

uStructSize

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

pszFileName

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

pszDefSection

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.

Comments

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.

This structure is used with the following functions:

L_Doc2SetUserDictionary

L_Doc2GetUserDictionary

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Professional OCR C API Help