11. An electronic device comprising a display and a processor, the processor configured to perform: receiving an input character string; ranking a predicted character string associated with the input character string, wherein the ranking depends on whether the input character string is a substring of the predicted character string and at least on one of a typing speed and a typing confidence, wherein the typing speed is based on a typing speed value determined with respect to a predetermined threshold value, and wherein the typing confidence is based on a typing confidence value that reflects the confidence with which the input character string is input; and displaying the ranked predicted character string on the display.
11. An electronic device comprising a display and a processor, the processor configured to perform: receiving an input character string; ranking a predicted character string associated with the input character string, wherein the ranking depends on whether the input character string is a substring of the predicted character string and at least on one of a typing speed and a typing confidence, wherein the typing speed is based on a typing speed value determined with respect to a predetermined threshold value, and wherein the typing confidence is based on a typing confidence value that reflects the confidence with which the input character string is input; and displaying the ranked predicted character string on the display. 15. The electronic device of claim 11 , wherein the processor is further configured to perform: determining the typing confidence based on the strength of one or more touches associated with the input character string.