1. A method comprising: outputting, by a computing device and for display at a presence-sensitive display, a graphical keyboard comprising a plurality of keys; receiving, by the computing device, an indication of at least one gesture to select at least one key of the plurality of keys; determining, by the computing device, a location at the presence-sensitive display at which the at least one gesture to select the at least one key is detected; modifying, by the computing device and based at least in part on a location of a next key of the plurality of keys relative to the location of the at least one gesture, a spatial model for the next key; determining, by the computing device, a candidate word based at least in part on data provided by the modified spatial model and a language model, wherein the modified spatial model provides a first portion of the data based at least in part on an indication of at least one subsequent gesture and wherein the language model provides a second portion of the data based at least in part on a lexicon; and outputting, by the computing device and for display at the presence-sensitive display, the candidate word.
1. A method comprising: outputting, by a computing device and for display at a presence-sensitive display, a graphical keyboard comprising a plurality of keys; receiving, by the computing device, an indication of at least one gesture to select at least one key of the plurality of keys; determining, by the computing device, a location at the presence-sensitive display at which the at least one gesture to select the at least one key is detected; modifying, by the computing device and based at least in part on a location of a next key of the plurality of keys relative to the location of the at least one gesture, a spatial model for the next key; determining, by the computing device, a candidate word based at least in part on data provided by the modified spatial model and a language model, wherein the modified spatial model provides a first portion of the data based at least in part on an indication of at least one subsequent gesture and wherein the language model provides a second portion of the data based at least in part on a lexicon; and outputting, by the computing device and for display at the presence-sensitive display, the candidate word. 14. The method of claim 1 , wherein determining the candidate word comprises: determining, by the computing device and based at least in part on the language model, at least one frequency value, wherein the at least one frequency value is associated with a respective sequence of characters, and wherein the at least one frequency value represents a respective frequency of occurrence of the respective sequence of characters in the lexicon; and selecting, by the computing device and based at least in part on the determined at least one frequency value, the candidate word.