4. The method of claim 1 , further comprising: determining a plurality of character strings that potentially correspond to the sequence of contact inputs; and determining, using a geometry model, a probability of each character string of the plurality of character strings given the sequence of contact inputs, wherein the plurality of candidate words is determined from the plurality of character strings based on the probability of each character string of the plurality of character strings given the sequence of contact inputs.
1. A method for inputting language, the method comprising: at a device having one or more processors, memory, and a touch-sensitive display: detecting a sequence of contact inputs via a keyboard interface on the touch-sensitive display, wherein detecting a contact input of the sequence of contact inputs comprises detecting an initiation of contact with the touch-sensitive display at a first position of the keyboard interface, a continuous contact motion from the first position to a second position of the keyboard interface, and a release of contact from the touch-sensitive display at the second position, and wherein the contact input represents a user selection of at most one character key of the keyboard interface; determining a plurality of candidate words corresponding to the sequence of contact inputs; ranking the plurality of candidate words based on a probability that the contact input is an intended input to select a first key of the keyboard interface, and a probability that the contact input is an intended input to select a second key of the keyboard interface; and displaying a portion of the plurality of candidate words for user selection.