code: def _sanitize(self, unsanitized):
          
  
          sanitized = ""
  
          # strip punctuation and diacritics
          replace_punct = str.maketrans( string.punctuation + "᾽᾿῾", ' '*(len(string.punctuation) + 3)  )
          sanitized = unsanitized.translate( replace_punct )
          sanitized = "".join(c for c in unicodedata.normalize("NFD", sanitized) if unicodedata.category(c) != "Mn")
  
          #finally, lose all whitespace
          sanitized = re.sub(r'\s+','', sanitized)
  
          return sanitized
docs: Sanitize input string to optimize string comparison match
          :param unsanitized: str
          :return: str