code: def apply_rules(cls, text):
      return re.sub(
          ExclamationWords.EXCLAMATION_REGEX, replace_punctuation, text
      )
  
imports: import re
  from pysbd.punctuation_replacer import replace_punctuation
label_desc: Use image node_id 1 for calling the ExclamationWords obj's underlying member method code with example usage: obj.apply_rules(cls, text) and returns: re