Working with Languages

The OCR engine supports many different languages for recognizing text. For a language to be used in the recognition process it must be set as active.

For more information, refer to:

Languages and Dictionaries

Working with Dictionaries

LANGIDS

Punctuation and Miscellaneous Characters

OCR Plus

To activate the languages that will be used in the next recognition process, call L_DocSelectLanguages. In addition, special character options can also be set for characters in the active languages using L_DocSetCharLangsOptions. For more information on these character options, refer to the CHAROPTIONS structure.

To determine what languages have been activated for the OCR engine, call L_DocGetSelectedLanguages. To determine what special character options have been set use L_DocGetCharLangsOptions. To determine whether a specific character is enabled in the active languages, call L_DocIsCharEnabled.

L_DocGetDefaultSpellLanguages gets the default languages used for checking spelling. All available spelling languages available to the OCR engine are default and are used for checking spelling.

When the active languages are no longer needed, free the pointer to the selected languages by calling L_DocFreeLanguages.

OCR Professional

The OCR engine supports many different languages for recognizing text. For a language to be used in the recognition process it must be set as active. To activate the languages that will be used in the next recognition process, call L_Doc2SelectLanguages. In addition, special character options can also be set for characters in the active languages using L_Doc2SetCharLangsOptions. For more information on these character options, refer to the CHAROPTIONS2 structure. To determine what languages have been activated for the OCR engine, call L_Doc2GetSelectedLanguages. To determine which special character options have been set use L_Doc2GetCharLangsOptions.

L_Doc2GetDefaultSpellLanguages gets the default languages used for checking spelling. All available spelling languages available to the OCR engine are default and are used for checking spelling.

When the active languages are no longer needed, free the pointer to the selected languages by calling L_Doc2FreeLanguages.