1. A method comprising: receiving, by a computing device, a group of gesture events based on an input entered at a graphical keyboard, wherein at least two gesture events in the group of gesture events comprise representations of one or more locations of the graphical keyboard; determining, by the computing device, a density of a portion of the group of gesture events if at least one gesture event is removed from the portion of the group of gesture events, wherein the density indicates a quantity of gesture events associated with an area of the graphical keyboard in which locations of the gesture events in the portion of the group of gesture events, if the at least one gesture event is removed, are located; and responsive to determining that the density satisfies a threshold, removing, by the computing device, the at least one gesture event from the group of gesture events to reduce the density of the portion of the group of gesture events.