Character Analysis Part I
How can you design a mobile keyboard such that it allows for high speed typing while decreasing the chances of a typo? My first goal is to try to determine an optimal layout for the keyboard (at least a first draft of such a keyboard). My problem is that letters that are incredibly interchangeable are located right next to each other on the QWERTY keyboard (I'm looking at you U, I, and O). My first thought was to go through Moby Dick and generate a histogram of 2 character long sequences to determine the most and least common. That doesn't help with rearranging keys because I am trying to design a keyboard that can eliminate ambiguity like "pot" vs "pit" vs "put" when a computer must decide which letter really should come second in the word. What I really need to do is find the letters that allow for the most permutations of a word that result in words that are still in the English language (sorry other languages, but I'm focusing on English at the moment). What I want for results are numbers that say how many times letter1 can be switched with letter2. If that number is REALLY low we can put them near each other on the keyboard. If that number is high, they need to be separated. By checking every word in the English dictionary for these letter permutations, I should be able to find out which letters need to be separated and which can be close together. Time to start the coding!












