SynonymDictionary class
Leave feedback
On this page
Represents a dictionary of synonyms.
Learn more:
- https://docs.groupdocs.com/search/python-net/synonym-search/
- https://docs.groupdocs.com/search/python-net/synonym-dictionary/
The SynonymDictionary type exposes the following members:
| Method | Description |
|---|---|
| add_range | Adds the specified collection of synonym groups to this SynonymDictionary. |
| clear | Removes all words from this SynonymDictionary object. |
| get_all_synonym_groups | Gets all groups of synonyms contained in this dictionary. |
| get_enumerator | Returns an enumerator that iterates through the collection. |
| get_synonym_groups | Gets all groups of synonyms to which the specified word belongs. |
| get_synonyms | Gets the synonyms for the specified word. |
| export_dictionary | Exports the dictionary to a file with the specified name. (inherited from DictionaryBase) |
| import_dictionary | Imports a dictionary from the specified file. (inherited from DictionaryBase) |
| Property | Description |
|---|---|
| count | The number of words contained in this SynonymDictionary. |
| dictionary_type | The dictionary type. |
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.