code: def __init__(
      self,
      action,
      name="Char_Aug",
      min_char=2,
      aug_char_min=1,
      aug_char_max=10,
      aug_char_p=0.3,
      aug_word_min=1,
      aug_word_max=10,
      aug_word_p=0.3,
      tokenizer=None,
      reverse_tokenizer=None,
      stopwords=None,
      device="cpu",
      verbose=0,
      stopwords_regex=None,
      include_special_char=True,
      include_detail=False,
  ):
      super().__init__(
          name=name,
          method=Method.CHAR,
          action=action,
          aug_min=None,
          aug_max=None,
          device=device,
          verbose=verbose,
          include_detail=include_detail,
      )
      self.aug_p = None
      self.aug_char_min = aug_char_min
      self.aug_char_max = aug_char_max
      self.aug_char_p = aug_char_p
      self.aug_word_min = aug_word_min
      self.aug_word_max = aug_word_max
      self.aug_word_p = aug_word_p
      self.min_char = min_char
  
      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 is not None
          else stopwords_regex
      )
      self.include_special_char = include_special_char
  
file_path: nlpaug/nlpaug/augmenter/char/char_augmenter.py
imports: import string
  import re
  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 CharAugmenter object from inherited base classes: Augmenter with example: obj = CharAugmenter(action, name, min_char, aug_char_min, aug_char_max, aug_char_p, aug_word_min, aug_word_max, aug_word_p, tokenizer, reverse_tokenizer, stopwords, device, verbose, stopwords_regex, include_special_char, include_detail)