The present invention relates to input correction, and more particularly to an apparatus for automatic spelling correction.
Handheld devices, such as cellular phones, and PDAs, are designed to be small enough to meet mobility requirements. In order to reduce size handheld devices provide a limited number of buttons for input, and the sum of the buttons is less the total number of characters, such as English letters or phonetic symbols corresponding with Zhu Yin Fu Hao phonetic symbol system. Mobile phones, for example, are limited to 12 buttons for input of phonetic symbols to assemble a Chinese word while the Zhu Yin Fu Hao phonetic symbol system has 37 phonetic symbols, resulting in input difficulty. Hence, cycled buttons, capable of inputting character combinations with one key have been introduced for use in handheld devices. The cycled button enables to input a series of character elements by continuous key pressing. Cycled buttons are discussed in further detail in the following.
Although character entry via cycled button is functional, requiring additional keystrokes to input a phonetic symbol or an English letter may be considered by some to be inconvenient or even difficult. For example, the phonetic symbol combination requires only 3 keystrokes, it requires a total of 6 keystrokes using the cycled buttons described above.
It has often been argued manipulating cycled buttons is difficult due to small, difficult to read prompts. Additionally, when an incorrect character is input, the “clear” button must be pressed to first erase the character before the correct character can be input, resulting in additional keystrokes. For example, when the intended input is but is entered instead, the clear button must first be pressed to erase and button 18 must then be pressed to append to
Moreover, a series of not only characters but character combinations are generated by continuously pressing cycled buttons. Not all character combinations, however, have valid spelling. For example, and are sequentially generated by pressing the button 18 after is input, but is an invalid spelling. Hence, it is desirable to provide a means of automatically disregarding the invalid spelling, thereby eliminating unnecessary additional keystrokes.
In view of these limitations, a need exists for a method and an apparatus of automatic spelling correction to effectively reduce keystrokes.
It is therefore an object of the present invention to provide an automatic spelling correction apparatus to reduce keystrokes.
According to the invention, the apparatus comprises a storage device, a processing unit, and a display unit. The sum of cycled buttons of the apparatus is less than the sum of the characters. Each cycled button with a keystroke number corresponds to a unique character.
The storage device stores a character group table and multiple character combination records. The character group table stores a character sequence associated with each cycled button. The character combination records store multiple character combinations indicating the partial or complete valid spelling.
After inputting an original character combination and a first character, the processing unit first determines whether a first character combination consisting of the original character combination and the first character is valid spelling according to the character combination records.
In one embodiment, if the first character combination is invalid spelling, a second character combination is automatically generated by appending a second character to the original character combination. The first character and the second character are associated with the same cycled button.
In one embodiment, if the first character combination is invalid spelling, a third character combination is generated by replacing the last character of the original character combination with the first character combination.
In one embodiment, if the first character combination is invalid spelling, a fourth character combination is generated by replacing the first character of the first character combination with a third character without activating a clear button.
In one embodiment, the apparatus is a handheld communication device and the characters are Zhu Yin Fu Hao phonetic symbols to be converted into Chinese words.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The character combination records 212 store multiple character combinations representing possible spellings for words, i.e. Chinese words, English words, and the like. For example, a Chinese word spelled consists of two possible character combinations and The character combination is not limited in Chinese and English spelling, consistent with the scope and spirit of the invention, spellings corresponding with different languages may be applied.
Referring to
When the new and prior input signals correspond to different cycled buttons, the processing unit 22 first obtains a new character by reading the first character of a character sequence from the group table 211 corresponding to the new input signal, generates a first character combination by appending the new character to the original character combination, and subsequently, determines whether the first character combination has valid spelling according to the character combination record 212. Several methods, such as sequential search, binary search, quick search, or other algorithms can be applied to determine a specific valid spelling according to the character combination record 212. Once the first character combination has valid spelling, the combination is displayed on the display unit 23, otherwise, the processing unit 22 replaces the last character of the original character combination with the new character to generate a second character combination. For example, after inputting as an original character combination and as a new input character, the second character combination appears instead of the first character combination with invalid spelling, and the correct character combination is finally generated and displayed on the display unit 23.
When the new and prior input signals correspond to the same cycled button, the processing unit 22 first obtains a new character by reading the next character of a character sequence from the group table 211 according to the prior input character, generates a third character combination by replacing the last character of the original character combination with the new character, for example, the third character combination substitutes for the original character combination and subsequently, determines whether the third character combination has valid spelling based on the character combination record 212. The third character combination, which has valid spelling is displayed on the display unit 23, instead, is regenerated by replacing the last character of it based on the character group table 211. Such regeneration procedure is continually executed until a valid spelling is generated.
In step S50, an original character combination is input, then, in step S51, an input signal is received. In step S52, it is determined whether the new and prior input signals correspond to the same cycled button.
When the new and prior input signals correspond to different cycled buttons, the procedure proceeds to step S53, wherein a first character combination is generated by appending a new character corresponding to the new input signal to the original character combination. Subsequently step S54 determines whether the first character combination has valid spelling by comparing it with the character combination record 21. If so, the process proceeds to S59 and displays the first character combination on the display unit 23, otherwise, the procedure returns to S55 to replace the last character of the first character combination with the new character corresponding to the new input signal to generate a second character combination. Continuing to step S55, the process the procedure proceeds S56 to determine whether the second character combination has valid spelling, if so, the procedure proceeds to S59 to display the second character combination on the display unit 23, otherwise, the procedure returns to S55 to regenerate a character combination with valid spelling.
When the new and prior input signals correspond to the same cycled button, the process proceeds to S57, obtaining a new character by reading the next character of a character sequence from the group table 211 depending on the prior input character and replaces the last character of the original character combination with the new character to generate a third character combination. Subsequently, step S58 determines whether the third character combination has valid spelling, if so, the process proceeds to S59 to display the third character combination on the display unit 23, otherwise, the process returns to S57 to continually regenerate characters until a valid spelling is achieved.
Further, referring to
In the first case, in step S50, the processing unit 22 inputs the original character combination and subsequently receives the new input signal corresponding to the cycled button 18 as in step S51. In step S52, the prior input signal is determined to correspond to the cycled button 19 but not 18, and the procedure proceeds to S53 to generate a first character combination Once the first character combination is determined to have invalid spelling by comparison with the character combination record 212 as in step S54, a second character combination is generated by replacing the last character of with as in step S55. Once the second character combination is determined to have valid spelling as in step S56, the combination is displayed on the display unit 23 as in step S59.
In the second case, in step S50, the processing unit 22 inputs original character combination and subsequently receives the new input signal corresponding to the cycled button 18 as in step S51. In step S52, the new input signal is determined to be the same as the prior signal, a third character combination is then generated, as in step S57, by replacing the last character of with according to the character group table 211. In step S58, once third character combination is determined to be an invalid spelling, the process proceeds to S57 to continually regenerate a third character combination Once is determined to have valid spelling as in step S58, the combination is displayed on the display unit 23 as in step S59.
The present invention automatically corrects spelling without manual operation of the clear key and skips invalid spelling, effectively reducing keystrokes.
Although the present invention has been described in its preferred embodiments, it is not intended to limit the invention to the precise embodiments disclosed herein. Those who are skilled in this technology can still make various alterations and modifications without departing from the scope and spirit of this invention. Therefore, the scope of the present invention shall be defined and protected by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
092115805 | Jun 2003 | TW | national |
This patent application is a continuation application (CA) of a U.S. patent application Ser. No. 10/817,804 filed Apr. 6, 2004, and now pending. The contents of the related patent application are incorporated herein for reference.
Number | Date | Country | |
---|---|---|---|
Parent | 10817804 | Apr 2004 | US |
Child | 12379473 | US |