Summary of the invention
For above-mentioned defect, the object of the present invention is to provide the word error correction method of a kind of end device and input method, can revise fast and effectively the wrongly written or mispronounced characters in input message, improve the efficiency of inputting word information.
To achieve these goals, the invention provides the word error correction method of a kind of end device and input method, described method comprises:
Obtain the first pending word according to operational order;
Analyze described the first pending word, show the association's word with described the first character associative;
Receive the second word that user selects from described association word, described the second word is replaced to described the first word.
According to the word error correction method of input method of the present invention, describedly obtain the first pending word step according to operational order and be:
Obtain the word before cursor position on display screen; Or
Receive user's selection instruction, obtain multiple continuous words.
According to the word error correction method of input method of the present invention, described the first pending word of described analysis, show and comprise with association's word step of described the first character associative: analyze the button corresponding to phonetic of described the first word, obtain other candidate character of the pinyin combinations of described button.
According to the word error correction method of input method of the present invention, described the first pending word of described analysis, shows with association's word step of described the first character associative and comprises:
The word with the identical pronunciation of described the first word is obtained in analysis;
By the word of described identical pronunciation and other candidate character Graphics Processing.
According to the word error correction method of input method of the present invention, described described the second word replaced after described the first word step and also comprised:
Described cursor automatically restores to the end of Word message.
The present invention also provides a kind of end device, comprising:
Text acquisition module, for obtaining the first pending word according to operational order;
Analyze display module, for analyzing described pending word, show the association's word with described character associative;
Replacement processing module, the second word of selecting from described association word for receiving user, replaces described the first word by described the second word.
According to end device of the present invention, described text acquisition module comprises:
First obtains submodule, for obtaining the word before cursor position on display screen;
Second obtains submodule, for receiving user's selection instruction, obtains multiple continuous words.
According to end device of the present invention, described analysis display module comprises the second analysis submodule, for analyzing the button corresponding to phonetic of described the first word, obtains other candidate character of the pinyin combinations of described button.
According to end device of the present invention, described analysis display module comprises:
First analyzes submodule, for analyzing the word obtaining with the identical pronunciation of described the first word;
Display sub-module, for by the word of described identical pronunciation and other candidate character Graphics Processing.
According to end device of the present invention, described end device also comprises: cursor recovers module, replaces the end that described cursor is returned to after described the first word to Word message for described the second word.
The present invention is by the time of inputting word information, receive user instruction location and obtain the first pending word, then to this first character analysis processing, obtain the association's word being associated with the first word, such as the identical word of pronunciation, it is presented to candidate regions automatically, until user from selecting association's word after the second word, the first word replaced in the second word by end device, completes the error correction to wrongly written character.Preferably, after error correction completes, cursor can automatically restore to Word message end, to facilitate the editor of information.Whereby, the present invention can revise the wrongly written or mispronounced characters in input message fast and effectively, improves the efficiency of inputting word information.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
End device described in following examples of the present invention refers to have the mobile device of touch-input function, it can be applicable to all information-communication devices and multimedia device, such as mobile communication terminal, navigational system, digital multimedia broadcasting terminal, PDA(Personal Digital Assistant, personal digital assistant), portable media player etc.
Fig. 1 is the end device structural representation of one embodiment of the invention.For ease of describing, the present embodiment only shows the part relevant to thisinvention.End device 100 at least comprisestext acquisition module 10, analyzesdisplay module 20 andreplacement processing module 30, wherein:
Text acquisition module 10, for obtaining the first pending word according to operational order.
Should be appreciated that the first word described in the present embodiment is not limited only to a word, it can be the combination of word, word or continuous multiple words, andtext acquisition module 10 can receive user's instruction and locate pending word.
Analyze display module 20, for analyzing described the first pending word, show the association's word with described the first character associative.
Concrete,analyze display module 20 and can analyze the first word according to preset rules, such as analyzing its phonetic composition, then obtain the word with identical pronunciation.Obtain ifend device 100, under the input state of phonetic nine keys, can also be analyzed all button letters that the first word is corresponding, obtain the alphabetic writing of these alphabetical one-tenth capable of being combined, and be shown to candidate regions.
Replacement processing module 30, the second word of selecting from described association word for receiving user, replaces described the first word by described the second word.
End device 100 demonstrates after association's word at candidate regions, user can select correct word, andreplacement processing module 30 receives after user instruction, and first word of makeing mistakes is replaced with to the second word that user selects, complete whereby error correction, improve user's input efficiency.
Fig. 2 is the end device structural representation of another embodiment of the present invention.The same section of the present embodiment and previous embodiment repeats no more, and is only illustrated with regard to deviation below.
In the present embodiment, describedtext acquisition module 10 comprises that first obtains submodule 11 and second and obtain submodule 12, concrete:
First obtains submodule 11 for obtaining the word before cursor position on display screen.
User is when byend device 100 input characters, can select whether to enable correction process program, if after selecting, in the time that user moves to other position of Word message by the cursor on display screen from Word message end, it is pending word thatend device 100 acquiescences are positioned at this cursor word front and that be close in cursor, whereby, first obtain submodule 11 and get first word of makeing mistakes.
Second obtains submodule 12 for receiving user's selection instruction, obtains multiple continuous words.
Occur mistake if having word in Word message, or have continuous multiple words and occur mistake, user also can choose the several words that connect by cursor operations.
Preferably, in the present embodiment,analyze display module 20 and comprise the first analysis submodule 21, the second analysis submodule 22 and display sub-module 23, wherein:
First analyzes submodule 21 for analyzing the word obtaining with the identical pronunciation of described the first word.
In conjunction with Fig. 3 A, user judges that " driving " is as after wrongly written or mispronounced characters, the back by cursor movement to this word, and first analyzes submodule 21 analyzes this word, obtains the word with the identical pronunciation of this word.
Second analyzes submodule 22 for analyzing the button corresponding to phonetic of described the first word, obtains other candidate character of the pinyin combinations of described button.
End device 100 is under the input state of phonetic nine keys, equally take " driving " as example, its phonetic is that button that " Yu " is corresponding is respectively the button with numeral " 9 " and " 8 ", second analyzes submodule 22 combines the phonetic of these two keys, as " Wu ", " Xu ", " Zu " etc. all with " Yu " corresponding identical button, obtain the candidate character that these phonetics are corresponding.
Display sub-module 23, for by the word of described identical pronunciation and other candidate character Graphics Processing, makes user select easily correct word whereby.
It should be noted that, if the first word is word,end device 100 can obtain the word combination with identical pronunciation, as Fig. 3 B.If the first word is multiple continuous words, equally other word of identical pronunciation corresponding each word is all shown.Preferably, no matter the first word is word or multiple continuous word, if under phonetic nine bonded states, all using the word of other pinyin combinations of the phonetic button of each word as candidate character Graphics Processing.
In other embodiments of the invention, ifend device 100 is at networking state, analyzedisplay module 20 and can also analyze the semanteme of described the first word front and back, obtain alternative word and show from network side, increase whereby the diversity that user selects, make user more can accurately find the word that needs replacement.
Preferably,end device 100 of the present invention also has a cursor and recovers module 40, replaces the end that described cursor is returned to after described the first word to Word message for described the second word, reduces whereby user's operation, improves user and experiences.
Fig. 4 is the word error correction method process flow diagram of the input method of one embodiment of the invention, and it can be realized byend device 100 as shown in Figure 1, and the method comprises:
Step S401, obtains the first pending word according to operational order.
Be to be understood that, the first word described in the present embodiment is not limited only to a word, and it can be the combination of word, word or continuous multiple words, and the first described word is that user thinks and makes mistakes, need to process the word of replacing,end device 100 can receive user's instruction and locate pending word.
Step S402, analyzes described the first pending word, shows the association's word with described the first character associative.
Concrete,end device 100 can be analyzed the first word according to preset rules, such as analyzing its phonetic composition, then obtains the word with identical pronunciation.Obtain ifend device 100, under the input state of phonetic nine keys, can also be analyzed all button letters that the first word is corresponding, obtain the alphabetic writing of these alphabetical one-tenth capable of being combined, and be shown to candidate regions.
Step S403, receives the second word that user selects from described association word, and described the second word is replaced to described the first word.
End device 100 demonstrates after association's word at candidate regions, and user can select correct word, and end device receives after user instruction, and first word of makeing mistakes is replaced with to the second word that user selects, and completes whereby error correction, improves user's input efficiency.
Fig. 5 is the word error correction method process flow diagram of the input method of another embodiment of the present invention, and it can be realized byend device 100 as shown in Figure 2, and the method comprises:
Step S501, obtains the word before cursor position on display screen.User is when byend device 100 input characters, can select whether to enable correction process program, if after selecting, in the time that user moves to other position of Word message by the cursor on display screen from Word message end, it is pending word that enddevice 100 acquiescences are positioned at this cursor word front and that be close in cursor, whereby,end device 100 navigates to first word of makeing mistakes.
Step S502, reception user's selection instruction, obtains multiple continuous words.Occur mistake if having word in Word message, or have continuous multiple words and occur mistake, user also can choose the several words that connect by cursor operations.
Step S503, analyzes the word obtaining with the identical pronunciation of described the first word.In conjunction with Fig. 3 A, user judges that " driving " is as after wrongly written or mispronounced characters, the back by cursor movement to this word, and first analyzes submodule 21 analyzes this word, obtains the word with the identical pronunciation of this word.
Step S504, analyzes the button corresponding to phonetic of described the first word, obtains other candidate character of the pinyin combinations of describedbutton.End device 100 is under the input state of phonetic nine keys, and equally take " driving " as example, its phonetic, for button corresponding to " Yu " is respectively the button with numeral " 9 " and " 8 ", combines the phonetic of these two keys, obtains corresponding candidate character.
Step S505, by the word of described identical pronunciation and other candidate character Graphics Processing.
Step S506, receives the second word that user selects from described association word, and described the second word is replaced to described the first word.
Step S507, returns to described cursor the end of Word message.This step can reduce user's operation, improves user and experiences.
Preferably, in other embodiments of the invention, ifend device 100 is at networking state, can also analyze the semanteme of described the first word front and back, obtain alternative word and show from network side, increasing whereby the diversity that user selects, making user more can accurately find the word that needs replacement.
In sum, the present invention is by the time of inputting word information, receive user instruction location and obtain the first pending word, then to this first character analysis processing, obtain the association's word being associated with the first word, such as the identical word of pronunciation, it is presented to candidate regions automatically, until user, from selecting association's word after the second word, the first word replaced in the second word by end device, completes the error correction to wrongly written character.Preferably, after error correction completes, cursor can automatically restore to Word message end, to facilitate the editor of information.Whereby, the present invention can revise the wrongly written or mispronounced characters in input message fast and effectively, improves the efficiency of inputting word information.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.