Skip to content

Instantly share code, notes, and snippets.

@tvquizphd
Last active February 17, 2022 14:42
Show Gist options
  • Save tvquizphd/42003d6f3c6233cd4b6ca1fc38c1cf40 to your computer and use it in GitHub Desktop.
Save tvquizphd/42003d6f3c6233cd4b6ca1fc38c1cf40 to your computer and use it in GitHub Desktop.
Printable ASCII Frequencies in English following https://link.springer.com/content/pdf/10.3758/BF03195586.pdf
[
[ " ", 15480000 ],
[ "e", 7741842 ],
[ "t", 5507692 ],
[ "a", 5263779 ],
[ "o", 4729266 ],
[ "n", 4535545 ],
[ "i", 4527332 ],
[ "s", 4186210 ],
[ "r", 4137949 ],
[ "h", 2955858 ],
[ "l", 2553152 ],
[ "d", 2369820 ],
[ "c", 1960412 ],
[ "u", 1613323 ],
[ "m", 1467376 ],
[ "f", 1296925 ],
[ "p", 1255579 ],
[ "g", 1206747 ],
[ "y", 1062040 ],
[ "w", 1015656 ],
[ ",", 984969 ],
[ ".", 946136 ],
[ "b", 866156 ],
[ "v", 653370 ],
[ "0", 546233 ],
[ "1", 460946 ],
[ "k", 460788 ],
[ "5", 374413 ],
[ "2", 333499 ],
[ "T", 325462 ],
[ "S", 304971 ],
[ "\"", 284671 ],
[ "9", 282364 ],
[ "A", 280937 ],
[ "M", 259474 ],
[ "-", 252302 ],
[ "C", 229363 ],
[ "I", 223312 ],
[ "N", 205409 ],
[ "'", 204497 ],
[ "4", 192528 ],
[ "3", 187606 ],
[ "8", 182627 ],
[ "B", 169474 ],
[ "6", 153865 ],
[ "R", 146448 ],
[ "P", 144239 ],
[ "E", 138443 ],
[ "D", 129632 ],
[ "H", 123632 ],
[ "x", 123577 ],
[ "7", 120094 ],
[ "W", 107195 ],
[ "L", 106984 ],
[ "O", 105700 ],
[ "F", 100751 ],
[ "Y", 94297 ],
[ "G", 93212 ],
[ "J", 78706 ],
[ "z", 66423 ],
[ "j", 65856 ],
[ "U", 57488 ],
[ "q", 54221 ],
[ "\n", null ],
[ ":", 54036 ],
[ ")", 53735 ],
[ "(", 53398 ],
[ "$", 51572 ],
[ "K", 46580 ],
[ ";", 36727 ],
[ "V", 31053 ],
[ "*", 20716 ],
[ "?", 12357 ],
[ "Q", 11659 ],
[ "/", 8161 ],
[ "X", 7578 ],
[ "&", 6523 ],
[ "Z", 5610 ],
[ "!", 2178 ],
[ "%", 1993 ],
[ "+", 309 ],
[ ">", 83 ],
[ "<", 82 ],
[ "=", 22 ],
[ "#", 10 ],
[ "@", 1 ],
[ "[", null ],
[ "\\", null ],
[ "]", null ],
[ "^", null ],
[ "_", null ],
[ "`", null ],
[ "{", null ],
[ "|", null ],
[ "}", null ],
[ "~", null ],
]
{
"0": 24,
"1": 25,
"2": 28,
"3": 41,
"4": 40,
"5": 27,
"6": 44,
"7": 51,
"8": 42,
"9": 32,
" ": 0,
"e": 1,
"t": 2,
"a": 3,
"o": 4,
"n": 5,
"i": 6,
"s": 7,
"r": 8,
"h": 9,
"l": 10,
"d": 11,
"c": 12,
"u": 13,
"m": 14,
"f": 15,
"p": 16,
"g": 17,
"y": 18,
"w": 19,
",": 20,
".": 21,
"b": 22,
"v": 23,
"k": 26,
"T": 29,
"S": 30,
"\"": 31,
"A": 33,
"M": 34,
"-": 35,
"C": 36,
"I": 37,
"N": 38,
"'": 39,
"B": 43,
"R": 45,
"P": 46,
"E": 47,
"D": 48,
"H": 49,
"x": 50,
"W": 52,
"L": 53,
"O": 54,
"F": 55,
"Y": 56,
"G": 57,
"J": 58,
"z": 59,
"j": 60,
"U": 61,
"q": 62,
"\n": 63,
":": 64,
")": 65,
"(": 66,
"$": 67,
"K": 68,
";": 69,
"V": 70,
"*": 71,
"?": 72,
"Q": 73,
"/": 74,
"X": 75,
"&": 76,
"Z": 77,
"!": 78,
"%": 79,
"+": 80,
">": 81,
"<": 82,
"=": 83,
"#": 84,
"@": 85,
"[": 86,
"\\": 87,
"]": 88,
"^": 89,
"_": 90,
"`": 91,
"{": 92,
"|": 93,
"}": 94,
"~": 95
}
{
" ": 0,
"e": 1,
"t": 2,
"a": 3,
"o": 4,
"n": 5,
"i": 6,
"s": 7,
"r": 8,
"h": 9,
"l": 10,
"d": 11,
"c": 12,
"u": 13,
"m": 14,
"f": 15,
"p": 16,
"g": 17,
"y": 18,
"w": 19,
"b": 20,
"v": 21,
"k": 22,
"x": 23,
"z": 24,
"j": 25,
"q": 26
}
{
" ": 0,
"o": 1,
"e": 2,
"t": 3,
"h": 4,
"u": 5,
"r": 6,
"q": 7,
"i": 8,
"c": 9,
"k": 10,
"b": 11,
"w": 12,
"n": 13,
"f": 14,
"x": 15,
"j": 16,
"m": 17,
"p": 18,
"s": 19,
"v": 20,
"l": 21,
"a": 22,
"z": 23,
"y": 24,
"d": 25,
"g": 26
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment