Letter Frequency: Which Letters for Which Letters?
May 21, 2011 4:22 PM Subscribe
I would like to know how often one letter is followed by all the other letters. For example: A is followed by R 20% of the time, while A is followed by Q only .1% of the time.
posted by 47triple2 to writing & language (15 answers total) 7 users marked this as a favorite
Surely someone has done research on this. I want to know the "odds" that a letter is followed by other letters. So, if I type A, what are the 5 most likely letters I will type after that?
I'm currently running a brute-force AppleScript to solve the problem, but I'm looking at 30-35 hours for 115,000 characters of randomly selected text. (It's not very efficient code.)
This is for a keyboard concept where the keyboard changes dynamically depending on previous input. (Yeah, not to original an idea, but, y'know…)