class_docstr: Synonyms. For implementation details, see
  https://github.com/GEM-benchmark/NL-Augmenter/blob/main/nlaugmenter/transformations/synonym_substitution/transformation.py
  
  This perturbation adds noise to a text source by randomly inserting synonyms of randomly selected
  words excluding punctuations and stopwords.
  The space of synonyms depends on WordNet and could be limited. The transformation might introduce
  non-grammatical segments.
  
  Perturbation example:
  
  **Input:**
      This was a good movie, would watch again.
  
  **Output:**
      This was a dependable movie, would determine again.
class_docstr_tok: ["Synonyms",".","For","implementation","details",",","see","https",":","\/\/github.com\/GEM-benchmark\/NL-Augmenter\/blob\/main\/nlaugmenter\/transformations\/synonym_substitution\/transformation.py","This","perturbation","adds","noise","to","a","text","source","by","randomly","inserting","synonyms","of","randomly","selected","words","excluding","punctuations","and","stopwords",".","The","space","of","synonyms","depends","on","WordNet","and","could","be","limited",".","The","transformation","might","introduce","non-grammatical","segments",".","Perturbation","example",":","*","*","Input",":","*","*","This","was","a","good","movie",",","would","watch","again",".","*","*","Output",":","*","*","This","was","a","dependable","movie",",","would","determine","again","."]
code: def description(self) -> PerturbationDescription:
      return SynonymPerturbation.Description(
          name=self.name, robustness=True, prob=self.prob
      )
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/augmentations/synonym_perturbation.py
imports: from dataclasses import dataclass
  import json
  import os
  from random import Random
  from pathlib import Path
  from typing import Dict, List
  import nltk
  from nltk.corpus import wordnet
  import spacy
  from helm.common.general import match_case, ensure_file_downloaded
  from .perturbation_description import PerturbationDescription
  from .perturbation import Perturbation
label_desc: Use image node_id 2 for calling the SynonymPerturbation obj's underlying member method code with example usage: obj.description() and returns: SynonymPerturbation