Class TwowaySynonymsAction (1.10.2)

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".


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