class_docstr: Transforms an input by replacing its words with synonyms provided by
  WordNet. Download nltk_data before running.
code: def __init__(
      self,
      trans_min=1,
      trans_max=10,
      trans_p=0.1,
      stop_words=None,
      language="eng",
      **kwargs,
  ):
      super().__init__(
          trans_min=trans_min,
          trans_max=trans_max,
          trans_p=trans_p,
          stop_words=stop_words,
      )
      self.language = language
      self.get_pos = True
  
imports: from ...transformation import WordSubstitute
label_desc: Use image node_id 1 to create a new SwapSynWordNet object from inherited base classes: WordSubstitute with example: obj = SwapSynWordNet(trans_min, trans_max, trans_p, stop_words, language)