Background technology
User input for ease improves user's input speed, and it is defeated that present five-stroke input method can realize that five phonetics mix, and all can provide four yards unique screens, the 5th yard gone up automatically that screen and intelligence on the first-selected word are made the speech function.When the user selected four yards unique automatically go up screen and shield etc. commonly used on lead-in with the 5th yard after, make speech four yards intelligence of will be automatically when unique some pinyin word and user not being confirmed and shield demonstration on automatically.It is significant speech sometimes that pinyin word that automatic in this case upward screen shows or intelligence are made speech, is insignificant speech sometimes.If automatically go up the insignificant speech that screen shows, bring inconvenience then for user's input, and the user that slowed down import the speed of Chinese character.
Four yards unique automatically goes up screen, the 5th yard with shielding function on the first-selected word, refers to the user and imports four yards unique speech and will directly go up screen, and when repeated code, importing the 5th yard also can be automatically with shielding on the first-selected speech.Intelligence is made speech and is referred to the character/word for continuous input, reasonably connects, and forms new word.The effect that intelligence is made speech is automatically perhaps to simplify complicated input for the user provides the neologisms that possibly use.
Wherein, be the continuous input of buffer memory because intelligence is made the processing logic of speech, then suitable connection is carried out in these continuous inputs, be combined into neologisms.Therefore, such strategy also exists and possibly introduce repetitor more greatly, perhaps insignificant rubbish speech when bringing suitable neologisms.Such as: " Xiao Ming "+" ", can organize out " Xiao Ming ", clearly, this is not really significant word, and the group base is originally useless.For another example: importing " always the most noisy in " continuously by word, can organize out " always " such speech, also is insignificant rubbish speech.
In a word, present intelligence is made the very difficult assurance of speech strategy and is only produced suitable rational significant neologisms, and the while is the insignificant rubbish speech of automatic fitration generation again.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method that the last automatically screen of meaningless speech shows in the five-stroke input method that reduces, improve the speed that the user imports Chinese character.
The method that screen shows gone up automatically in meaningless speech in this minimizing five-stroke input method provided by the invention, comprises the steps:
A, significant speech and insignificant speech are carried out mark respectively;
B, to four yards unique candidate word of user input, or the user imported the 5th yard first candidate word, according to said mark, judges whether to be insignificant speech, if, execution in step C then; Otherwise execution in step D;
C, show said candidate word, screen shows on the candidate word of again user being selected;
D, said candidate word is directly gone up screen show.
In the said steps A, can the intelligence of confirming be made speech and carry out mark as significant speech; The intelligence that to not confirm makes speech and pinyin word is carried out mark as meaningless speech.
The said intelligence that will confirm make speech as significant speech carry out mark can for: the part of speech phenotypic marker that the intelligence that will confirm is made speech is 1; The said intelligence that will not confirm make speech and pinyin word as meaningless speech carry out mark can for: the part of speech phenotypic marker that the intelligence that will not confirm is made speech is 0, is 2 with the part of speech phenotypic marker of pinyin word; Among the said step B, can whether be 0 or 2, judge whether candidate word is insignificant speech according to the part of speech phenotypic marker.
Be used for storing the file or the internal memory of the user thesaurus entry of entry information, can store each entry: standard code, input coding, entry and part of speech type.
Can be through to the statistics of candidate word quantity among the said step B, confirm candidate word whether be four yards unique.
Visible by above-mentioned technical scheme; The method that screen shows gone up automatically in meaningless speech in this minimizing five-stroke input method of the present invention; Through significant speech and insignificant speech are carried out mark respectively; To insignificant speech do not carry out four yards unique directly go up screen with the 5th yard with the function of shielding on the first-selected word, thereby reduced meaningless speech go up the screen demonstration automatically, improved the speed that the user imports Chinese character.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, below lift specific embodiment, to further explain of the present invention.
The method that screen shows gone up automatically in meaningless speech in this minimizing five-stroke input method of the present invention; Through significant speech and insignificant speech are carried out mark respectively; Insignificant speech is not carried out four yards unique screen and the 5th yards directly gone up with the function of shielding on the first-selected word; Thereby the screen of going up automatically that has reduced meaningless speech shows, has improved the speed of user's input.
Below be embodiment with the QQ five-stroke input method, the present invention is elaborated.
In the present embodiment, at first the part of speech type of candidate word has been done mark, for example: the intelligence that will confirm is made speech, and the part of speech phenotypic marker is 1, and the intelligence that will not confirm is made speech, and the part of speech phenotypic marker is 0, is 2 with pinyin word part of speech phenotypic marker.Like this, it is as shown in table 1 to be used to store the file or the memory structure of user thesaurus entry of entry information:
Standard code |
Input coding |
Entry |
The part of speech type |
Table 1
Specifically, when the user uses spelling input method input Chinese character, be 2 with the part of speech phenotypic marker of importing at every turn; It is 0 with the part of speech phenotypic marker earlier that the intelligence of each input is made speech, and after the user confirmed that this intelligence is made speech, the part of speech phenotypic marker with this speech was 1 again.Like this, the part of speech phenotypic marker is 1 speech, is exactly the significant speech that the user confirms, the part of speech phenotypic marker is 2 or 0 speech, can think insignificant rubbish speech.
The user selects when unique " four yards directly go up screen ", " the 5th yard with shielding on the first-selected speech " and " intelligence is made speech " function.
Referring to Fig. 1, Fig. 1 is provided with page synoptic diagram for the QQ five-stroke input method is used to be provided with four yards unique automatic upward screen, the 5th yard attributes with screen function on the first-selected word.Among Fig. 1, the user has selected " directly going up screen when unique for four yards " and " the 5th yard with shielding on the first-selected speech " these two options.Above the user chooses, after two, import four yards unique speech and will directly go up screen, when repeated code, importing the 5th yard also can be automatically with shielding on the first-selected speech.
Referring to Fig. 2, Fig. 2 makes the attribute of speech function page synoptic diagram is set for the QQ five-stroke input method is used to be provided with intelligence.Among Fig. 2, the user has selected " intelligence is made speech " this option.
Intelligence is made the speech function and for the user a kind of approach is provided, and for name that does not comprise in the system or compound word etc., can automatically these speech be added user thesaurus according to user's input, has made things convenient for input.
Referring to Fig. 3, Fig. 3 makes speech example 1 synoptic diagram for intelligence.Example 1 is the input to name, continuous input " king "+" little "+" bifurcation ", and input method is given record with " the little bifurcation of king " these three words as a speech, and " the little bifurcation of king " just can be used as a word and appears in the candidate list afterwards.
Referring to Fig. 4, Fig. 4 makes speech example 2 synoptic diagram for intelligence.Example 2 is the input to compound word, and input " internet "+" weekly " will be organized out " InternetWeek " continuously.Like Fig. 3 and Fig. 4, directly go up screen and be meant that the speech of organizing out not only shows, goes up screen simultaneously and is presented in editor's the file in the candidate word tabulation.
After the user has selected " directly going up screen when unique for four yards ", " the 5th yard with shielding on the first-selected speech " and " intelligence is made speech ", carry out process that Chinese character imports referring to Fig. 5 with the QQ five-stroke input method, Fig. 5 is that schematic flow sheet imported in the Chinese character of the embodiment of the invention.This flow process may further comprise the steps:
Step 501 receives four codings that the user imports.
Step 502, judge in the candidate word whether be four yards unique, if then execution in step 503; Otherwise, execution in step 506.
In this step, be through statistics to candidate word quantity, confirm candidate word whether be four yards unique.
Step 503 judges that whether four yards unique candidate word are that the intelligence of mistake unconfirmed is made speech or pinyin word, if then execution in step 504; Otherwise, execution in step 508.
In this step, be to confirm according to the file of user thesaurus entry or the part of speech phenotypic marker of memory.Specifically, if this part of speech phenotypic marker is 0, then be that the intelligence of not confirming is made speech; If this part of speech phenotypic marker is 1, then be that the intelligence of confirming is made speech; If this part of speech phenotypic marker is 2, then this speech is a pinyin word.
Step 504, show candidate speech supply the user to select.
In this step, show candidate speech in the candidate word list box only, this candidate word does not directly go up screen and shows.
Step 505 shows screen on the candidate word of user's selection.
In this step, shield on the candidate word of exactly user being selected and be presented in editor's the file, accomplish the input of this speech.
Step 506 receives the 5th coding that the user imports.
Step 507 judges that whether first candidate word is that the intelligence of mistake unconfirmed is made speech or pinyin word, if then execution in step 504; Otherwise, execution in step 508.
Determination methods and the determination methods in the step 503 in this step are identical, no longer repeat specification here.
Step 508 directly goes up screen with first candidate word and shows.
Promptly first candidate word not only shows in the candidate word tabulation, goes up screen simultaneously and is presented in editor's the file.
Need to prove; Be example only below with the QQ five-stroke input method; Technical scheme of the present invention is not limited only to the QQ five-stroke input method, fails, provides four yards unique to go up the five-stroke input method that screen, the 5th yard make the speech function with screen on the first-selected word and intelligence automatically suitable equally for realizing that five phonetics mix.
Visible by the foregoing description, the method that screen shows gone up automatically in meaningless speech in this minimizing five-stroke input method of the present invention, through significant speech and insignificant speech are carried out mark respectively; Four yards unique candidate word to user's input; Or the user imports the 5th yard first candidate word, according to said mark, judges whether to be insignificant speech; Insignificant speech is not carried out four yards unique screen and the 5th yards directly gone up with the function of shielding on the first-selected word; The screen of going up automatically that has reduced meaningless speech shows, has reduced the chance of mistake input, improves the speed that the user imports Chinese character.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.