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. 6. The method of claim 1 , wherein modifying the spatial model for the next key comprises: determining, by the computing device, a distance between the location of the at least one gesture and the location of the next key; and in response to determining that the distance satisfies a threshold value, modifying, by the computing device and based at least in part on the determined distance, a standard deviation value of the spatial model for the next key.