code: def collapse_whitespace(text):
      return re.sub(_whitespace_re, " ", text)
  
file_path: textlesslib/textless/vocoders/tacotron2/cleaners.py
imports: import re
  from unidecode import unidecode
  from .numbers import normalize_numbers
label_desc: Use image node_id 4 for calling a global function with example usage: collapse_whitespace(text) and returns: re