English input method and input device
First Claim
1. An English input method, comprising:
- receiving, by an electronic equipment, an input English character string having an original length, wherein the electronic equipment includes an input device and runs an input application program compatible with the input device for obtaining user inputs;
calculating, by the electronic equipment, a target length based on the original length of the English character string;
looking up, by the electronic equipment, a target English word having a length between the original length and the target length;
automatically calculating, by the electronic equipment, a longest common length between the target English word and the English character string by using a dynamic programming method, where the common length refers to a length of identical letters between the target English word and the input English character string, so that when the English character string inputted by the user skips one or more characters from the target English word, the longest common length allows the target English word to be identified; and
returning, by the electronic equipment, the target English word when the longest common length is equal to N times the target length so that the target English word is a correctly-spelled word to tolerate user mistakes in the input English character string, where N is a positive number less than or equal to 1.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides an English input method and device. The English input method includes the following steps. An input English character string having an original length is received. A target length is calculated based on the original length of the English character string. A target English word having a length between the original length and the target length is looked up. A longest common length between the target English words and the English character string is calculated, where the common length refers to a length of identical letters. The target English words are returned when the longest common length is equal to N times the target length, where N is a positive number less than or equal to 1. Even when a user forgets the exact spelling of an English word or enters only a fraction of the spelling, the user may still obtain the required English word based on the inputted English character string, substantially improving operability.
21 Citations
18 Claims
-
1. An English input method, comprising:
-
receiving, by an electronic equipment, an input English character string having an original length, wherein the electronic equipment includes an input device and runs an input application program compatible with the input device for obtaining user inputs; calculating, by the electronic equipment, a target length based on the original length of the English character string; looking up, by the electronic equipment, a target English word having a length between the original length and the target length; automatically calculating, by the electronic equipment, a longest common length between the target English word and the English character string by using a dynamic programming method, where the common length refers to a length of identical letters between the target English word and the input English character string, so that when the English character string inputted by the user skips one or more characters from the target English word, the longest common length allows the target English word to be identified; and returning, by the electronic equipment, the target English word when the longest common length is equal to N times the target length so that the target English word is a correctly-spelled word to tolerate user mistakes in the input English character string, where N is a positive number less than or equal to 1. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An English input device, comprising:
-
a memory; a processor coupled to the memory; and program modules stored in the memory to be executed by the processor, the program modules comprising; an English character string receiving module configured to receive an input English character string having an original length, wherein the English input device runs a compatible input application program for obtaining user inputs; a target length calculation module configured to calculate a target length according to the original length of the English character string; a target English word lookup module configured to look up a target English word having a length between the original length and the target length; a common length calculation module configured to automatically calculate a longest common length between the target English word and the English character string by using a dynamic programming method, where the common length refers to a length of identical letters between the target English word and the input English character string, so that when the English character string inputted by the user skips one or more characters from the target English word, the longest common length allows the target English word to be identified; and an English word return module configured to return the target English words when the longest common length is equal to N times the original length so that the target English word is a correctly-spelled word to tolerate user mistakes in the input English character string, where N is a positive integer less than or equal to 1. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A non-transitory computer accessible media configured to store computer program instructions implementing the English input method, the method comprising:
-
receiving, by an electronic equipment, an input English character string having an original length, wherein the electronic equipment includes an input device and runs an input application program compatible with the input device for obtaining user inputs; calculating, by the electronic equipment, a target length based on the original length of the English character string; looking up, by the electronic equipment, a target English word having a length between the original length and the target length; automatically calculating, by the electronic equipment, a longest common length between the target English word and the English character string by using a dynamic programming method, where the common length refers to a length of identical letters between the target English word and the input English character string, so that when the English character string inputted by the user skips one or more characters from the target English word, the longest common length allows the target English word to be identified; and returning, by the electronic equipment, the target English word when the longest common length is equal to N times the target length so that the target English word is a correctly-spelled word to tolerate user mistakes in the input English character string, where N is a positive number less than or equal to 1. - View Dependent Claims (15, 16, 17, 18)
-
Specification