(s)
| 182 | # Turn a Unicode string to plain ASCII, thanks to |
| 183 | # https://stackoverflow.com/a/518232/2809427 |
| 184 | def unicodeToAscii(s): |
| 185 | return ''.join( |
| 186 | c for c in unicodedata.normalize('NFD', s) |
| 187 | if unicodedata.category(c) != 'Mn' |
| 188 | ) |
| 189 | |
| 190 | # Lowercase, trim, and remove non-letter characters |
| 191 | def normalizeString(s): |