SynonymDictionary Class
Represents a dictionary of synonyms.
Inheritance Hierarchy

Namespace: GroupDocs.Search.Dictionaries
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.11
Syntax
public class SynonymDictionary : DictionaryBase, 
	IEnumerable<string>, IEnumerable

The SynonymDictionary type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of words contained in this SynonymDictionary.
Protected propertyFilePath
Gets the dictionary file path.
(Inherited from DictionaryBase.)
Methods
  NameDescription
Public methodAddRange(IEnumerableString)
Adds the specified collection of synonym groups to this instance of the SynonymDictionary.
Public methodAddRange(String)
Adds the specified collection of synonym groups to this instance of the SynonymDictionary.
Public methodClear
Removes all words from this SynonymDictionary object.
Public methodEquals (Inherited from Object.)
Protected methodExport
Exports the synonym dictionary to a file with the specified name.
(Overrides DictionaryBaseExport(String).)
Public methodExportDictionary
Exports the dictionary to a file with the specified name.
(Inherited from DictionaryBase.)
Protected methodFinalize (Inherited from Object.)
Public methodGetAllSynonymGroups
Gets all groups of synonyms contained in this dictionary.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetSynonymGroups
Gets all groups of synonyms to which the specified word belongs.
Public methodGetSynonyms
Gets the synonyms for the specified word. The resulting array does not contain the original word.
Public methodGetType (Inherited from Object.)
Protected methodImport
Imports a synonym dictionary from the specified text file.
(Overrides DictionaryBaseImport(String).)
Public methodImportDictionary
Imports a dictionary from the specified file.
(Inherited from DictionaryBase.)
Protected methodLoad
Loads the dictionary data from disk.
(Overrides DictionaryBaseLoad.)
Protected methodLoadDefault
Loads the default dictionary data.
(Overrides DictionaryBaseLoadDefault.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMerge
Merges the specified dictionary into the current dictionary.
(Overrides DictionaryBaseMerge(DictionaryBase).)
Protected methodNotifyChanged
Notifies about the dictionary changed.
(Inherited from DictionaryBase.)
Protected methodSave
Saves the dictionary data to disk.
(Overrides DictionaryBaseSave.)
Public methodToString (Inherited from Object.)
Remarks
See Also