# Class SearchHypernym (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

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

Search resource: SearchHypernym. For example, { hypernym: "vehicle"
hyponyms: \["sedan", "truck"\] } This means in SMART_SEARCH mode,
searching for "vehicle" will also return results with "sedan" or
"truck" as annotations.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Resource name of the SearchHypernym. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}` |
| `hypernym` | `str` Optional. The hypernym. |
| `hyponyms` | `MutableSequence[str]` Optional. Hyponyms that the hypernym is mapped to. |