code: def clean_text(
      string, table, punctuation_to_replace, abbreviation_version=None
  ):
      warn_common_chars(string)
      string = unidecode(string)
      string = string.lower()
      string = re.sub(r"\s+", " ", string)
      string = clean_numbers(string)
      string = clean_abbreviations(string, version=abbreviation_version)
      string = clean_punctuations(string, table, punctuation_to_replace)
      string = re.sub(r"\s+", " ", string).strip()
      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 1 for calling a global function with example usage: clean_text(string, table, punctuation_to_replace, abbreviation_version) and returns: string