BACKGROUND

Some computing devices (e.g., mobile phones, tablet computers, etc.) may provide a graphical keyboard as part of a graphical user interface for composing text using a presence-sensitive display (e.g., a touchscreen). The graphical keyboard may enable a user of the computing device to enter text (e.g., an e-mail, a text message, or a document, etc.). For instance, a presence-sensitive display of a computing device may output a graphical (or “soft”) keyboard that enables the user to enter data by indicating (e.g., by tapping) keys displayed at the presence-sensitive display.

In some cases, the computing device may present a graphical keyboard with which the user can indicate a word by tapping individual keys displayed on the graphical keyboard or by successively sliding a finger over the regions associated with graphical keys representing characters of which the word is comprised. In this way, graphical keyboards provide an input method that allows the user to enter characters, words, or a group of words by one or more gestures. As such, a graphical keyboard may allow the user to achieve a certain degree of efficiency by quickly and accurately entering text.

However, graphical keyboards have certain drawbacks. For example, a computing device may receive a series of tap gestures or sliding gestures from a user paying little attention to accuracy. The characters inputted by the computing device, though, may be different than the characters that the user attempted to select. Consequently, the user may need to correct the inputted characters. As such, entering text with gestures using a graphical keyboard may be difficult and reduce the speed at which the user may interact with the computing device.

SUMMARY

In one example a method includes 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 a group of keys of the plurality of keys, and determining, by the computing device, at least one characteristic associated with the at least one gesture to select the group of keys of the plurality of keys. The method further includes modifying, by the computing device and based at least in part on the at least one characteristic, a spatial model, determining, by the computing device, a candidate word based at least in part on data provided by the spatial model and a language model, wherein the spatial model provides a first portion of the data based at least in part on the indication of the at least one 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.

In another example a computer-readable storage medium is encoded with instructions that, when executed, cause one or more processors of a computing device to perform operations comprising: outputting, for display at a presence-sensitive display, a graphical keyboard comprising a plurality of keys, receiving an indication of at least one gesture to select a group of keys of the plurality of keys, and determining at least one characteristic associated with the at least one gesture to select the group of keys of the plurality of keys. The computer-readable storage medium may be encoded with further instructions that, when executed, cause the one or more processors of a computing device to perform operations comprising: modifying, based at least in part on the at least one characteristic, a spatial model, determining a candidate word based at least in part on data provided by the spatial model and a language model, wherein the spatial model provides a first portion of the data based at least in part on the indication of the at least one gesture and wherein the language model provides a second portion of the data based at least in part on a lexicon, and outputting, for display at the presence-sensitive display, the candidate word.

In another example a computing device includes at least one processor that is operatively coupled to a presence-sensitive display and at least one module operable by the at least one processor to output, for display at the presence-sensitive display, a graphical keyboard comprising a plurality of keys, receive, at the presence-sensitive display, an indication of at least one gesture to select a group of keys of the plurality of keys and determine at least one characteristic associated with the at least one gesture to select the group of keys of the plurality of keys. The at least one module may further be operable by the at least one processor to modify, based at least in part on the at least one characteristic, a spatial model, determine a candidate word based at least in part on data provided by the spatial model and a language model, wherein the spatial model provides a first portion of the data based at least in part on the indication of the at least one gesture and wherein the language model provides a second portion of the data based at least in part on a lexicon, and output, for display at the presence-sensitive display, the candidate word.

The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims.

