code: def pre_proc(text):
      """normalize spaces in a string."""
      text = re.sub("\s+", " ", text)
      return text
  
imports: import re
  import json
  import spacy
  import msgpack
  import unicodedata
  import numpy
  import pandas
  import argparse
  import collections
  import multiprocessing
  from concurrent.futures import ProcessPoolExecutor
  import logging
label_desc: Use image node_id 6 for calling a global function with example usage: pre_proc(text) and returns: text