def _remove_accents(self, input_str):
nkfd_form = unicodedata.normalize('<STR_LIT>', input_str)<EOL>return u"<STR_LIT>".join([c for c in nkfd_form if not unicodedata.combining(c)])<EOL>
Convert unicode string to ASCII.

Credit: http://stackoverflow.com/a/517974