code: def simplify_text(text):
      
      if isinstance(text, six.text_type):
          if six.PY3:  # pragma: no cover
              text = text.translate(text.maketrans("", "", string.punctuation)).lower()
          else:  # pragma: no cover
              text = six.text_type(text.encode('utf-8').translate(string.maketrans("", ""), string.punctuation).lower(), 'utf-8')
      else:
          text = text.translate(string.maketrans("", ""), string.punctuation).lower()
      return " ".join(text.split())
docs: Simplify text to allow comparison.
  
      >>> simplify_text("Awesome Coder wanted at Awesome Company")
      'awesome coder wanted at awesome company'
      >>> simplify_text("Awesome Coder, wanted  at Awesome Company! ")
      'awesome coder wanted at awesome company'
      >>> simplify_text(u"Awesome Coder, wanted  at Awesome Company! ") == 'awesome coder wanted at awesome company'
      True