code: def __init__(
      self,
      action,
      name="Word_Aug",
      aug_min=1,
      aug_max=10,
      aug_p=0.3,
      stopwords=None,
      tokenizer=None,
      reverse_tokenizer=None,
      device="cpu",
      verbose=0,
      stopwords_regex=None,
      include_detail=False,
  ):
      super().__init__(
          name=name,
          method=Method.WORD,
          action=action,
          aug_min=aug_min,
          aug_max=aug_max,
          device=device,
          verbose=verbose,
          include_detail=include_detail,
      )
      self.aug_p = aug_p
      self.tokenizer = tokenizer or Tokenizer.tokenizer
      self.reverse_tokenizer = (
          reverse_tokenizer or Tokenizer.reverse_tokenizer
      )
      self.stopwords = stopwords
      self.stopwords_regex = (
          re.compile(stopwords_regex)
          if stopwords_regex
          else stopwords_regex
      )
  
imports: import string
  import re
  from typing import Iterable
  from nlpaug.util import Method
  from nlpaug.util.text.tokenizer import Tokenizer
  from nlpaug import Augmenter
  from nlpaug.util import WarningException, WarningName, WarningCode, WarningMessage
label_desc: Use image node_id 1 to create a new WordAugmenter object from inherited base classes: Augmenter with example: obj = WordAugmenter(action, name, aug_min, aug_max, aug_p, stopwords, tokenizer, reverse_tokenizer, device, verbose, stopwords_regex, include_detail)