code: def white_space_fix(text):
      return " ".join(text.split())
  
imports: import collections
  import json
  import re
  import string
  import torch
  from tqdm import tqdm
  from nemo.collections.nlp.parts.utils_funcs import tensor2list
  from nemo.utils import logging
label_desc: Use image node_id 2 for calling the QAMetrics obj's underlying member method code with example usage: obj.white_space_fix(text) and returns: str