code: def replace_punctuation(match, match_type=None):
      text = Text(match.group()).apply(
          *EscapeRegexReservedCharacters.All
      )
      sub = re.sub(r"\.", "∯", text)
      sub_1 = re.sub(r"\。", "&ᓰ&", sub)
      sub_2 = re.sub(r"\．", "&ᓱ&", sub_1)
      sub_3 = re.sub(r"\！", "&ᓳ&", sub_2)
      sub_4 = re.sub(r"\!", "&ᓴ&", sub_3)
      sub_5 = re.sub(r"\?", "&ᓷ&", sub_4)
      last_sub = re.sub(r"\？", "&ᓸ&", sub_5)
      if match_type != "single":
          last_sub = re.sub(r"'", "&⎋&", last_sub)
      text = Text(last_sub).apply(
          *SubEscapedRegexReservedCharacters.All
      )
      return text
  
imports: import re
  from pysbd.utils import Rule, Text
label_desc: Use image node_id 1 for calling a global function with example usage: replace_punctuation(match, match_type) and returns: text