class_docstr: Parallelly Word replace transformation to implement normal word replace functions.
class_docstr_tok: ["Parallelly","Word","replace","transformation","to","implement","normal","word","replace","functions","."]
docstr: :param int trans_min: Minimum number of word will be augmented.
  :param int trans_max: Maximum number of word will be augmented. If None
      is passed, number of augmentation is
      calculated via aup_char_p. If calculated result from aug_p is
      smaller than aug_max, will use calculated
      result from aup_char_p. Otherwise, using aug_max.
  :param float trans_p: Percentage of word will be augmented.
  :param list stop_words: List of words which will be skipped from
      augment operation.
  :param ~textflint.common.preprocess.EnProcessor processor:
  :param bool get_pos: whether pass pos tag to _get_substitute_words API.
docstr_tok: [":","param","int","trans_min",":","Minimum","number","of","word","will","be","augmented",".",":","param","int","trans_max",":","Maximum","number","of","word","will","be","augmented",".","If","None","is","passed",",","number","of","augmentation","is","calculated","via","aup_char_p",".","If","calculated","result","from","aug_p","is","smaller","than","aug_max",",","will","use","calculated","result","from","aup_char_p",".","Otherwise",",","using","aug_max",".",":","param","float","trans_p",":","Percentage","of","word","will","be","augmented",".",":","param","list","stop_words",":","List","of","words","which","will","be","skipped","from","augment","operation",".",":","param","~textflint.common.preprocess.EnProcessor","processor",":",":","param","bool","get_pos",":","whether","pass","pos","tag","to","_get_substitute_words","API","."]
code: def __init__(
      self,
      trans_min=1,
      trans_max=10,
      trans_p=0.1,
      stop_words=None,
      **kwargs,
  ):
      r"""
      :param int trans_min: Minimum number of word will be augmented.
      :param int trans_max: Maximum number of word will be augmented. If None
          is passed, number of augmentation is
          calculated via aup_char_p. If calculated result from aug_p is
          smaller than aug_max, will use calculated
          result from aup_char_p. Otherwise, using aug_max.
      :param float trans_p: Percentage of word will be augmented.
      :param list stop_words: List of words which will be skipped from
          augment operation.
      :param ~textflint.common.preprocess.EnProcessor processor:
      :param bool get_pos: whether pass pos tag to _get_substitute_words API.
  
      """
      super().__init__(trans_min, trans_max, trans_p, stop_words)
  
file_path: textflint/textflint/generation/transformation/NMT/parallel_word_substitute.py
imports: from abc import abstractmethod
  from ..word_substitute import WordSubstitute
  from ....common.utils.error import FlintError
  from ....common.utils import logger
  from ....common.utils.list_op import trade_off_sub_words
label_desc: Use image node_id 1 to create a new ParallelWordSubstitute object from inherited base classes: WordSubstitute with example: obj = ParallelWordSubstitute(trans_min, trans_max, trans_p, stop_words)