SynonymDictionary
Leave feedback
On this page
Represents a dictionary of synonyms.
public class SynonymDictionary : DictionaryBase, IEnumerable<string>
| Name | Description |
|---|---|
| Count { get; } | Gets the number of words contained in this SynonymDictionary. |
| override DictionaryType { get; } | Gets the dictionary type. |
| Name | Description |
|---|---|
| AddRange(IEnumerable<string[]>) | Adds the specified collection of synonym groups to this instance of the SynonymDictionary. |
| AddRange(string[][]) | Adds the specified collection of synonym groups to this instance of the SynonymDictionary. |
| override Clear() | Removes all words from this SynonymDictionary object. |
| ExportDictionary(string) | Exports the dictionary to a file with the specified name. |
| GetAllSynonymGroups() | Gets all groups of synonyms contained in this dictionary. |
| GetEnumerator() | Returns an enumerator that iterates through the collection. |
| GetSynonymGroups(string) | Gets all groups of synonyms to which the specified word belongs. |
| GetSynonyms(string) | Gets the synonyms for the specified word. The resulting array does not contain the original word. |
| ImportDictionary(string) | Imports a dictionary from the specified file. |
Learn more
- class DictionaryBase
- namespace GroupDocs.Search.Dictionaries
- assembly GroupDocs.Search
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.