code: def clean_punctuations(string, table, punctuation_to_replace):
      for punc, replacement in punctuation_to_replace.items():
          string = re.sub(
              "\\{}".format(punc), " {} ".format(replacement), string
          )
      if table:
          string = string.translate(table)
      return string
  
file_path: NeMo/nemo/collections/common/parts/preprocessing/cleaners.py
imports: import re
  import inflect
  from text_unidecode import unidecode
  from nemo.utils import logging
label_desc: Use image node_id 5 for calling a global function with example usage: clean_punctuations(string, table, punctuation_to_replace) and returns: string