code: def replace_stopword_by_reserved_word(
      self, text, stopword_reg, reserve_word
  ):
      replaced_text = ""
      reserved_stopwords = []
  
      # pad space for easy handling
      replaced_text = " " + text + " "
      for m in reversed(list(stopword_reg.finditer(replaced_text))):
          # Get position excluding prefix and suffix
          start, end, token = m.start(), m.end(), m.group()
          # replace stopword by reserve word
          replaced_text = (
              replaced_text[:start] + reserve_word + replaced_text[end:]
          )
          reserved_stopwords.append(
              token
          )  # reversed order but it will consumed in reversed order later too
  
      # trim
      replaced_text = replaced_text[1:-1]
  
      return replaced_text, reserved_stopwords
  
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 12 for calling the WordAugmenter obj's underlying member method code with example usage: obj.replace_stopword_by_reserved_word(text, stopword_reg, reserve_word) and returns: replaced_text,  reserved_stopwords