Embodiment
Below conjunction with figs. and embodiment are specified embodiment of the present invention, by this to the present invention how the application technology means implementation procedure that solves technical matters and reach technique effect can make much of and implement according to this.
Fig. 1 is the block schematic diagram of the Chinese pinyin system of multiple-segmentation of the present invention.Please with reference to Fig. 1, the Chinese pinyin system 100 of multiple-segmentation is made up of with selecting module 170 double attribute phonetic alphabet data bank 110, cutting contrast Chinese vocabulary bank 120, input module 130, identification module 140, logic module 150, search module 160.Wherein, double attribute phonetic alphabet data bank 110 is in order to store a plurality of double attribute phonetic alphabet; The double attribute phonetic alphabet are meant and can be used as sound letter together, also can be used as last or end syllable letter simultaneously.For instance, in " mingan " this spelling sound letter, if with g as the letter of sound together, i.e. " min-gan ", then its corresponding Chinese be " sensitivity ", as if g is alphabetical as a last or end syllable, i.e. " ming-an ", then its corresponding Chinese is " homicide case ".Therefore g is unique double attribute phonetic alphabet in " mingan " this spelling sound letter, and it can be used as sound letter or last or end syllable letter together, and remaining letter does not have this characteristic.The more important thing is that in " mingan " this spelling sound letter, the g conduct is the pairing Chinese of sound letter together, is different with g as the resulting corresponding Chinese of last or end syllable letter.Double attribute phonetic alphabet data bank 110 of the present invention has been included the letter of all tool double attribute.
Cutting contrast Chinese vocabulary bank 120 stores a plurality of cutting monograms at least, and corresponding to a plurality of Chinese words of each cutting monogram.One spelling sound letter has one or more than one cutting monogram; What wherein those cutting monograms and this spelling sound letter was comprised is alphabetical identical; Difference between the two is: the cutting monogram gets for the double attribute phonetic alphabet cutting that is comprised according to this spelling sound letter, so the standard of cutting is relevant with the double attribute phonetic alphabet that this spelling sound letter is had.The continuity previous example; " mingan " this spelling sound letter has a dual attribute phonetic alphabet g, and g as sound is alphabetical together, can be obtained first group of cutting letter " min-gan "; G as last or end syllable letter, then can be obtained second group of cutting letter " ming-an ".Letter and former phonetic alphabet " mingan " that these two groups of cutting letters are comprised are identical.Cutting contrast Chinese vocabulary bank 120 has stored a plurality of cutting monograms, and with it pairing a plurality of Chinese words.For instance, cutting contrast Chinese vocabulary bank 120 has promptly comprised two groups of cuttings letters of " min-gan " and " ming-an ", with and corresponding respectively " sensitivity " and " homicide case " two Chinese words.
Input module 130 is responsible for receiving the phonetic alphabet combination of user's input, and identification module 140 is searched the phonetic alphabet combination that is received and whether had the double attribute phonetic alphabet through with reference to double attribute phonetic alphabet data bank 110.For instance; Input module 130 receives spelling sound letter " mingan "; 140 of modules of identification are respectively with m, i, n, g, a and six letters of n; A plurality of double attribute phonetic alphabet that contrast double attribute data bank 110 is comprised obtain this spelling sound letter " mingan " and have a double attribute phonetic alphabet g.
If phonetic alphabet combination judges that via identification module 140 it has one or more double attribute phonetic alphabet; At least one cutting monogram is analyzed and obtained to 150 those double attribute phonetic alphabet that comprised according to this phonetic alphabet combination of logic module to these phonetic alphabet.More specifically, logic module 150 respectively as playing sound letter and last or end syllable letter, makes up those double attribute phonetic alphabet and carries out cutting to these phonetic alphabet.
It below is the possible conduct of logic module 150; The combination of one phonetic alphabet judges to have n double attribute phonetic alphabet through identification module 140; Judge rationally that wherein n is a natural number, other establish l be one 0 to n increase progressively natural number (be l be followed successively by 0,1,2,3 ..., n), then logic module 150 will be wherein n-l double attribute phonetic alphabet to be regarded as sound alphabetical; All the other l double attribute phonetic alphabet are regarded as the last or end syllable letter, decompose this n+1 back of phonetic alphabet combination and produce 2 with loop
nIndividual cutting monogram, wherein this 2
nIndividual cutting monogram is not got rid of possibly comprise identical two or more combinations.Be example with " mingan " still, this spelling sound monogram has double attribute phonetic alphabet, and it is 1 that logic module 150 is established n, and l then is followed successively by 0,1.At first when l=0, logic module 150 has been the sound letter with n-l=1 double attribute phonetic alphabet wherein, with all the other l=0 be the last or end syllable letter, obtain one group of cutting alphabetical " min-gan "; Come again when l=1; Logic module 150 has been the sound letter with n-l=0 double attribute phonetic alphabet wherein, with all the other l=1 be the last or end syllable letter, also obtain one group of cutting alphabetical " ming-an "; Total obtains two groups of cutting letters, and these two groups of cutting monogram modes are different.
Search the one or more cutting monograms of module 160 in order to logic module 150 is produced; Compare with cutting contrast Chinese vocabulary bank 120 stored a plurality of cutting monograms, and find out the pairing one or more Chinese words of the one or more cutting monograms that meet each other.With " mingan " is example; It has two groups of cutting monograms " min-gan " and " ming-an "; Search module 160 and find two groups of cutting monograms that conform to fully in cutting contrast Chinese vocabulary bank 120; And further finding the pairing Chinese words of these two groups of cutting monograms, it is respectively " sensitivity " and " homicide case ".
Select module 170 in order to produce the selection set, wherein selecting set is the set of including the Chinese words of searching module 160 generations, in order to provide the user from wherein picking out a Chinese words.Example in the continuity is selected module 170 to produce one and is selected set, and this selection set comprises " sensitivity " and " homicide case " these two Chinese words.
The Chinese pinyin system 100 of this multiple-segmentation more can comprise one and show the module (not shown); In order to the relevant input and output of the Chinese pinyin system that shows this multiple-segmentation 100; As show that phonetic alphabet combination, demonstration selection set that the user imports supply the user to select, and show the Chinese words that the user selects.In addition, one select set, if this selections set only comprises one and during unique individual Chinese words, then the Chinese pinyin system 100 of multiple-segmentation directly exports (demonstration) this Chinese words for what select that module 170 produces.
In addition, the Chinese pinyin system 100 of this multiple-segmentation can allow the user that the stored contents of this cutting contrast Chinese vocabulary bank 120 is edited.For instance; The user is according to " send out and think " speech input " faxiang " of wanting; Through the one group cutting monogram " fa-xiang " of identification module 140 with 150 generations of logic module; But because cutting contrast Chinese vocabulary bank 120 conform to " fa-xiang " have only " method mutually " and " prosper " two Chinese words, and the selection that causes showing is gathered and is not also only comprised two speech of person; At this moment, the user can increase new one Chinese words voluntarily and " send out and think " to cutting contrast Chinese vocabulary bank 120, and is as shown in Figure 7.In addition, if a Chinese words has high occurrence rate in literary composition, then the user also can increase self-defining cutting monogram and corresponding Chinese words to cutting contrast Chinese vocabulary bank 120 newly.Like " back coupling " speech, the user can increase a self-defining cutting monogram newly and be " hs ".
Fig. 2 is the flow chart of steps of the Chinese pinyin method of multiple-segmentation of the present invention.Please, set up a dual attribute phonetic alphabet data bank 110, comprise wherein at least one cutting monogram of each double attribute phonetic alphabet with reference to Fig. 2, and each cutting monogram pairing one Chinese words (step 210).After receiving at least one phonetic alphabet combinations (step 220) of user's input; For each phonetic alphabet combination; Confirm whether this phonetic alphabet combination exists one or more double attribute phonetic alphabet (step 230), as if existing, then that those double attribute phonetic alphabet are alphabetical with last or end syllable as playing the sound letter respectively; Cutting is carried out in this phonetic alphabet combination, obtained one or more cutting monograms (step 240).
Below be the possible embodiment of step 240: phonetic alphabet combination judges that through step 230 it has n double attribute phonetic alphabet; Wherein rationally setting n is a natural number; Other establish l be one 0 to n increase progressively natural number (be l be followed successively by 0,1,2,3 ..., n); Then logic module 150 wherein n-l double attribute phonetic alphabet be regarded as the sound letter, all the other l double attribute phonetic alphabet are regarded as the last or end syllable letter, make up n+1 time with these phonetic alphabet of loop decomposition after and produce 2
nIndividual cutting monogram, wherein this 2
nIndividual cutting monogram is not got rid of possibly comprise identical two or more combinations.
After step 240, search the one or more Chinese words (step 250) of corresponding those cutting monograms in this double attribute phonetic alphabet data bank 110, comprise one of those Chinese words with generation and select set, and show and should select set (step 260).
The Chinese pinyin method of this multiple-segmentation more can comprise the user and set up the step that one or more cutting monograms reach corresponding with it one or more Chinese words voluntarily.In addition, can more be contained in when confirm selecting only to comprise in the set a Chinese words, directly the step of output (demonstration) this Chinese words.
Present embodiment is the peripheral operation through the user, imports, clicks input or touch-type input like keyboard, is implemented in the equipment of tool phonetic input function; Described equipment comprises PC, and portable device such as mobile phone, personal digital assistant.In addition, the more extensible master-slave architecture that is applied to of present embodiment, i.e. Chinese pinyin system and method thereof on the line of multiple-segmentation.Below conjunction with figs. is detailed.
Fig. 3 is the framework signal of Chinese pinyin system on the line of multiple-segmentation; Fig. 4 is the block schematic diagram of Chinese pinyin system on the line of multiple-segmentation; Wherein Fig. 3 is extended for the synoptic diagram of client and server-side framework for system; For understanding and explaining orally conveniently, Fig. 4 only keeps the binding of a client and server-side with signal.
Please be simultaneously with reference to Fig. 1, Fig. 3 and Fig. 4; According to the system before the expansion shown in Figure 1, on the line of multiple-segmentation Chinese pinyin system 100 in double attribute phonetic alphabet data bank 310, cutting contrast Chinese vocabulary bank 320, identification module 340, the logic module 350 of server-side 300, search module 360 and all be as good as with the module of the same name of the Chinese pinyin system 100 of multiple-segmentation with selecting module 370.Server-side 300 replaces the Chinese pinyin system 100 described input modules of multiple-segmentation with a transmission module 330; In order to carry out the transmission of data with a plurality of clients 200; The data of wherein being transmitted comprises the phonetic alphabet combination that is received from client 200 at least, with the selection set that is sent to client 200.Chinese pinyin system 100 comprises one in each client 200 and handles module 210 on the line of multiple-segmentation, in order to transmitting the phonetic alphabet combination that this client 200 users are imported, and handles 200 of this clients and is received from the information that server-side 300 is passed back.
In addition; Each client 200 of Chinese pinyin system 100 more can comprise one and show the module (not shown) on the line of this multiple-segmentation; In order to be shown in the message of being transmitted between server-side 300 and this client 200; As show that the phonetic alphabet that this client 200 is imported make up, show the selection set that this server-side 300 is passed back, and show the Chinese words that this client 200 is selected.In addition, one select set, if this selections set only comprises one and during unique individual Chinese words, then this server-side 300 directly should export this client 200 to by the Chinese words for what select that module 370 produces.
Fig. 5 is the flow chart of steps of Chinese pinyin method on the line of multiple-segmentation.Please be simultaneously with reference to Fig. 4 and Fig. 5; At first set up a dual attribute phonetic alphabet data bank 310 in server-side; Comprise wherein at least one cutting monogram of each double attribute phonetic alphabet, and each cutting monogram pairing one Chinese words (step 510); One client 200 shows and transmits that at least one phonetic alphabet that this client 200 users import are incorporated into server-side 300 (step 520); For each phonetic alphabet combination; This server-side 300 confirms whether there are one or more double attribute phonetic alphabet (step 530) in this phonetic alphabet combination, and is as if existing, then that those double attribute phonetic alphabet are alphabetical with last or end syllable as playing the sound letter respectively; Cutting is carried out in this phonetic alphabet combination, obtained one or more cutting monograms (step 540).Then this server-side 300 is searched the one or more Chinese words (step 550) of corresponding those cutting monograms in this double attribute phonetic alphabet data bank 310; And generation comprises a selection set (step 560) of those Chinese words; This server-side 300 transmits this choice set and is bonded to this client 200 (step 570) at last, and this client 200 shows should select set (step 580).Wherein the possible embodiment of step 530 is as described in the Chinese pinyin system 100 of multiple-segmentation.
In addition, produce in this server-side 300 and to comprise the step that set selected in one of those Chinese words,, more comprise the step that this servomechanism 300 directly should the Chinese words exports this client 200 to if this selections set comprises one and during unique individual Chinese words.
Fig. 6 is the synoptic diagram of display interface of the present invention.Please with reference to Fig. 6, this display interface has shown phonetic alphabet combinations " mingan ", the selection set 610 of user's input, and wherein this selection set 610 has comprised three Chinese words.
In sum; But the difference between knowledge capital invention and the prior art is to have the technological means of carrying out multiple-segmentation according to the double attribute phonetic alphabet; In the time of can solving prior art and import the combination of same phonetic alphabet by this technological means; Different input methods can show different Chinese words, the Chinese words that therefore causes input method and shown be not the user the problem of the words that will import, and then reach the technique effect of more pressing close to user's demand.
Though the embodiment that the present invention disclosed as above, described content is not in order to direct qualification scope of patent protection of the present invention.Have common knowledge the knowledgeable in the technical field under any the present invention, under the prerequisite of spirit that does not break away from the present invention and disclosed and scope, can do a little change reaching on the details of implementing in form.Scope of patent protection of the present invention, still must with appending claims the person of being defined be as the criterion.