OpenDictionaryExtension Method of the LanguageDatabase Object

This method provides access to the dictionary extension of the standard dictionary for the specified language. The path to the folder with dictionary extensions is defined by the ILanguageDatabase::DictionaryExtensionsPath property.

Dictionary extensions can be created in ABBYY FineReader, where they are called user dictionaries. They can only be created for languages which already have dictionary support.

After you have received the dictionary extension, you can edit it in the same way as a user dictionary via the Dictionary object.

Syntax

HRESULT OpenDictionaryExtension(
  LanguageIdEnum LanguageID,
  IDictionary**  Result
);
    

Parameters

LanguageID
[in] This parameter specifies the ID of the language, for which dictionary extension is to be opened. See the description of the LanguageIdEnum constants. If there is no dictionary extension file for the specified language, a new dictionary extension is created and corresponding Dictionary object is returned.
Result
[out, retval] A pointer to the IDictionary* pointer variable that receives the interface pointer of the Dictionary object with dictionary extension.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

Remarks

If you create a dictionary extension using ABBYY FineReader 11 or using another release of ABBYY FineReader Engine 12, you may need a special TXT file for opening this dictionary extension in the current release of ABBYY FineReader Engine. This TXT file is created automatically during dictionary extension creation and has the name <language name>.txt. Copy this file to the folder with dictionary extensions.

See also

LanguageDatabase

7/3/2024 8:50:10 AM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.