Skip to content

Instantly share code, notes, and snippets.

@devxleo
Created December 7, 2015 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devxleo/9c4f7e917b0f68d7eba3 to your computer and use it in GitHub Desktop.
Save devxleo/9c4f7e917b0f68d7eba3 to your computer and use it in GitHub Desktop.
English letter frequency table
//https://en.wikipedia.org/wiki/Letter_frequency#Relative_frequencies_of_letters_in_the_English_language
var letter_frequency_table = {
'a': 8.167,
'b': 1.492,
'c': 2.782,
'd': 4.253,
'e': 12.702,
'f': 2.228,
'g': 2.015,
'h': 6.094,
'i': 6.966,
'j': 0.153,
'k': 0.772,
'l': 4.025,
'm': 2.406,
'n': 6.749,
'o': 7.507,
'p': 1.929,
'q': 0.095,
'r': 5.987,
's': 6.327,
't': 9.056,
'u': 2.758,
'v': 0.978,
'w': 2.361,
'x': 0.150,
'y': 1.974,
'z': 0.074
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment