[summary of the invention]
Based on this, be necessary to provide a kind of screening technique that in input method of Chinese character, can filter out unwanted Chinese character more accurately, improve the candidate Chinese character of user's input speed.
A kind of screening technique of candidate Chinese character comprises the following steps: steps A, obtains the code element of input; Step B converts said code element candidate's Chinese character into and arranges laggard row demonstration; Step C has judged whether to get access to the tone of importing, if then get into step D; Step D is according to said tone screening candidate's Chinese character and arrange again and show.
Preferably, after the said step D, also comprise the following steps: step e, judged whether to get access to the code element of additional input, if then get into step F, otherwise get into step G; If do not get access to said tone, then also get into step e among the said step C; Step F is also arranged and demonstration according to the Chinese character that the code element of said input, the code element of replenishing input and tone further screen the candidate; Step G judges whether to have got access to the instruction of choosing to said candidate's Chinese character, if then get into step H, otherwise returns step C; Step H, the Chinese character that output is selected.
Preferably, if do not get access to said tone, then get into step e among the said step C.
Preferably, the said code element step of obtaining input specifically is the Chinese phonetic alphabet that obtains input.
Preferably, said step D and step F specifically are to obtain said tone through the touch control operation that obtains the tone icon on the interface of input method.
Also be necessary to provide a kind of screening plant of candidate Chinese character of the user's of raising input speed.
A kind of screening plant of candidate Chinese character comprises code element acquisition module, code conversion module, display module and tone acquisition module, and said code conversion module all links to each other with code element acquisition module, display module and tone acquisition module; Said code element acquisition module is used to obtain the code element of input; Said code conversion module is used for changing out candidate's Chinese character according to the tone of the code element of said input and input, and said candidate's Chinese character is sent to said display module; Said display module is used to show said candidate's Chinese character; Said tone acquisition module is used to obtain the tone of said input, and sends to said code conversion module.
Preferably, comprise that also Chinese character chooses module and output module, said Chinese character is chosen module and is linked to each other with said code conversion module, and said output module is chosen module with said Chinese character and linked to each other; Said Chinese character is chosen module and is used to obtain the instruction of choosing to said candidate's Chinese character, and chooses instruction the Chinese character that is selected is sent to said output module according to said; Said output module is used to export the said Chinese character that is selected.
Preferably, said code element is the Chinese phonetic alphabet.
Preferably, said tone acquisition module is used to obtain the tone of said input, specifically is to obtain said tone through the touch control operation that obtains the tone icon on the interface of input method.
The screening technique of above-mentioned candidate Chinese character and the screening plant of candidate Chinese character; In the input process of code element (phonetic); Can screen through the Chinese character of input tone the candidate; The situation that the efficient that the Chinese character that has improved the candidate too much causes importing reduces has improved user's input speed, has improved user's input and has experienced.
[embodiment]
For make the object of the invention, feature and advantage can be more obviously understandable, does detailed explanation below in conjunction with the accompanying drawing specific embodiments of the invention.
The screening technique of candidate Chinese character of the present invention, except being applicable to the common input method of passing through Chinese characters for keyboard inputting, the input method that is particularly useful for being equipped with equipment handheld mobile devices such as (for example) mobile phones of touch-screen to use.
Fig. 1 is the process flow diagram of the screening technique of candidate Chinese character among the embodiment, comprises the following steps:
S110 obtains the code element of input.
Code element in the present embodiment comprises the Chinese phonetic alphabet, stroke, phonetic symbol etc., but does not comprise tone.Promptly obtain the code elements such as phonetic of user through keyboard (or being presented at the soft keyboard on the screen) input.
S120 converts code element candidate's Chinese character into and arranges laggard row demonstration.
Coding rule through input method software converts the code element of obtaining into Chinese character; Because the code element of general input has a plurality of words that are complementary (or speech, sentence; As follows); Therefore be presented in the candidate regions on the interface of input method after will these words that is complementary being arranged in sequence, as candidate's Chinese character.Usually one page can show Wan, therefore will just can check all candidates' Chinese character through page turning.Coding and the rule of arranging repeat no more here.
S130 has judged whether to get access to the tone of importing, if then get into step S140.
The tone here just is meant the tone in the mandarin, comprises high and level tone, rising tone, goes up sound and falling tone, can also comprise softly, but consider that classification is convenient, will also belong in the high and level tone softly in the present embodiment.
In the present embodiment, the input method that the screening technique of candidate Chinese character is used to be equipped with the equipment of touch-screen to use, obtaining tone is to obtain through the touch control operation that obtains being presented at the tone icon on the interface of input method.Fig. 2 is the synoptic diagram of interface of input method that has adopted the screening technique of candidate Chinese character among the embodiment, and interface of input method comprises input field 210 and candidate regions 220.Input field 210 is used to show the code element of input, and shows tone icon (comprise high and level tone, rising tone, go up sound and four tone icons of falling tone).Candidate regions 220 is used for the Chinese character of show candidate.After user's input symbols, click the tone icon choose in the interface of input method that is presented on the touch-screen (in four), produce touch control operation with the input tone.
In other embodiments, can be hand-written tone to be set obtain the zone, obtain the gesture of importing in the zone through obtaining the hand-written tone of user on touch-screen, as shown in Figure 3.The direction synoptic diagram that finger when the indicated direction of 4 arrows shown in Figure 3 is promptly imported 4 kinds of tones (or writing pencil etc. is used for the object of operating touch-screen) slides.It can also be the button that 4 kinds of tones of 4 expressions are set in the soft keyboard zone.
If do not get access to the tone of input in this step, then finish.
S140 is according to tone screening candidate's Chinese character and arrange again and show.
Fig. 4 is the synoptic diagram that obtains interface of input method behind the tone of input, and in the present embodiment, the tone of input (going up sound) is with high bright demonstration (representing Gao Liang with square frame among Fig. 4).Candidate's except tone is last sound Chinese character all is filtered, and is not in first page and be the candidate's of last sound Chinese character in the input field 210 originally, is then therefore shifted to an earlier date and is presented at (if any) in first page.
Fig. 5 is the process flow diagram of the screening technique of candidate Chinese character among another embodiment, and itself and the key distinction embodiment illustrated in fig. 1 are, have increased S150, S160, S170, four steps of S180.
S150 has judged whether to get access to the code element of additional input, if then get into step S160, otherwise get into step S170.If do not get access to the tone of input, then also get into step S150 among the step S130.
The user can also replenish input symbols after having imported tone.With input " sea " is example; Can be to import phonetic " dah " (step S110) afterwards, click falling tone tone icon (step S130), the tone of expression " da " be a falling tone; Then replenish input " ai " (step S150), accomplish the full spelling of " dahai ".
S160 is according to further screening candidate's Chinese character and arrangement and the demonstration of code element harmony accent.According to the code element of obtaining among the S110; The tone that obtains among the code element of additional input and the S130 among the S150 further screens candidate's Chinese character; With aforesaid input " sea " is example, in the S160 step is exactly to be the condition of falling tone according to " dahai " and " da ", obtains candidate's Chinese character.
S170 judges whether to have got access to the instruction of choosing to candidate's Chinese character, if then get into step S180, otherwise returns step S130.
In the present embodiment, choose instruction and be to click that in the input field 210 of interface of input method on the touch-screen corresponding Chinese character produces by the user.Import except can importing single Chinese character at every turn, can also import speech, phrase even sentence etc.Not only complete phonetic can be imported, the initial consonant of (in speech, the sentence) each Chinese character can also be imported.For once importing a plurality of Chinese characters, the code element of promptly importing among the S110 comprises the situation of a plurality of initial consonants, and then S130 obtains the tone that the tone of input is first Chinese character; Therefore the user does not choose under the situation of Chinese character in the S170 step; Can click once more and choose the tone icon, import second, the 3rd ... the tone of Chinese character, therefore need return the tone that step S130 obtains these new inputs; In the input tone, can also replenish input symbols (phonetic), i.e. step S150.That is to say, before choosing Chinese character, the user further input Pinyin to obtain candidate item more accurately.
Still be example with input " sea ", the user can import phonetic " dah " afterwards at S110, clicks falling tone tone icon (S130); The tone of expression " da " is a falling tone; Click and go up several marks of changing the line map (notice that the judged result that is equivalent among S150 and the S170 all is not here, therefore returned step S130), the tone of second Chinese character of expression is last sound; Then replenish input " ai " (S150); Accomplish the full spelling of " dahai ", the tone of " da " is a falling tone simultaneously, and the tone of " hai " is last sound.
In the present embodiment; If the code element of importing among the S110 only comprises an initial consonant; And repeatedly got access to the tone of input among the S130, and then be judged to be modification to tone, screen again according to the tone of last input Chinese character the candidate of the code element that meets input.
S180, the Chinese character that output is selected.
With the example of an input word above-mentioned flow process is done an explanation again.For example want through phonetic input " free translation " this speech.
S110 obtains the code element of input.Obtain the code element of user's input, be in this example " yiyi ".
S120 converts code element candidate's Chinese character into and arranges laggard row demonstration.Phonetic is that the speech of " yiyi " is a lot, and the Chinese character that these speech all can be used as the candidate is presented in the candidate regions 220, and is as shown in Figure 6.But owing to does not show, thus can Pagination Display, do not have " free translation " speech of user's needs in first page.
S130 has judged whether to get access to the tone of importing, if then get into step S140; If not, then get into step S150.
The user can screen through the Chinese character (in this example be candidate word) of input tone to the candidate, promptly clicks in the interface of input method that shows on the touch-screen, is positioned at the falling tone tone icon of input field 210.Click once this icon, first word " yi " of expression input is a falling tone.Can get into step S140 like this, otherwise get into S150.
S140 is according to tone screening candidate's Chinese character and arrange again and show.With first word in the candidate word is not the speech filtering of falling tone,, is shown again then by coming on its speech top afterwards by the position of the speech of filtering, as shown in Figure 7.
S150 has judged whether to get access to the code element of additional input, if then get into step S160, otherwise get into step S170.
Do not need again further input Pinyin in this example, therefore directly jump to step S170.
S160 is according to further screening candidate's Chinese character and arrangement and the demonstration of code element harmony accent.
This step is skipped in this example.
S170 judges whether to have got access to the instruction of choosing to candidate's Chinese character, if then get into step S180, otherwise returns step S130.
If candidate word is still more after having imported the tone of first Chinese character; Can import the tone of second Chinese character; Specific practice will be returned the S130 step like this for clicking (falling tone) tone icon once more, and only to keep first all be falling tone with second Chinese character, and candidate word shows.In this example, as shown in Figure 7 because the tone of only importing first Chinese character just can reach preferable screening effect, therefore can not import the tone of second Chinese character, directly " free translation " chosen in click.The user can produce and choose instruction after choosing the speech " free translation " that needs, and obtains this and chooses instruction and get into step S180 then.
S180 is according to choosing the Chinese character that instruction output is selected.Output " free translation " this speech.
The present invention also provides a kind of screening plant of candidate Chinese character.In one embodiment; The screening plant of candidate Chinese character is to be used with the equipment that is equipped with touch-screen; Fig. 8 is the structural drawing of the screening plant of candidate Chinese character among this embodiment, comprises code element acquisition module 610, code conversion module 620, display module 630, Chinese character and tone acquisition module 640.Code conversion module 620 links to each other with code element acquisition module 610, display module 630 and tone acquisition module 640.
Code element acquisition module 610 is used to obtain the code element of input.Code element in the present embodiment comprises the Chinese phonetic alphabet, stroke, phonetic symbol etc., but does not comprise tone.
Code conversion module 620 is changed out candidate's Chinese character according to code element and tone acquisition module 640 that code element acquisition module 610 obtains, and arranges by certain rule, and the Chinese character with the candidate after arrangement is accomplished sends to display module 630.
Display module 630 is used for the Chinese character of show candidate.Candidate's Chinese character is presented in the interface of input method, and Fig. 4 is the synoptic diagram of interface of input method, and interface of input method comprises input field 210 and candidate regions 220.Input field 210 is used to show the code element of input, and shows tone icon (comprise high and level tone, rising tone, go up sound and four tone icons of falling tone).Candidate regions 220 is used for the Chinese character of show candidate, because one page can show Wan usually, therefore will just can check all candidates' Chinese character through page turning.
Tone acquisition module 640 is used to obtain the tone of input, and sends to code conversion module 620.The tone here just is meant the tone in the mandarin, comprises high and level tone, rising tone, goes up sound and falling tone, can also comprise softly, but consider that classification is convenient, will also belong in the high and level tone softly in the present embodiment.After user's input symbols, click the tone icon choose in the interface of input method that is presented on the touch-screen (in four), produce touch control operation with the input tone.
It is emphasized that the input tone can be to carry out after the code element importing arbitrarily, and be not only to be right after after the simple or compound vowel of a Chinese syllable of having imported a Chinese character.And if when having imported expression and comprising the phonetic of word of a plurality of Chinese characters, can repeatedly import tone accordingly, the tone of first Chinese character of the corresponding expression of the tone of input for the first time, the tone of importing for the k time of then representing k Chinese character.With input " sea " is example, can be to import phonetic " dah " afterwards, clicks falling tone tone icon; The tone of expression " da " is a falling tone; Then input " ai " again, the full spelling of completion " dahai ", this moment is if be necessary; Then can click several marks of changing the line map, the tone of expression " hai " is last sound.The step of importing tone in a word can be in the process of input symbols, to carry out at any time, and when input comprised the word of a plurality of Chinese characters, a plurality of tones of input can be continuous inputs, also can be to intert between the step of input Pinyin, to import.Such benefit is; How many candidate item the user has after can't predicting the specific code element of input before the input; The Chinese character (or speech, sentence) of after having imported a string phonetic, just finding the candidate often is too many; The step of input tone can guarantee that once the step user can screen according to the Chinese character of tone to the candidate at any time, has improved input speed and ease for use any.
As shown in Figure 9, in another embodiment, the screening plant of candidate Chinese character comprises that also Chinese character chooses module 650 and output module 660.Chinese character is chosen module 650 and is linked to each other with code conversion module 620, and output module 660 is chosen module 640 with Chinese character and linked to each other.
Chinese character is chosen module 650 and is used to obtain the instruction of choosing to candidate's Chinese character, and according to choosing instruction the Chinese character that is selected is sent to output module 660.Choose instruction and be to click that in the input field 210 of interface of input method on the touch-screen corresponding Chinese character produces by the user.
Output module 660 is used to export the Chinese character that is selected.
The screening technique of above-mentioned candidate Chinese character and the screening plant of candidate Chinese character; In the input process of code element (phonetic); Can screen through the Chinese character of input tone at any time the candidate; The situation that the efficient that the Chinese character that has improved the candidate too much causes importing reduces has improved user's input speed, has improved user's input and has experienced.
The above embodiment has only expressed several kinds of embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with accompanying claims.