code: def preprocess(string):
      
      string = unicode(string, encoding="utf-8")
      return regex.sub('', string).encode('utf-8')
docs: Preprocess string to transform all diacritics and remove other special characters than appropriate
      
      :param string:
      :return: