A method for predicting one or more terms from a single continuous gesture across a gesture-sensitive keyboard comprising: sampling at a plurality of times a location of the gesture on the gesture-sensitive keyboard as the gesture is performed; and predicting the one or more terms from the plurality of samples by: generating one or more features from the plurality of samples, wherein each of the one or more features relates to a target on the gesture-sensitive keyboard that a user may have intended to input when performing the gesture, and wherein each feature comprises a distance metric which corresponds to a minimum distance between the gesture and the target; generating a prefix tree of terms which includes the one or more features; finding one or more paths through the prefix tree of terms given the one or more features and using the distance metric of said each feature of the one or more features, wherein finding the one or more paths comprises using the distance metrics to generate a probability estimate associated with each path through the prefix tree of terms; returning most probable paths as the predicted one or more terms; and displaying on a display panel of a user interface the predicted one or more terms. sampling at a plurality of times a location of the gesture on the gesture-sensitive keyboard as the gesture is performed; and predicting the one or more terms from the plurality of samples by: generating one or more features from the plurality of samples, wherein each of the one or more features relates to a target on the gesture-sensitive keyboard that a user may have intended to input when performing the gesture, and wherein each feature comprises a distance metric which corresponds to a minimum distance between the gesture and the target; generating a prefix tree of terms which includes the one or more features; finding one or more paths through the prefix tree of terms given the one or more features and using the distance metric of said each feature of the one or more features, wherein finding the one or more paths comprises using the distance metrics to generate a probability estimate associated with each path through the prefix tree of terms; returning most probable paths as the predicted one or more terms; and displaying on a display panel of a user interface the predicted one or more terms. generating one or more features from the plurality of samples, wherein each of the one or more features relates to a target on the gesture-sensitive keyboard that a user may have intended to input when performing the gesture, and wherein each feature comprises a distance metric which corresponds to a minimum distance between the gesture and the target; generating a prefix tree of terms which includes the one or more features; finding one or more paths through the prefix tree of terms given the one or more features and using the distance metric of said each feature of the one or more features, wherein finding the one or more paths comprises using the distance metrics to generate a probability estimate associated with each path through the prefix tree of terms; returning most probable paths as the predicted one or more terms; and displaying on a display panel of a user interface the predicted one or more terms.