The content of the invention
For it is above-mentioned the defects of, it is an object of the invention to provide a kind of terminal installation and the word error correction side of input methodMethod, the wrong word in input information can be fast and effectively changed, improve the efficiency of inputting word information.
To achieve these goals, the present invention provides a kind of terminal installation and the word error correction method of input method, the sideMethod includes:
The first pending word is obtained according to operational order;
Analyze the first pending word, display and association's word of first character associative;
The second word that user selects from association's word is received, second word is replaced into first textWord.
It is described that the first pending word is obtained according to operational order according to the word error correction method of the input method of the present inventionStep is:
Obtain the word before cursor position on display screen;Or
The selection instruction of user is received, obtains multiple continuous words.
According to the word error correction method of the input method of the present invention, the analysis first pending word, display withAssociation's word step of first character associative includes:Button corresponding to the phonetic of first word is analyzed, described in acquisitionOther candidate characters of the pinyin combinations of button.
According to the word error correction method of the input method of the present invention, the analysis first pending word, display withAssociation's word step of first character associative includes:
Analysis obtains the word of pronunciation identical with first word;
By the word of the identical pronunciation and other candidate character display processings.
It is described that second word is replaced into the first word step according to the word error correction method of the input method of the present inventionAlso include after rapid:
The cursor automatically restores to the end of text information.
The present invention also provides a kind of terminal installation, including:
Text acquisition module, for obtaining the first pending word according to operational order;
Display module is analyzed, for analyzing the pending word, display and association's word of the character associative;
Replacement processing module, the second word selected for receiving user from association's word, by the described second textWord replaces first word.
According to the terminal installation of the present invention, the text acquisition module includes:
First acquisition submodule, for obtaining the word on display screen before cursor position;
Second acquisition submodule, for receiving the selection instruction of user, obtain multiple continuous words.
According to the terminal installation of the present invention, the analysis display module includes the second analysis submodule, described for analyzingButton corresponding to the phonetic of first word, obtain other candidate characters of the pinyin combinations of the button.
According to the terminal installation of the present invention, the analysis display module includes:
First analysis submodule, the word of pronunciation identical with first word is obtained for analyzing;
Display sub-module, for by the word of the identical pronunciation and other candidate character display processings.
According to the terminal installation of the present invention, the terminal installation also includes:Cursor recovery module, for second wordReplace the end that the cursor is returned to after first word text information.
The present invention obtains the first pending word by inputting word information, receiving user instruction positioning, thenTo first character analysis processing, the association word associated with the first word, such as pronunciation identical word are obtained, by it certainlyDynamic to be shown in candidate regions, after user selects the second word from association's word, the second word is replaced the first text by terminal installationWord, complete the error correction to wrongly written character.Preferably, after the completion of error correction, cursor can automatically restore to text information end, to facilitate letterThe editor of breath.Whereby, the present invention can fast and effectively change the wrong word in input information, improve the effect of inputting word informationRate.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and ExamplesThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.
Terminal installation described in following examples of the present invention refers to the mobile device with touch-input function, and it can be appliedIn all information-communication devices and multimedia device, such as:Mobile communication terminal, navigation system, digital multimedia broadcasting terminal,PDA(Personal Digital Assistant, personal digital assistant), portable media player etc..
Fig. 1 is the terminal installation structural representation of one embodiment of the invention.For ease of description, the present embodiment illustrate only withThe related part of the invention.Terminal installation 100 comprises at least text acquisition module 10, analysis display module 20 and replacement processingModule 30, wherein:
Text acquisition module 10, for obtaining the first pending word according to operational order.
It should be appreciated that the first word described in the present embodiment is not limited only to a word, it can be word, word or continuousMultiple combinatorics on words, the instruction that text acquisition module 10 can receive user position pending word.
Display module 20 is analyzed, for analyzing the first pending word, display and first character associativeAssociate word.
Specifically, analysis display module 20 can analyze the first word according to preset rules, for example its phonetic composition is analyzed,Then the word with identical pronunciation is obtained.If terminal installation 100 under the input state of the key of phonetic nine, can also analyze acquisitionAll button letters, obtain the alphabetic writing that these letters are combined into, and be shown to candidate regions corresponding to first word.
Replacement processing module 30, the second word selected for receiving user from association's word, by described secondWord replaces first word.
For terminal installation 100 after candidate regions show association's word, user can select correct word, replace processing mouldAfter block 30 receives user instruction, the first word of error is replaced with to the second word of user's selection, error correction is completed whereby, carriesThe input efficiency of high user.
Fig. 2 is the terminal installation structural representation of another embodiment of the present invention.The present embodiment is identical with previous embodimentPart repeats no more, and is only illustrated below with regard to deviation.
In the present embodiment, the text acquisition module 10 includes the first acquisition submodule 11 and the second acquisition submodule 12,Specifically:
First acquisition submodule 11 is used to obtain the word on display screen before cursor position.
User can choose whether to enable correction process program when inputting word by terminal installation 100, if selectionAfterwards, then when the cursor on display screen is moved to the other positions of text information by user from text information end, terminal installation100 acquiescence be located at the cursor before and in cursor close to word be pending word, whereby, the first acquisition submodule 11 obtainsTo the first word of error.
Second acquisition submodule 12 is used for the selection instruction for receiving user, obtains multiple continuous words.
If having word mistake occur in text information, or there is mistake, Yong Huye with continuous multiple wordsSeveral words of connection can be chosen by cursor operations.
Preferably, in the present embodiment, analysis display module 20 includes the first analysis submodule 21, second and analyzes submodule 22And display sub-module 23, wherein:
First analysis submodule 21 is used to analyze the word for obtaining pronunciation identical with first word.
With reference to Fig. 3 A, user's judgement is " imperial " after wrong word, to move the cursor to the back of the word, and first analyzes submodule21 analyze the word, obtain the word of pronunciation identical with the word.
Second analysis submodule 22 be used for analyze the phonetic of first word corresponding to button, obtain the spelling of the buttonOther candidate characters of sound combination.
Terminal installation 100 is under the input state of the key of phonetic nine, and equally by taking " imperial " as an example, its phonetic is to be pressed corresponding to " Yu "Key is respectively the button with digital " 9 " and " 8 ", and the phonetic of the two keys is combined by the second analysis submodule 22, such asThe identical button corresponding with " Yu " such as " Wu ", " Xu ", " Zu ", obtains candidate character corresponding to these phonetics.
Display sub-module 23 is used to, by the word of the identical pronunciation and other candidate character display processings, make user wherebyEasily select correct word.
It should be noted that if the first word is word, terminal installation 100 can obtain the word with identical pronunciationLanguage combines, such as Fig. 3 B.If the first word is multiple continuous words, equally by the other of identical pronunciation corresponding to each wordWord is shown.Preferably, no matter the first word is word or multiple continuous words, if under the bonded state of phonetic nine,Then using the word of other pinyin combinations of the phonetic button of each word as candidate character display processing.
In other embodiments of the invention, if terminal installation 100 is in networking state, analysis display module 20 can be withThe semanteme before and after first word is analyzed, alternative word is obtained from network side and shows, increases the various of user's selection wherebyProperty, user is more found the word that needs are replaced.
Preferably, terminal installation 100 of the invention also has a cursor recovery module 40, is replaced for second wordThe cursor is returned to the end of text information after first word, user's operation is reduced whereby, improves Consumer's Experience.
Fig. 4 is the word error correction method flow chart of the input method of one embodiment of the invention, and it can be by as shown in Figure 1Terminal installation 100 realizes that this method includes:
Step S401, the first pending word is obtained according to operational order.
It should be appreciated that the first word described in the present embodiment is not limited only to a word, it can be word, word or continuousMultiple combinatorics on words, and the first described word is that user thinks error, it is necessary to handle the word of replacement, terminal installation 100 canPending word is positioned to receive the instruction of user.
Step S402, analyze the first pending word, display and association's word of first character associative.
Specifically, terminal installation 100 can analyze the first word according to preset rules, for example its phonetic composition is analyzed, soThe word with identical pronunciation is obtained afterwards.If terminal installation 100 under the input state of the key of phonetic nine, can also analyze acquisitionAll button letters, obtain the alphabetic writing that these letters are combined into, and be shown to candidate regions corresponding to one word.
Step S403, the second word that user selects from association's word is received, second word is replaced into instituteState the first word.
For terminal installation 100 after candidate regions show association's word, user can select correct word, and terminal installation connectsAfter receiving user instruction, the first word of error is replaced with to the second word of user's selection, completes error correction whereby, improves userInput efficiency.
Fig. 5 is the word error correction method flow chart of the input method of another embodiment of the present invention, and it can be by as shown in Figure 2Terminal installation 100 realize that this method includes:
Step S501, obtain the word before cursor position on display screen.User is inputting word by terminal installation 100When, it can choose whether to enable correction process program, if after selection, when user is last from text information by the cursor on display screenEnd is when being moved to the other positions of text information, the acquiescence of terminal installation 100 be located at before the cursor and in cursor close to word bePending word, whereby, terminal installation 100 navigate to the first word of error.
Step S502, the selection instruction of user is received, obtain multiple continuous words.If there is word in text informationThere is mistake, or mistake occur with continuous multiple words, user can also be by cursor operations by several texts of connectionWord is chosen.
Step S503, analysis obtain the word of pronunciation identical with first word.With reference to Fig. 3 A, user judges that " imperial " isAfter wrong word, the back of the word is moved the cursor to, the first analysis submodule 21 analyzes the word, obtains reading identical with the wordThe word of sound.
Step S504, analyze the phonetic of first word corresponding to button, obtain the pinyin combinations of the button itsIts candidate character.Terminal installation 100 is under the input state of the key of phonetic nine, and equally by taking " imperial " as an example, its phonetic is corresponding for " Yu "Button be respectively the button with digital " 9 " and " 8 ", the phonetic of the two keys is combined, candidate corresponding to acquisition is literaryWord.
Step S505, by the word of the identical pronunciation and other candidate character display processings.
Step S506, the second word that user selects from association's word is received, second word is replaced into instituteState the first word.
Step S507, the cursor is returned to the end of text information.The step can reduce user's operation, improve and useExperience at family.
Preferably, in other embodiments of the invention, if terminal installation 100 is in networking state, can also analyzeSemanteme before and after first word, obtain alternative word from network side and show, increase the diversity of user's selection whereby, makeUser can accurately more find the word for needing to replace.
In summary, the present invention obtains pending first by inputting word information, receiving user instruction positioningWord, then to first character analysis processing, obtain the association word associated with the first word, such as pronunciation identical textWord, candidate regions are automatically displayed in, after user selects the second word from association's word, terminal installation replaces the second wordThe first word is changed, completes the error correction to wrongly written character.Preferably, after the completion of error correction, cursor can automatically restore to text information end,To facilitate the editor of information.Whereby, the present invention can fast and effectively change the wrong word in input information, improve input word letterThe efficiency of breath.
Certainly, the present invention can also have other various embodiments, ripe in the case of without departing substantially from spirit of the invention and its essenceKnow those skilled in the art when can be made according to the present invention it is various it is corresponding change and deformation, but these corresponding change and becomeShape should all belong to the protection domain of appended claims of the invention.