code: def unformat_text(text):
      """
      Remove spaces from punctuation.
      """
      for punc in PUNCTUATION_LST:
          text = text.replace(punc[0], punc[1])
  
      return text
  
file_path: ParlAI/parlai/tasks/md_gender/utils.py
imports: import os
  import random
  from collections import defaultdict
  from parlai.tasks.md_gender.build import build
label_desc: Use image node_id 6 for calling a global function with example usage: unformat_text(text) and returns: text