Fuzzy phoneme is to foundation, method to set up and input method and device thereof and system
Technical field
The application relates to the communications field, particularly relates to a kind of fuzzy phoneme to foundation, method to set up and input method and device thereof and system.
Background technology
Existing spelling input method can provide fuzzy phoneme to arrange function usually, such as, if user obscures for the pronunciation of " s " and " sh " in mandarin, and the easy wrong input Pinyin " shi " when spelling Chinese character " think of ".Can solve this problem by arranging fuzzy phoneme to " s " and " sh ", that is, arranging " s " and " sh " is a fuzzy phoneme pair, like this, if user's input Pinyin " shi ", Chinese character corresponding to " shi " and " si " can be shown in alternative Chinese character simultaneously, select for user.
Existing fuzzy phoneme setting up procedure comprises:
Client device provides fuzzy phoneme to arrange interface to user, is arranged the fuzzy phoneme pair filled in or select user easily to obscure in interface by user at fuzzy phoneme.The fuzzy phoneme that client device is submitted to according to user is to carrying out fuzzy phoneme configuration.When user uses spelling input method to input Chinese character, the Chinese character that client device is corresponding with the phonetic that user inputs to display according to fuzzy phoneme.
Because said process needs user to arrange fuzzy phoneme pair, and user does not probably also know how to remove to select fuzzy phoneme pair, especially need which selects become fuzzy phoneme pair, do not need which selects become fuzzy phoneme pair, in the process selected, easily there is fuzzy phoneme mistake is set, and then affect the text event detection efficiency of spelling input method.
Application content
This application provides a kind of fuzzy phoneme to foundation, method to set up and input method and device thereof and system, to solve the fuzzy phoneme pair automatically cannot determining applicable user, the problem of the Lookup protocol of fuzzy phoneme can not be provided.
A kind of fuzzy phoneme, to method for building up, comprising:
When client device detects that user revises the operation of input error in Pinyin Input process, compare the similarity of the first pinyin character string before amendment and amended second pinyin character string;
When described client device judges that this similarity exceedes first threshold, or/and the difference existed between simple or compound vowel of a Chinese syllable between the initial consonant determining the first pinyin character string and the second pinyin character string;
The initial consonant that there are differences, according to the difference determined, is defined as fuzzy phoneme pair by described client device, or/and, the simple or compound vowel of a Chinese syllable that there are differences is defined as fuzzy phoneme pair; Or, described client device by the initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable sends to server, and receive described server according to described in the initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable is determined and the fuzzy phoneme pair returned.
The method that fuzzy phoneme is arranged, comprising:
Client device obtains the fuzzy phoneme pair that belonging to self, zoning is corresponding;
Described client device according to the fuzzy phoneme got to carrying out fuzzy phoneme setting.
Based on the input method that above-mentioned fuzzy phoneme method to set up realizes, comprising:
Client device receives the pinyin character string of user's input;
Client device according to the initial consonant in the pinyin character string of described input or/and corresponding fuzzy phoneme pair searched in simple or compound vowel of a Chinese syllable, according to the fuzzy phoneme found to generating corresponding pinyin character string;
The pinyin character string that client device inputs according to described user and this client to the pinyin character string generated, export corresponding Chinese character to be selected for user's selection according to the fuzzy phoneme found.
A kind of client device, comprising:
Receiver module, for receiving the pinyin character string of user's input;
Comparison module, for when detecting that user revises the operation of input error in Pinyin Input process, compares the similarity of the front first pinyin character string of amendment and amended second pinyin character string;
Judge module, for judging whether described similarity exceedes first threshold;
First determination module, for when described judge module judges that described similarity exceedes first threshold, or/and the difference existed between simple or compound vowel of a Chinese syllable between the initial consonant determining the first pinyin character string and the second pinyin character string;
Second determination module, for the difference determined according to described first determination module, is defined as fuzzy phoneme pair by the initial consonant that there are differences, or/and, the simple or compound vowel of a Chinese syllable that there are differences is defined as fuzzy phoneme pair.
A kind of fuzzy phoneme, to setting up system, comprises client device and server, wherein:
Described client device, for when detecting that user revises the operation of input error in Pinyin Input process, compares the similarity of the first pinyin character string before amendment and amended second pinyin character string; When judging that this similarity exceedes first threshold, or/and the difference existed between simple or compound vowel of a Chinese syllable between the initial consonant determining the first pinyin character string and the second pinyin character string; By the initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable sends to described server, and receive described server according to described in the initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable is determined and the fuzzy phoneme pair returned;
Described server, for receiving the initial consonant that there are differences of client device transmission or/and simple or compound vowel of a Chinese syllable, and according to this initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable determination fuzzy phoneme pair; By the fuzzy phoneme determined to returning to described client device.
A kind of client device, comprising:
Acquisition module, for obtaining fuzzy phoneme pair corresponding to zoning belonging to self;
Module is set, for according to the fuzzy phoneme that gets to carrying out fuzzy phoneme setting.
Realize a client device for above-mentioned input method, comprising:
Receiver module, for receiving the pinyin character string of user's input;
Search module, for initial consonant in the pinyin character string that receives according to described receiver module or/and corresponding fuzzy phoneme pair searched in simple or compound vowel of a Chinese syllable;
Generation module, for searching fuzzy phoneme that module searches arrives to generating corresponding pinyin character string described in basis;
Output module, for the pinyin character string that receives according to described receiver module and described generation module according to described in search fuzzy phoneme that module searches arrives to the pinyin character string generated, export corresponding Chinese character to be selected and select for user.
Compared with prior art, the application at least has the following advantages:
In the application, in Pinyin Input process, revising the operation of input error by detecting user, determining the difference existed between the first pinyin character string before revising and amended second pinyin character string, and according to the difference determination fuzzy phoneme pair determined; According to the fuzzy phoneme determined to carrying out fuzzy phoneme to setting; When after the pinyin character string receiving user's input, select for user exporting corresponding Chinese character to be selected according to the pinyin character string of user's input and the fuzzy phoneme of correspondence, make client device can determine the fuzzy phoneme pair of self, the automatic setting control function of fuzzy phoneme is provided, improves the efficiency of the text event detection of spelling input method.
Accompanying drawing explanation
Fig. 1 is that the fuzzy phoneme that provides of the embodiment of the present application one is to the schematic flow sheet of method for building up;
Fig. 2 is that the fuzzy phoneme that provides of the embodiment of the present application three is to the schematic flow sheet of the 1st of method to set up the kind of mode;
Fig. 3 is that the fuzzy phoneme that provides of the embodiment of the present application three is to the schematic flow sheet of the 2nd of method to set up the kind of mode;
Fig. 4 is that the fuzzy phoneme that provides of the embodiment of the present application three is to the schematic flow sheet of the 3rd of method to set up the kind of mode;
Fig. 5 is that the fuzzy phoneme that provides of the embodiment of the present application four is to the schematic flow sheet of the 1st of method to set up the kind of mode;
Fig. 6 is that the fuzzy phoneme that provides of the embodiment of the present application four is to the schematic flow sheet of the 2nd of method to set up the kind of mode;
Fig. 7 is that the fuzzy phoneme that provides of the embodiment of the present application five is to the schematic flow sheet of the 1st of method to set up the kind of mode;
Fig. 8 is that the fuzzy phoneme that provides of the embodiment of the present application five is to the schematic flow sheet of the 2nd of method to set up the kind of mode;
Fig. 9 is the schematic flow sheet of the fuzzy phoneme that provides of the embodiment of the present application six to the method arranged;
Figure 10 is the schematic flow sheet of the fuzzy phoneme that provides of the embodiment of the present application seven to the method arranged;
Figure 11 is the schematic flow sheet of the input method that the embodiment of the present application eight provides;
Figure 12 is the structural representation of the client device that the embodiment of the present application nine provides;
Figure 13 is that the fuzzy phoneme that provides of the embodiment of the present application ten is to the structural representation setting up system;
Figure 14 is the structural representation of the client device that the embodiment of the present application 11 provides;
Figure 15 is the structural representation of the client device that the embodiment of the present application 12 provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the application, be clearly and completely described the technical scheme in the embodiment of the application, obviously, the embodiments described below are only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the embodiment protection of the application.
Embodiment one
The embodiment of the present application one provides a kind of fuzzy phoneme to method for building up, and as shown in Figure 1, its fuzzy phoneme provided for the embodiment of the present application one, to the schematic flow sheet of method for building up, comprises the following steps:
Step 101, client device receive the pinyin character string of user's input.
When step 102, client device detect that user revises the operation of input error in Pinyin Input process, compare the similarity of the first pinyin character string before amendment and amended second pinyin character string.
Concrete, in Pinyin Input process, due to reasons such as individual speech habits or hand mistakes, Pinyin Input mistake may be there is in user.When inputting " forest " as wanted as user, the pinyin character string of user's input may be " shenlin ".When the result obtaining oneself wanting is failed in user's discovery according to the pinyin character string of input, user can revise the pinyin character string of input, as " shenlin " being revised as " senlin ".When client detects the operation of above-mentioned amendment input error of user, compare the similarity of the first pinyin character string (as " shenlin ") before amendment and amended second pinyin character string (as " senlin ").
When step 103, client device judge that this similarity exceedes first threshold, or/and the difference existed between simple or compound vowel of a Chinese syllable between the initial consonant determining the first pinyin character string and the second pinyin character string.
Concrete, be " shenlin " with the first pinyin character string, the second pinyin character string is " senlin " is example.Client can compare the similarity of these two pinyin character strings, and judge whether the similarity of this character string exceedes threshold value (as when different characters is two in character corresponding in two pinyin character strings, the similarity of these two pinyin character strings is first threshold, and different characters is fewer, similarity is higher).Because " shenlin " is compared with " senlin ", be only the initial consonant of a first pinyin character string character more than the initial consonant of the second pinyin character string, therefore the similarity of these two character strings exceedes threshold value.Or/and the difference existed between simple or compound vowel of a Chinese syllable between the initial consonant that client determines these two pinyin character strings, i.e. " sh " and " s ".
The initial consonant that there are differences, according to the difference determined, is defined as fuzzy phoneme pair by step 104, client device, or/and, the simple or compound vowel of a Chinese syllable that there are differences is defined as fuzzy phoneme pair.
Such as, " sh " and " s " can be defined as fuzzy phoneme pair by client device.Client determination fuzzy phoneme, can also according to the fuzzy phoneme determined to carrying out fuzzy phoneme to setting to afterwards.
In order to make the fuzzy phoneme determined to more reasonable, in the embodiment of the present application, or/and after the difference existed between simple or compound vowel of a Chinese syllable between the initial consonant that client device determines the first pinyin character string and the second pinyin character string, can also judge whether the similarity between the initial consonant that there are differences exceedes Second Threshold further; Or/and whether the similarity between the simple or compound vowel of a Chinese syllable that judgement there are differences is more than the 3rd threshold value.When the similarity between client device judges the initial consonant that there are differences exceedes Second Threshold, the initial consonant that this be there are differences is defined as fuzzy phoneme pair; Or/and when client device judges that similarity between the simple or compound vowel of a Chinese syllable that there are differences is more than the 3rd threshold value, the simple or compound vowel of a Chinese syllable that this be there are differences is defined as fuzzy phoneme pair.
In the embodiment of the present application, client determination fuzzy phoneme, can also by the fuzzy phoneme determined to sending to server to afterwards, by server according to the corresponding relation of the fuzzy phoneme received to statistics fuzzy phoneme pair and zoning.Wherein, the corresponding relation of fuzzy phoneme pair and zoning can be specially: the corresponding relation of IP address field belonging to the IP address of fuzzy phoneme pair and client device.
Embodiment two
The embodiment of the present application two provides a kind of fuzzy phoneme to method for building up, with embodiment one unlike, in this embodiment, client device is between the initial consonant determining the first pinyin character string and the second pinyin character string or/and after the difference existed between simple or compound vowel of a Chinese syllable, by the initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable sends to server, and receive described server according to described in the initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable is determined and the fuzzy phoneme pair returned.Obviously, the technical scheme provided by this embodiment, client device does not need to possess according to the initial consonant that there are differences or/and the right ability of simple or compound vowel of a Chinese syllable determination fuzzy phoneme, relatively low to the requirement of client device capabilities.
In this embodiment, server or/and simple or compound vowel of a Chinese syllable determines that fuzzy phoneme is to afterwards, can also add up the corresponding relation of fuzzy phoneme pair and zoning according to the initial consonant that there are differences received.Client device receives fuzzy phoneme that server returns to rear, can also according to the fuzzy phoneme received to carrying out fuzzy phoneme to setting.
Embodiment three
The embodiment of the present application three provides one to be applied to fuzzy phoneme method to set up, and client device provides the automatic setting control function of fuzzy phoneme.
The time that client device carries out fuzzy phoneme setting automatically includes but not limited to: when installing spelling input method, or when receiving user's triggering (clicking " fuzzy phoneme setting " button in input method as user).
The method that this example provides includes but not limited to following 3 kinds of modes.
1st kind of mode, as shown in Figure 2, comprises the following steps:
Step 201, the IP address of client device acquisition self.
The obtain manner of this IP address includes but not limited to directly search in own net property parameters obtain IP address, or obtain the IP address of self by other means, such as, when client device obtains input method installation kit from particular server, this server obtains the IP address of client device and is carried in installation kit this IP address and sends to client device together, and client device receives installation kit and own IP address.
Step 202, the fuzzy phoneme pair that client device is corresponding according to the IP address search of self.
Can the corresponding relation of storing IP address and zoning in client device, and zoning and the right corresponding relation of fuzzy phoneme, or the corresponding relation that directly storing IP address is right with fuzzy phoneme, the fuzzy phoneme pair of correspondence is found according to own IP address.Preferably, the corresponding relation of IP address and zoning, and IP address and the right corresponding relation of fuzzy phoneme refer to the right corresponding relation of the corresponding relation of IP address field and zoning and IP address field and fuzzy phoneme, first client device determines the IP address field belonging to own IP address, and then searches corresponding fuzzy phoneme pair.
Step 203, client device according to the fuzzy phoneme found to carrying out fuzzy phoneme setting.
2nd kind of mode, as shown in Figure 3, comprises the following steps:
Step 301, the IP address of client device acquisition self.
This step detailed process, with step 201, does not repeat them here.
Step 302, client device carries the fuzzy phoneme of own IP address to request to server transmission, the fuzzy phoneme pair that reception server sends.
Concrete, server receives the fuzzy phoneme of client device to after request, according to the fuzzy phoneme pair corresponding with this IP address that the IP address search this locality of wherein carrying stores, and is sent to client device by lookup result.The corresponding relation of server memory storage IP address and zoning and the zoning corresponding relation right with fuzzy phoneme, or direct storing IP address and the right corresponding relation of fuzzy phoneme, find the fuzzy phoneme pair of correspondence according to the IP address of client device.Preferably, the corresponding relation of IP address and zoning and IP address and the right corresponding relation of fuzzy phoneme refer to the right corresponding relation of the corresponding relation of IP address field and zoning and IP address field and fuzzy phoneme, first server determines the IP address field belonging to IP address of client device, and then searches corresponding fuzzy phoneme pair.
Step 303, client device according to the fuzzy phoneme received to carrying out fuzzy phoneme setting.
3rd kind of mode, as shown in Figure 4, comprises the following steps:
Step 401, client device sends fuzzy phoneme to request to server, the fuzzy phoneme pair that reception server sends.
Server receives fuzzy phoneme to after request, obtains the IP address of client device, then searches the fuzzy phoneme pair corresponding with this IP address, and is sent by the fuzzy phoneme subtend client device found.Wherein, the server process right according to the fuzzy phoneme that IP address search is corresponding is introduced in step 302 in detail, does not repeat them here.
Step 402, client device according to the fuzzy phoneme received to carrying out fuzzy phoneme setting.
Embodiment four
The embodiment of the present application four provides the method for a kind of fuzzy phoneme of client device to arranging, and client device provides the automatic setting control function of fuzzy phoneme.
The method that this example provides includes but not limited to following 2 kinds of modes.
1st kind of mode, as shown in Figure 5, comprises the following steps:
Step 501, when client device detects that user revises the operation of input error in Pinyin Input process, determines between the first pinyin character string before revising and the initial consonant of amended second pinyin character string or/and the difference existed between simple or compound vowel of a Chinese syllable.
The input error of user herein comprises the input error because mispronounce causes, or the input error that other modes cause.When client device detects that user revises the operation of input error in Pinyin Input process, client device compares the similarity of the first pinyin character string before amendment and amended second pinyin character string, determines the mispronounce of user when similarity meets pre-conditioned according to the difference of the first pinyin character string and the second pinyin character string.Such as, when the first pinyin character string is identical from the simple or compound vowel of a Chinese syllable of the second pinyin character string but initial consonant is different, determine the initial consonant mispronounce of user, record the initial consonant that there are differences.Such as, when user inputs Chinese character, first input Pinyin " seng ", rear deletion phonetic " seng " input Pinyin " sheng " again, client device detects that user revises the operation of input error in Pinyin Input process, judge that " seng " is identical from the simple or compound vowel of a Chinese syllable of " sheng ", initial consonant is different, the corresponding relation of record " s " and " sh ".
Step 502, client device searches corresponding fuzzy phoneme pair according to the difference determined.
Concrete, client device can store the initial consonant that there are differences or/and the corresponding relation of simple or compound vowel of a Chinese syllable and zoning and zoning and the right corresponding relation of fuzzy phoneme, according to the initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable finds the fuzzy phoneme pair of correspondence.Such as, the corresponding relation that the corresponding relation that client device records " s ", " sh " and zoning A economize, A economize and fuzzy phoneme is right, finds the zoning of client device, and then finds fuzzy phoneme pair corresponding to this zoning according to " s ", " sh ".
Or client device judges the initial consonant that there are differences or/and whether simple or compound vowel of a Chinese syllable belongs to the local arbitrary fuzzy phoneme pair stored, if belonged to, then using the initial consonant that there are differences or/and the fuzzy phoneme of simple or compound vowel of a Chinese syllable ownership is to as local fuzzy phoneme pair.
Step 503, client device according to the fuzzy phoneme found to carrying out fuzzy phoneme to setting.
2nd kind of mode, as shown in Figure 6, comprises the following steps:
Step 601, when client device detects that user revises the operation of input error in Pinyin Input process, determines between the first pinyin character string before revising and the initial consonant of amended second pinyin character string or/and the difference existed between simple or compound vowel of a Chinese syllable.
Step 602, client device sends to server and carries the initial consonant that there are differences or/and the fuzzy phoneme of simple or compound vowel of a Chinese syllable is to request, the fuzzy phoneme pair that reception server sends.
Concrete, server receives the fuzzy phoneme of client device to after request, according to the initial consonant that there are differences wherein carried or/and simple or compound vowel of a Chinese syllable search local store with the initial consonant that there are differences or/and fuzzy phoneme pair corresponding to simple or compound vowel of a Chinese syllable, and lookup result to be sent to client device.Server memory is stored in the initial consonant of difference or/and the corresponding relation of simple or compound vowel of a Chinese syllable and zoning and zoning and the right corresponding relation of fuzzy phoneme, according to the initial consonant that there are differences in request or/and simple or compound vowel of a Chinese syllable finds corresponding fuzzy phoneme pair.Or, the initial consonant that there are differences during server judges to ask or/and whether simple or compound vowel of a Chinese syllable belongs to the local arbitrary fuzzy phoneme pair stored, if belonged to, then using the initial consonant that there are differences or/and the fuzzy phoneme of simple or compound vowel of a Chinese syllable ownership is to the fuzzy phoneme pair as client device.
Step 603, client device according to the fuzzy phoneme received to carrying out fuzzy phoneme to setting.
Embodiment five
The embodiment of the present application five provides the method for a kind of fuzzy phoneme of client device to arranging, and client device provides the automatic setting control function of fuzzy phoneme.
The method that this example provides includes but not limited to following 2 kinds of modes:
1st kind of mode, as shown in Figure 7, comprises the following steps:
Step 701, the zone name that client device inputs according to user, determines the zoning belonging to this client.
The zone name that each zoning is corresponding is prestored in client device, such as Beijing is a zoning, and zone name corresponding to the Beijing prestored comprises the region in Beijing zonings such as Xicheng District, Dongcheng District, Xuanwu District, Fengtai District, Palace Museum, the Temple of Heaven.
There is the number of times of the zone name under a certain zoning in client device statistics, when this number of times meets threshold condition, judge that the zoning of user terminal is as this zoning in preset time period.Such as, the number of times of the zone name that user inputted under Beijing in 24 hours is 10 times, and threshold value is 6 times, then client device judges that the zoning of user is Beijing.Wherein, special, assuming that user N time input Xuanwumen in preset time period, the number of times of zone name that now client device judges to occur in preset time period under the zoning of Beijing is N.
Step 702, client device searches the fuzzy phoneme pair corresponding with local zoning.
Client device stores the right corresponding relation of zoning and fuzzy phoneme, searches according to the zoning that step 701 is determined the fuzzy phoneme pair obtaining correspondence.
Step 703, client device according to the fuzzy phoneme found to automatically carrying out fuzzy phoneme to setting.
2nd kind of mode, as shown in Figure 8, comprises the following steps:
Step 801, client device determines the zoning belonging to this client device according to the zone name that user inputs.
This step detailed process, with step 701, does not repeat them here.
Step 802, client device carries the fuzzy phoneme of zoning belonging to this client to request to server transmission, the fuzzy phoneme pair that reception server sends.
Concrete, server receives the fuzzy phoneme of client device to after request, searches the local fuzzy phoneme pair corresponding with this zoning stored, and sent to client device by lookup result according to the zoning of wherein carrying.
Step 803, client device according to the fuzzy phoneme received to automatically carrying out fuzzy phoneme to setting.
In above embodiment, client device according to self or whois lookup to fuzzy phoneme to carrying out fuzzy phoneme to setting, the method to set up that the application also provides another kind of fuzzy phoneme right, be applied to when client device or whois lookup fuzzy phoneme are to the scene of failure, or client device does not provide and searches the situation of fuzzy phoneme to function.
Embodiment six
The embodiment of the present application six provides the method for a kind of fuzzy phoneme of client device to arranging, and as shown in Figure 9, comprises the following steps:
Step 901, when client device detects that user revises the operation of input error in Pinyin Input process, or/and the difference existed between simple or compound vowel of a Chinese syllable between the initial consonant of the first pinyin character string before record modification and amended second pinyin character string.
Such as, when user inputs Chinese character, first input Pinyin " feng ", rear deletion phonetic " feng " input Pinyin " heng " again, client device detects that user revises the operation of input error in Pinyin Input process, judge that " feng " is identical from the simple or compound vowel of a Chinese syllable of " heng ", initial consonant is different, the corresponding relation of record " f " and " h ".
Step 902, client device, according to recording the initial consonant that there are differences that obtains or/and simple or compound vowel of a Chinese syllable, determines the fuzzy phoneme pair of self, and then according to fuzzy phoneme to carrying out fuzzy phoneme to setting.
Client device constantly can perform step 901, according to the initial consonant that there are differences obtained or/and simple or compound vowel of a Chinese syllable obtains fuzzy phoneme pair corresponding to local zoning, such as user initial consonant " f " and " h " within a period of time obscures, then client device using fuzzy phoneme to " f " and " h " as fuzzy phoneme pair corresponding to local zoning.After a period of time, under client device records, user " l " and " n " obscure again, then increase " l " and " n " the fuzzy phoneme centering of local zoning.In addition, client device can also arrange a time threshold, according to the initial consonant that there are differences obtained in the time threshold after running input method or/and the fuzzy phoneme pair that local zoning is corresponding determined in simple or compound vowel of a Chinese syllable.And, when client device by the present embodiment obtain self fuzzy phoneme right, fuzzy phoneme subtend server that self can also obtain by client device sends, the corresponding relation right with fuzzy phoneme by the IP address of server record client device or zoning etc.Or client device sends the initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable to server, and the initial consonant that there are differences received by server statistics or/and simple or compound vowel of a Chinese syllable, and determines the fuzzy phoneme pair corresponding with the IP address of client device or zoning etc. according to statistics.
Need to illustrate, above-described embodiment one to six can be combined.First client device can adopt either type in embodiment one to six to obtain fuzzy phoneme pair, when obtaining unsuccessfully, adopts the mode of whole, any two or any one example in all the other five embodiments to obtain fuzzy phoneme pair.Such as, first client device obtains fuzzy phoneme pair according to the mode of embodiment three, when obtaining unsuccessfully, mode according to embodiment four obtains fuzzy phoneme pair again, still obtain failure, then again obtain fuzzy phoneme pair according to the mode of embodiment five, time still unsuccessfully, again obtain fuzzy phoneme pair according to the mode of embodiment six.Wherein, when client device adopts the two or more case-based system fuzzy phoneme pair in embodiment three to five, the sequencing of this two or more example is not by restriction described above.
Embodiment seven
When the input method of client device needs registration to use, the embodiment of the present application seven provides the method for a kind of fuzzy phoneme to arranging, and as shown in Figure 10, comprising:
Step 1001, the registration request of server receives client equipment, obtains the log-on message of client device.Log-on message comprises the information such as the zoning belonging to user name, password, client device.
Step 1002, after client device registration success, the whois lookup fuzzy phoneme corresponding with the zoning of client device to and issue to client device.
Such as, fuzzy phoneme pair is sent to client device by server together with the installation kit of input method, client device install this input method time according to fuzzy phoneme to carrying out fuzzy phoneme to setting.
The people of different geographical there are differences when pronouncing, and the people of such as some regions easily obscure " s " and obscure with " sh ", and the people of other regions most clearly can distinguish " s " and " sh ".In the application, to fuzzy phoneme to carrying out zoning division, namely arranging corresponding fuzzy phoneme pair according to the difference of region, such as, is fuzzy phoneme pair in the areal setting " s " easily obscuring " s " and " sh " with " sh ".Because the IP address attribution of the client device under different zoning is in different IP address fields, therefore, in the application, preferably, set up IP address field and the right corresponding relation of fuzzy phoneme, determine corresponding fuzzy phoneme pair according to the IP address of client device.
Embodiment eight
Based on the fuzzy phoneme provided in above-described embodiment to method to set up, the embodiment of the present application eight provides a kind of input method, as shown in figure 11, comprising:
Step 1101, client device receives the pinyin character string of user's input.
Step 1102, client device according to the initial consonant in the pinyin character string of described input or/and corresponding fuzzy phoneme pair searched in simple or compound vowel of a Chinese syllable.When searching successfully, perform step 1103; When searching unsuccessfully, export the to be selected Chinese character corresponding with the pinyin character string that user inputs.
Step 1103, the pinyin character string that client device is corresponding to generation according to the fuzzy phoneme found.
Step 1104, the pinyin character string that client device inputs according to described user and this client to the pinyin character string generated, export corresponding Chinese character to be selected for user's selection according to the fuzzy phoneme found.
By describing above and can finding out, in the embodiment of the present application, in Pinyin Input process, the operation of input error is revised by detecting user, determine the difference existed between the first pinyin character string before revising and amended second pinyin character string, and according to the difference determination fuzzy phoneme pair determined; According to the fuzzy phoneme determined to carrying out fuzzy phoneme to setting; When after the pinyin character string receiving user's input, select for user exporting corresponding Chinese character to be selected according to the pinyin character string of user's input and the fuzzy phoneme of correspondence, make client device can determine the fuzzy phoneme pair of self, the automatic setting control function of fuzzy phoneme is provided, improves the efficiency of the text event detection of spelling input method.
Embodiment nine
Based on the technical conceive that above-mentioned fuzzy phoneme is identical to method for building up, the embodiment of the present application nine provides a kind of client device, as shown in figure 12, comprising:
Receiver module 11, for receiving the pinyin character string of user's input;
Comparison module 12, for when detecting that user revises the operation of input error in Pinyin Input process, compares the similarity of the front first pinyin character string of amendment and amended second pinyin character string;
Judge module 13, for judging whether described similarity exceedes first threshold;
First determination module 14, for when judge module 13 judges that described similarity exceedes first threshold, or/and the difference existed between simple or compound vowel of a Chinese syllable between the initial consonant determining the first pinyin character string and the second pinyin character string;
Second determination module 15, for the difference determined according to the first determination module 14, is defined as fuzzy phoneme pair by the initial consonant that there are differences, or/and, the simple or compound vowel of a Chinese syllable that there are differences is defined as fuzzy phoneme pair.
Wherein, this client device can also comprise: sending module 16, for fuzzy phoneme that the second determination module 15 is determined to sending to server, by server according to the fuzzy phoneme received to and the zoning at described client place add up the corresponding relation of fuzzy phoneme pair and zoning.
Wherein, the second determination module 15 specifically for, whether the similarity between the initial consonant that there are differences described in judgement exceedes Second Threshold; Or/and whether the similarity between the simple or compound vowel of a Chinese syllable that there are differences described in judgement is more than the 3rd threshold value;
When similarity between the described initial consonant that there are differences exceedes Second Threshold, the initial consonant that this be there are differences is defined as fuzzy phoneme pair; Or/and when the similarity between the described simple or compound vowel of a Chinese syllable that there are differences is more than the 3rd threshold value, the simple or compound vowel of a Chinese syllable that this be there are differences is defined as fuzzy phoneme pair.
Wherein, this client device can also comprise: arrange module 17, for the fuzzy phoneme determined according to the second determination module 15 to carrying out fuzzy phoneme to setting.
Embodiment ten
Based on the technical conceive that above-mentioned fuzzy phoneme is identical to method for building up, the embodiment of the present application also provides a kind of fuzzy phoneme to setting up system.As shown in figure 13, comprise client device 21 and server 22, wherein:
Client device 21, for when detecting that user revises the operation of input error in Pinyin Input process, compares the similarity of the first pinyin character string before amendment and amended second pinyin character string; When judging that this similarity exceedes first threshold, or/and the difference existed between simple or compound vowel of a Chinese syllable between the initial consonant determining the first pinyin character string and the second pinyin character string; By the initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable sends to server 21, and reception server 21 according to the described initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable is determined and the fuzzy phoneme pair returned;
Server 22, for receiving the initial consonant that there are differences of client device 21 transmission or/and simple or compound vowel of a Chinese syllable, and according to this initial consonant that there are differences or/and simple or compound vowel of a Chinese syllable determination fuzzy phoneme pair; By the fuzzy phoneme determined to returning to client device 21.
Wherein, server 22 can also be used for, and according to the fuzzy phoneme determined to the zoning with client 21 place, adds up the corresponding relation of described fuzzy phoneme pair and zoning.
Wherein, client device 21 can also be used for, according to the fuzzy phoneme determined of described server obtained to carrying out fuzzy phoneme to setting.
Embodiment 11
Based on the technical conceive that above-mentioned fuzzy phoneme is identical to method to set up, the embodiment of the present application 11 also provides a kind of client device, as shown in figure 14, comprising:
Acquisition module 31, for obtaining fuzzy phoneme pair corresponding to zoning belonging to self;
Module 32 is set, for the fuzzy phoneme that gets according to acquisition module 31 to carrying out fuzzy phoneme setting.
Wherein, acquisition module 31 can be specifically for, determines the zoning belonging to self, and obtain the fuzzy phoneme pair corresponding to described zoning from the fuzzy phoneme centering self stored; Or, send fuzzy phoneme to acquisition request to server, and receive the fuzzy phoneme pair corresponding with zoning belonging to this client device that described server returns; Wherein, described server receives described fuzzy phoneme to after acquisition request, determines the zoning described in described client device according to the acquisition request received, and obtains the fuzzy phoneme centering that self stores to should the fuzzy phoneme pair of zoning.
Embodiment 12
Based on the technical conceive that above-mentioned input method is identical, the embodiment of the present application 12 provides a kind of client device realizing above-mentioned input method, as shown in figure 15, comprising:
Receiver module 41, for receiving the pinyin character string of user's input;
Search module 42, for initial consonant in the pinyin character string that receives according to receiver module 41 or/and corresponding fuzzy phoneme pair searched in simple or compound vowel of a Chinese syllable;
Generation module 43, for according to searching fuzzy phoneme that module 42 finds to generating corresponding pinyin character string;
Output module 44, for the pinyin character string that receives according to receiver module 41 and generation module 43 according to searching fuzzy phoneme that module 42 finds to the pinyin character string generated, exporting corresponding Chinese character to be selected and selecting for user.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the application.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the application is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
Above-mentioned the embodiment of the present application sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiments of the application above, but the application is not limited thereto, the changes that any person skilled in the art can think of all should fall into the protection domain of the application.