# Class SynonymSet (0.11.0)

0.11.0 (latest) 0.10.0 0.9.0 0.8.0 0.7.16 0.6.0 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

    SynonymSet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a list of synonyms for a given context.
For example a context "sales" could contain:

Synonym 1: sale, invoice, bill, order
Synonym 2: money, credit, finance, payment
Synonym 3: shipping, freight, transport
Each SynonymSets should be disjoint

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}. |
| `context` | `str` This is a freeform field. Example contexts can be "sales," "engineering," "real estate," "accounting," etc. The context can be supplied during search requests. |
| `synonyms` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.SynonymSet.Synonym]` List of Synonyms for the context. |

## Classes

### Synonym

    Synonym(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a list of words given by the customer
All these words are synonyms of each other.