LEADTOOLS OCR C DLL Help > Quick Reference > Data Types > OCR Plus > USERDICTIONARY |
typedef struct _tagUserDictionary
{
L_UINT uStructSize;
L_TCHAR * pszFileName;
L_CHAR * pszDefSection;
} USERDICTIONARY, * pUSERDICTIONARY;
The USERDICTIONARY structure contains user dictionary options.
Member |
Description |
uStructSize |
Specifies the structure size. It should be equal to sizeof(USERDICTIONARY). |
pszFileName |
Character string that contains the name of the user's dictionary file. |
pszDefSection |
Character string that contains the name of the default section in the user's 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:
Spell checking (using all available languages),
User Dictionary-checking (using the User dictionary),
User-written checking (using user-written callback functions).
Once the checking subsystem has been enabled, it can be further configured to use any combination of these three possible checking options.
pUSERDICTIONARY is a pointer to a USERDICTIONARY structure. Where the function parameter type is pUSERDICTIONARY, declare a USERDICTIONARY variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pUSERDICTIONARY variable is necessary only if the program requires a pointer.
This structure is used with the following functions: