Last active
August 16, 2024 09:49
-
-
Save pozhidaevak/0dca594d6f0de367f232909fe21cdb2f to your computer and use it in GitHub Desktop.
Python dict with English letter frequency
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
letterFrequency = {'E' : 12.0, | |
'T' : 9.10, | |
'A' : 8.12, | |
'O' : 7.68, | |
'I' : 7.31, | |
'N' : 6.95, | |
'S' : 6.28, | |
'R' : 6.02, | |
'H' : 5.92, | |
'D' : 4.32, | |
'L' : 3.98, | |
'U' : 2.88, | |
'C' : 2.71, | |
'M' : 2.61, | |
'F' : 2.30, | |
'Y' : 2.11, | |
'W' : 2.09, | |
'G' : 2.03, | |
'P' : 1.82, | |
'B' : 1.49, | |
'V' : 1.11, | |
'K' : 0.69, | |
'X' : 0.17, | |
'Q' : 0.11, | |
'J' : 0.10, | |
'Z' : 0.07 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just a thumbs up 👍