Class TwowaySynonymsAction (1.6.1)

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

Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes".

  • "sneakers" will use a synonym of "shoes".
  • "shoes" will use a synonym of "sneakers".

Attribute

NameDescription
synonyms Sequence[str]
Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.

Inheritance

builtins.object > proto.message.Message > TwowaySynonymsAction