DictionaryDescriptions object (IDictionaryDescriptions interface) in the ABBYY FineReader Engine API — Collection of DictionaryDescription objects, accessible via IBaseLanguage::DictionaryDescriptions; covers standard, user, regular-expression, and external dictionaries.
// The sample code assigns a user dictionary to a base languageFREngine.IEngine engine;string dictionaryFileName = "D:\\Sample.amd";FREngine.IBaseLanguage baseLanguage;// Get collection of dictionary descriptions of a base language and remove all itemsIDictionaryDescriptions dictionaryDescriptions = baseLanguage.DictionaryDescriptions;dictionaryDescriptions.DeleteAll();// Create user dictionary description and add it to the collectionIDictionaryDescription dictionaryDescription = dictionaryDescriptions.AddNew( DictionaryTypeEnum.DT_UserDictionary );IUserDictionaryDescription userDictionaryDescription = dictionaryDescription.GetAsUserDictionaryDescription();userDictionaryDescription.FileName = dictionaryFileName;
The object is used in the following code samples in Linux and Windows: CustomLanguage.