class_docstr: Word Swap by swaping words that have multiple POS tags in WordNet.
docstr: :param treebank_tag: words with this pos tag will be replaced
  :param kwargs:
code: def __init__(
      self, treebank_tag="JJ", trans_max=2, trans_p=1, **kwargs
  ):
      r"""
  
      :param treebank_tag: words with this pos tag will be replaced
      :param kwargs:
      """
      super().__init__(trans_max, trans_p, **kwargs)
      self.treebank_tag = treebank_tag
      self.check_pos()
      self.wordnet_candidates = self.get_candidates_from_wordnet()
      self.get_pos = True
  
file_path: textflint/textflint/generation/transformation/POS/multi_pos_swap.py
imports: from ....input.component.sample import POSSample
  from ...transformation import WordSubstitute
label_desc: Use image node_id 1 to create a new SwapMultiPOS object from inherited base classes: WordSubstitute with example: obj = SwapMultiPOS(treebank_tag, trans_max, trans_p)