Created
December 12, 2017 15:13
-
-
Save rhhernandes/f29a90d4ea83369b40c3f92b09c67a4e to your computer and use it in GitHub Desktop.
Python dictionary with Brazilian Portuguese (PT_BR) special characters and their non-special versions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dic = {'à':'a', 'á':'a', 'â':'a', 'ã':'a', 'ä':'a', 'è':'e', 'é':'e', 'ê':'e', 'ë':'e', 'ì':'i', 'í':'i', 'î':'i', 'ï':'i', 'ò':'o', 'ó':'o', 'ô':'o', 'õ':'o', 'ö':'o', 'ù':'u', 'ú':'u', 'û':'u', 'ü':'u', 'À':'A', 'Á':'A', 'Â':'A', 'Ã':'A', 'Ä':'A', 'È':'E', 'É':'E', 'Ê':'E', 'Ë':'E', 'Ì':'I', 'Í':'I', 'Î':'I', 'Ò':'O', 'Ó':'O', 'Ô':'O', 'Õ':'O', 'Ö':'O', 'Ù':'U', 'Ú':'U', 'Û':'U', 'Ü':'U', 'ç':'c', 'Ç':'C', 'ñ':'n', 'Ñ':'N'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment