code: def expand_contractions(text) -> list:
      """
      Some regular expressions for expanding common contractions and for splitting linked words.
  
      Parameters
      ----------
      text : str
          Text to process
  
      Returns
      -------
      A list of tokens
      """
      # Specific contractions
      text = re.sub(r"won\'t", "WILL NOT", text, flags=re.IGNORECASE)
      text = re.sub(r"can\'t", "CAN NOT", text, flags=re.IGNORECASE)
      text = re.sub(r"let\'s", "LET US", text, flags=re.IGNORECASE)
      text = re.sub(r"ain\'t", "AM NOT", text, flags=re.IGNORECASE)
      text = re.sub(r"y\'all", "YOU ALL", text, flags=re.IGNORECASE)
      text = re.sub(r"can\'t", "CANNOT", text, flags=re.IGNORECASE)
      text = re.sub(r"can not", "CANNOT", text, flags=re.IGNORECASE)
      text = re.sub(r"\'cause", "BECAUSE", text, flags=re.IGNORECASE)
      text = re.sub(r"thats", "THAT IS", text, flags=re.IGNORECASE)
      text = re.sub(r"dont", "DO NOT", text, flags=re.IGNORECASE)
      text = re.sub(r"hes", "HE IS", text, flags=re.IGNORECASE)
      text = re.sub(r"shes", "SHE IS", text, flags=re.IGNORECASE)
      text = re.sub(r"wanna", "WANT TO", text, flags=re.IGNORECASE)
      text = re.sub(r"theyd", "THEY WOULD", text, flags=re.IGNORECASE)
      text = re.sub(r"theyre", "THEY ARE", text, flags=re.IGNORECASE)
      text = re.sub(r"hed", "HE WOULD", text, flags=re.IGNORECASE)
      text = re.sub(r"shed", "SHE WOULD", text, flags=re.IGNORECASE)
      text = re.sub(r"wouldve", "WOULD HAVE", text, flags=re.IGNORECASE)
      text = re.sub(r"couldve", "COULD HAVE", text, flags=re.IGNORECASE)
      text = re.sub(r"couldnt", "COULD NOT", text, flags=re.IGNORECASE)
      text = re.sub(r"cant", "CAN NOT", text, flags=re.IGNORECASE)
      text = re.sub(
          r"shouldve", "SHOULD HAVE", text, flags=re.IGNORECASE
      )
      text = re.sub(r"oclock", "O CLOCK", text, flags=re.IGNORECASE)
      text = re.sub(r"o'clock", "O CLOCK", text, flags=re.IGNORECASE)
      text = re.sub(r"didn", "DID NOT", text, flags=re.IGNORECASE)
      text = re.sub(r"didnt", "DID NOT", text, flags=re.IGNORECASE)
      text = re.sub(r"im", "I AM", text, flags=re.IGNORECASE)
      text = re.sub(r"ive", "I HAVE", text, flags=re.IGNORECASE)
      text = re.sub(r"youre", "YOU ARE", text, flags=re.IGNORECASE)
  
      # More general contractions
      text = re.sub(r"n\'t", " NOT", text, flags=re.IGNORECASE)
      text = re.sub(r"\'re", " ARE", text, flags=re.IGNORECASE)
      text = re.sub(r"\'s", " IS", text, flags=re.IGNORECASE)
      text = re.sub(r"\'d", " WOULD", text, flags=re.IGNORECASE)
      text = re.sub(r"\'ll", " WILL", text, flags=re.IGNORECASE)
      text = re.sub(r"\'t", " NOT", text, flags=re.IGNORECASE)
      text = re.sub(r"\'ve", " HAVE", text, flags=re.IGNORECASE)
      text = re.sub(r"\'m", " AM", text, flags=re.IGNORECASE)
  
      # Split linked words
      if "VOCALIZED" not in text:
          text = re.sub(r"-", " ", text, flags=re.IGNORECASE)
      text = re.sub(r"\s\s+", " ", text)
      text = text.split()
      return text
  
file_path: speechbrain/recipes/Switchboard/ASR/normalize_util.py
imports: import re
  import os
  import csv
  import string
  from collections import defaultdict
label_desc: Use image node_id 2 for calling a global function with example usage: expand_contractions(text) and returns: text