Summary of the invention
Need to input the problem of Chinese character separator in the method for existing inputting chinese phrase, the invention provides a kind of method that separator gets final product inputting chinese phrase that do not need to input.
According to an aspect of the present invention, provide a kind of in electronic equipment the method for inputting chinese phrase, wherein this electronic equipment is with input media, and this input media is divided into the first district and Second Region, and the method comprising the steps of: at the first coded sequence of the first district of this input media input Chinese character; Input the second coded sequence of Chinese character at the Second Region of this input media; The phrase that retrieval first character and the first coded sequence coupling and second word and the second coded sequence mate.
According to one embodiment of present invention, encode Chinese characters for computer is a kind of in stroke, phonetic, phonetic notation, Two bors d's oeuveres, five character shape codings, and the first coded sequence can be the coded sequence that forms according to different encode Chinese characters for computer modes from described the second coded sequence.
According to another embodiment of the invention, when retrieving the coded sequence coupling of a plurality of phrases and input, the show candidate list of phrases is for user selection.
According to another embodiment of the invention, candidate's list of phrases is according to the frequency permutation of using and put in order and can dynamically adjust.
According to another embodiment of the invention, when inputting new encode Chinese characters for computer in described the first district again after the Second Region input encode Chinese characters for computer, the encode Chinese characters for computer of this new input is as the 3rd coded sequence; With according to triliteral coded sequence retrieval phrase.
According to an alternative embodiment of the invention, after the described Second Region input encode Chinese characters for computer again during the new encode Chinese characters for computer in the input of described the first district, the encode Chinese characters for computer of newly inputting adds former the first coded sequence, makes the coupling of the first word in the phrase more accurate.
According to another aspect of the present invention, provide a kind of equipment of inputting chinese phrase, comprising: be divided into the input media of the first district and Second Region, be used for inputting respectively encode Chinese characters for computer; Phrase library is used for storing a plurality of Chinese phrases; The phrase input media is used for forming from the coding of described the first district input the first coded sequence and will forms the second coded sequence from the coding of described Second Region input; Retrieval first character and the first coded sequence coupling from phrase library and second word also inputted the phrase that retrieves with the phrase of the second coded sequence coupling.
According to one embodiment of the present of invention, input equipment is the ITU-T keyboard, and described the first district is 1/2/3/4/5 key, shine upon respectively in the encoding of Chinese stroke horizontal, vertical, cast aside, press down and roll over 5 basic strokes; With described Second Region be 7/8/9/*/0 key, shine upon respectively in the encoding of Chinese stroke horizontal, vertical, cast aside, press down and roll over 5 basic strokes.
According to an alternative embodiment of the invention, input equipment is the Qwerty keyboard, and described the first district is positioned at the left hand district of keyboard and the right hand region that described Second Region is positioned at keyboard.
By the following description of preferred implementation to the explanation principle of the invention, and by reference to the accompanying drawings, other features of the present invention and advantage will be apparent.
Embodiment
Below will describe embodiments of the present invention in detail.
Use the electronic equipment of Chinese phrase input method of the present invention with input media.Should be appreciated that various electronic can be used for inputting chinese phrase.For example, personal computer, PDA, mobile phone etc.The input media of electronic equipment also has multiple, and the dummy keyboard that shows on the ITU-T numeric keypad that adopts such as Qwerty keyboard, telephone set and the computer screen cooperates with some optional equipments such as touch-screen, mouse, rollers.Among the present invention, input media is divided into two districts, and each district can input encode Chinese characters for computer.
The coding method that note that Chinese character has a variety of, for example spelling coding, double spelling coding, phonetic notation coding, stroke coding, the Five-stroke Method coding, sound shape hybrid coding etc., and the present invention can adopt any method of Chinese character coding.Equally, also be known technology according to Chinese character corresponding to encode Chinese characters for computer sequence retrieval, for example, character library according to the frequency of utilization classification to improve retrieval rate etc.The present invention does not relate to the search method of any specific Chinese character.
Fig. 1 is the process flow diagram according to the Chinese phrase input method of one embodiment of the present of invention.Drawing the process flow diagram of encoding to Fig. 1 below with reference to mobile phone and Chinese character five-stroke describes.For the electronic equipment resemble the mobile phone, generally all with an ITU-T keyboard.According to the present invention, the ITU-T keyboard can be divided into two districts.For example, the first district is 1/2/3/4/5 key of keyboard, input respectively encode Chinese characters for computer horizontal, vertical, cast aside, press down and roll over 5 basic strokes.Second Region is the 7/8/9/*/0 key of keyboard, also be used for the input encoding of Chinese stroke horizontal, vertical, cast aside, press down and roll over 5 basic strokes.Fig. 2 shows the schematic diagram of above-mentioned keyboard subregion.In the following description, suppose that the user need to input phrase " we ".The stroke coding of Chinese character " I " is " ノ one Shu ノ Dian ノ Dian ".The stroke coding of Chinese character " " is " ノ Shu Shu Dian Ya ".
As shown in Figure 1, process begins in step 101.Receive numeric keypad input K1 in step 102.K1 for example is button " 3 ", namely stroke " slash ".
In step 102, the area definition at K1 place is the first district and sets coding corresponding to the first coded sequence S1=K1.Namely button 1/2/3/4/5 is defined as the first district and button 7/8/9/*/0 is defined as Second Region.Simultaneously, set the first coded sequence S1=" slash ".Because shone upon simultaneously two groups of identical strokes on numeric keypad, the user can select arbitrarily one group of first character strokes sequence that begins to input phrase wherein.For example, the user also at first button " 9 " with entering stroke " slash ".At this moment, button 7/8/9/*/0 is defined as the first district and button 1/2/3/4/5 is defined as Second Region.Should be appreciated that dynamically to define the first district and Second Region is not necessary, this is just in order to allow the user how begin to input phrase in a district, to be user-friendly to.Can only button 1/2/3/4/5 be defined as the first district and only button 7/8/9/*/0 be defined as Second Region.Like this, the user just must at first press the key in the first district when the input phrase.
In step 104, the word of retrieval and demonstration and S1 coupling.For example, in step 102, inputted stroke " slash ", then retrieved the word with " slash " beginning, and the word that retrieves has been shown.
When a plurality of words and the first coded sequence S1 coupling is arranged, usually can show that a candidate word tabulation is with prompting user or for user selection according to frequency of utilization.Certainly, can also show the encode Chinese characters for computer corresponding to button of input.For example, for the ITU-T keyboard, " a " of button " 2 " in can corresponding phonetic, " b ", " c ".Show that these a plurality of codings are with prompting or for user selection.
In step 105, continue to receive keyboard input Ki, namely continue to receive the follow-up stroke of user's input.For example, user's button " 1 ", namely stroke " horizontal stroke ".Usually, the user inputs a plurality of codings of first character in order to reduce repeated code.It is fixed that the input coding number is generally come by coded system and user's demand.
In step 106, judge whether Ki belongs to the first district.If so, then judge the user also at the stroke of inputting first character, and do not input the next word of phrase.Like this, flow process enters step 107.
In step 107, because the user inputs the stroke of first character, set coding corresponding to the first coded sequence S1=S1+Ki, be about to form the first coded sequence S1 at the coding of the first district input.Then flow process is got back to step 104, further retrieves and word that demonstration and S1 mate.At this moment, S1=" transverse ".Retrieval and demonstration the first two strokes are the Chinese characters of " transverse ".
If step 106 judges that Ki does not belong to the first district, for example Ki is button " 9 " (being stroke " slash "), judges that then the user begins to input next word.Flow process enters step 108.
In step 108, set the second coded sequence S2=S2+Ki.At this moment, the second coded sequence S2=" slash ".
In step 109, the phrase of retrieval first character and S1 coupling and second word and S2 coupling is the phrase that retrieves of demonstration also.The first two strokes of retrieving first character this moment is " transverse " and the first stroke of second word is the phrase of " slash ", and wherein the user wishes that " we " that input can be in tabulation.
Fig. 5 shows the user interface schematic diagram of inputting phrase " we " according to the similar mode of above-mentioned steps.
Should be appreciated that the present invention does not relate to the specific implementation of retrieving phrase.Phrase according to the coding retrieval phrase of each word of phrase is known technology.Usually, in order to input phrase, in the electronic equipment with phrase library.The a large amount of phrase of storage in the phrase library.Phrase quantity decides according to the Storage and Processing ability of electronic equipment and user's demand.According to the coding of each word of user input, can retrieve phrase corresponding in the phrase library like this.If the coded sequence coupling of a plurality of phrases and user input is arranged, also can according to frequency of utilization, provide a candidate list for user selection.This is the priority of high frequency technology that usually adopts in the Chinese character input.In addition, the general order that also can dynamically adjust candidate list according to the frequency of user's actual input Chinese character or phrase.
In addition, in the step 109, as long as the coded portion coupling can retrieve corresponding Chinese character.Should be appreciated that under some coded systems, just Chinese character retrieval is mated in Seeking Truth entirely possibly.For example, in the situation that double spelling coding is general as long as two keys of input can be retrieved a Chinese character, therefore can require the user must input whole codings of Chinese character.
Next, in step 110, continue to receive the input Ki of keyboard.Identical with the situation of input first character in the step 105, the user inputs a plurality of codings of second word in order to reduce repeated code.It is fixed that the input coding number is come by coded system and user's demand.Certainly, if when having retrieved the phrase of inputting, the user can be at this input validation key.
In step 111, if judge whether phrase acknowledgement key of Ki, if so, then flow process enters step 112.In step 112, the phrase that the input user confirms.
If the judged result of step 111 whether, then return step 108, and the coding that Ki is corresponding adds the second coded sequence, with according to accurately retrieving phrase.
In above-described embodiment, stroke coding has repeated code, and the coupling of phrase is part coupling, therefore has the coded sequence coupling of a plurality of phrases and input, needs the show candidate tabulation to supply user selection and affirmation.Should be appreciated that in encode Chinese characters for computer does not have in the situation of a phrase of the unique coupling of coded sequence of repeated code or input, does not then need the step of show candidate tabulation and user's affirmation.Retrieving behind the phrase of unique coupling directly, the input electronic equipment gets final product.
Above-mentioned explanation has only illustrated the method for inputting two word phrases, input for the phrase more than two words can be carried out in the following ways: when receiving the new input that receives again after the input of Second Region from the first district, this new input is as the coded sequence of phrase the 3rd word.According to triliteral coded sequence retrieval phrase.Like this, by using in turn two districts, realize distinguishing the input of the coded sequence of a plurality of words, can retrieve easily corresponding phrase and need not input any " separator ".
When another kind of possible mode was the new input that receives again from the first district after the input that receives Second Region, this new input joined the first coded sequence as the coding of the first word.Can mate more accurately the first word according to the first new coded sequence, thus more accurate retrieval two word phrases.Said method has all been inputted for the coding of second word and has been wished that the situation that the phrase of input also occurs is not particularly useful.Occur in the situation of a plurality of couplings at the coding of the part coding of having inputted first character and second word of part, the user can continue to input the coding of second word usually, appears in the candidate list until wish the phrase of inputting.But when the coding of second word has been inputted and the phrase of wishing input when also not appearing at candidate list, the user can wish the coding of a word increasing rather than re-enter this phrase.Just can adopt said method this moment.
Said method can only directly be inputted two word phrases.The above phrase of two words can be realized by the phrase association.For example, the user wishes to input three word phrases " republic ".According to the method described above, the user can only directly input " republicanism " this two words phrase.After user's input " republicanism ", can provide a phrase association tabulation.In this tabulation, provide the multiword phrase with " republicanism " beginning, i.e. " republic ", " Republican Party " etc.
In addition, the present invention can also use at the Qwerty keyboard.As shown in Figure 3, Q/W/E/A/S that can Qwerty keyboard left hand district is set to the first district, and the I/O/P/K/L of right hand region is set to Second Region, respectively corresponding five basic strokes.Perhaps, as the first district, and the digital block of keypad is as Second Region with the letter part of QWERTY keyboard.
In addition, the present invention can also adopt two districts to adopt not the mode of same-code to input.For example, user's first district's entering stroke and Second Region are at input Pinyin.Perhaps, the first district adopts the input of five strokes and Second Region adopts the input of eight strokes.
Fig. 4 is according to the block scheme of the Chinese phrase input equipment of one embodiment of the present of invention.Chinese phrase input equipment 400 can be can inputting chinese phrase any electronic equipment, for example, personal computer, mobile phone, PDA etc.Chinese phrase input equipment 400 is with input media 410, phrase input media 420, phrase library 430.In addition, can also comprise display device 440 and word frequency adjusting gear 450.
Input media 410 can be that the dummy keyboard that shows on the ITU-T numeric keypad that adopts of Qwerty keyboard, telephone set and the computer screen cooperates with some optional equipments such as touch-screen, mouse, rollers.Input media 410 is divided into the first district 411 and Second Region 412, and each district can input encode Chinese characters for computer.
After the encode Chinese characters for computer that receives input media 410 inputs, the coding that phrase input media 420 will be inputted from the first district 411 of input media 410 forms the first coded sequence, will form the second coded sequence from the coding of Second Region 412 inputs.Phrase input media 420 is retrieved first character and the first coded sequence coupling and phrase that second word and the second coded sequence mate from phrase library 430.
Retrieve the phrase of a plurality of couplings when phrase input media 420 after, they are sent to display device 440.Display device 440 shows that a match phrase tabulation supplies the user further to select.
Word frequency adjusting gear 450 can dynamically be adjusted the frequency of utilization of waiting each phrase in the phrase library 430 according to user's actual input Chinese character or the frequency of phrase.When the first coded sequence that a plurality of phrases and input are arranged and the second coded sequence coupling, the phrase that frequency of utilization is high appears in the candidate list first.
According to one embodiment of present invention, input equipment 410 is ITU-T keyboards, and the first district 411 is 1/2/3/4/5 keys, shine upon respectively in the encoding of Chinese stroke horizontal, vertical, cast aside, press down and roll over 5 basic strokes.Second Region 412 is 7/8/9/*/0 keys, shine upon respectively in the encoding of Chinese stroke horizontal, vertical, cast aside, press down and roll over 5 basic strokes.
According to another embodiment of the invention, input equipment 410 is Qwerty keyboards, and the first district 411 is positioned at the left hand district of keyboard and the right hand region that Second Region 412 is positioned at keyboard.
The invention provides a kind of method that separator gets final product inputting chinese phrase that do not need to input, reduce touch potential.Particularly when input multiword phrase, input efficiency significantly improves.Usually, the repetition rate of coding of multiword phrase is very low, and the general coding of each word of input that only needs can retrieve whole phrase.Input " personal computer " this phrase as example take the user with stroke input method.If need the input separator, then need to press nine keys of 3-0-3-0-4-0-3-0-1.5 strokes and 4 separators are wherein arranged.Adopt method of the present invention then only need to press five keys of 3-9-4-9-1, significantly improved input efficiency.And input method logic simple, intuitive of the present invention, the user can easily learn.
Although above with reference to specific implementations of the present invention, but one skilled in the art will appreciate that these are exemplary explanation, and in the situation that without prejudice to the principle of the invention, can change these embodiments, scope of the present invention is limited by appended claims.