CN103699233B - Character string input method and input unit - Google Patents

Character string input method and input unit Download PDF

Info

Publication number
CN103699233B
CN103699233B CN201310713133.9A CN201310713133A CN103699233B CN 103699233 B CN103699233 B CN 103699233B CN 201310713133 A CN201310713133 A CN 201310713133A CN 103699233 B CN103699233 B CN 103699233B
Authority
CN
China
Prior art keywords
character
character string
input
approximate
string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310713133.9A
Other languages
Chinese (zh)
Other versions
CN103699233A (en
Inventor
王光远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310713133.9A priority Critical patent/CN103699233B/en
Publication of CN103699233A publication Critical patent/CN103699233A/en
Application granted granted Critical
Publication of CN103699233B publication Critical patent/CN103699233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a kind of input method of character string and input units.The described method includes: obtaining input character corresponding with input instruction;Obtain the corresponding substitute character of input character;Input character is added in current string, and is obtained and is inputted character in current string and input the substitute character of character, approximate character string corresponding with current string is generated;Calculate the first weight of approximate character string;According to the difference of approximate character string and dictionary Plays character string, the second weight of approximate character string is obtained;Calculate the total weight value of approximate character string;Pairing approximation character string is ranked up, and shows approximate character string by ranking results sequence.The invention enables user terminals in character string input process, even if clicking or putting other keys around touching expectation key because of making mistakes, still is able to the acquisition in optional character string option and correctly inputs character string.

Description

Character string input method and input unit
Technical field
The present invention relates to field of communication technology more particularly to a kind of character string input method and input units.
Background technique
With the continuous development of mobile communication terminals, occur various portable electronic devices on the market, such as: Personal computer, mobile phone, tablet computer etc..With the high speed development of touch screen technology, more and more electronic equipments make With dummy keyboard.But be limited to touch the size of screen, input error happens occasionally.
In input process, most of input error is due to the close key area that should actually put in user tap regions But caused by having certain deviation, and this kind of mistake can not effectively error correction according to existing figure error correcting system.For example, existing There is spelling input method can be to obtaining " neutralizing " this optional lexical item after " zonghe " error correction;But if the mistake due to user is grasped Make, will " Z " key it is overdue be " X " key, input become " xhonghe ", then existing technical solution is can not to prompt " to neutralize " This option word.When occurring the case where characters multiple in character string input dislocation simultaneously, existing technical solution is just more It is difficult to effective error correction.It is similar, due to the key that user presses deviates actual expectation key and bring input error, It is also to happen occasionally on physical keyboard.
Summary of the invention
In view of this, the present invention provides a kind of character string input method and input unit, so that user terminal is defeated in character string During entering, even if clicking or putting other keys around touching expectation key because of fault, it still is able in optional character string Correctly input character string is obtained in option, improves the input efficiency of character string.
In a first aspect, the embodiment of the invention provides a kind of input methods of character string, comprising:
Obtain current input character corresponding with input instruction;
Obtain the corresponding substitute character of the current input character, wherein the substitute character is relative to described current defeated Enter character with similarity weight;
The current input character is added in current string, and obtains and inputs character and input word in current string The substitute character of symbol;
By at least one of current string input character and with it is described at least one input character substitute character into Row combination producing at least two approximate character strings corresponding with the current string;
According to the similarity weight of the substitute character, the first weight of approximate character string is calculated;
According to the difference of the approximate character string and dictionary Plays character string, the second weight of approximate character string is obtained;
According to first weight and second weight, the total weight value of approximate character string is calculated;
The approximate character string is ranked up according to the sequence of the total weight value from big to small, it is aobvious by ranking results sequence Show the approximate character string.
In second aspect, the embodiment of the invention provides a kind of input units of character string, comprising:
Current character acquiring unit, for obtaining current input character corresponding with instruction is inputted;
Substitute character acquiring unit, for obtaining the corresponding substitute character of the current input character, wherein the replacement Character has similarity weight relative to the current input character;
Current string information acquisition unit for the current input character to be added in current string, and obtains Character is inputted in current string and inputs the substitute character of character;
Approximate character string acquiring unit, at least one of current string to be inputted character and with described at least one The correspondence substitute character of a input character is combined and generates at least two approximate character corresponding with the current string String;
First weight calculation unit calculates the of approximate character string for the similarity weight according to the substitute character One weight;
Second weight calculation unit is obtained for the difference according to the approximate character string and dictionary Plays character string Second weight of approximate character string;
Total weight value computing unit, for calculating the total of approximate character string according to first weight and second weight Weight;
Sequencing display unit, for arranging according to the sequence of the total weight value from big to small the approximate character string Sequence shows the approximate character string by ranking results sequence.
The embodiment of the present invention, which passes through, is arranged multiple substitute characters for input character, generates similar to user terminal input character string Multiple approximate character strings, the approximate character string of generation is ranked up according to weight size, and ranking results sequence is shown Mode, solve as user when causing input error because of wrong other keys put around expectation key, it is correctly defeated Enter the problem of can not effectively being prompted, reaches user terminal and only need click or put to contact the ballpark key position of keyboard just It can be recognized by the system out the demand of input, and realize the effect correctly entered, improve the input efficiency of user terminal.
Detailed description of the invention
Figure 1A is a kind of flow chart of the input method of character string of first embodiment of the invention;
Figure 1B is a kind of schematic diagram for the application scenarios for showing approximate character string in first embodiment of the invention;
Fig. 2 is a kind of flow chart of the input method of character string of second embodiment of the invention;
Fig. 3 is the schematic diagram of the calculation method of distance between a kind of key being applicable in second embodiment of the invention;
Fig. 4 is a kind of flow chart of the input method of character string of third embodiment of the invention;
Fig. 5 is a kind of user terminal tap regions that third embodiment of the invention is applicable in while covering multiple virtual keys pair Input scene schematic diagram when the touch area answered;
Fig. 6 is a kind of flow chart of the input method of character string of fourth embodiment of the invention;
Fig. 7 is a kind of flow chart of the input method of character string of sixth embodiment of the invention;
Fig. 8 is a kind of application for the corresponding standard Chinese word of display approximate character string that sixth embodiment of the invention is applicable in The schematic diagram of scene;
Fig. 9 is a kind of application for the corresponding standard Chinese word of display approximate character string that sixth embodiment of the invention is applicable in The schematic diagram of scene;
Figure 10 is the structure chart of the input unit of the character string of seventh embodiment of the invention;
Figure 11 is the structural schematic diagram that can be used for implementing the mobile terminal of the present invention program.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing to of the invention specific real Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.It also should be noted that illustrating only for ease of description, in attached drawing related to the present invention Part rather than full content.
In general, the corresponding input character of different input keys may be capitalization, it is also possible to be small letter Mother, such as: when user's click keys " A ", according to the capital and small letter lock condition of current environment, can correspond to capitalization " A " or Person's lowercase " a ", in order to which this specification is convenient for illustrating, the key (including physical button and virtual key) mentioned in text makes It is indicated with capitalization, such as: key " D ", key " K " etc., the input character corresponding to key mentioned in text use small Lowercase alphabet shows, such as: input character " d ", input character " k " etc..
Figure 1A is a kind of flow chart of the input method of character string of first embodiment of the invention.This method can be by character The input unit of string executes, which can be realized by software and/or hardware, can usually be integrated in the needs such as terminal device In the equipment of execution character input.As shown in Figure 1A, which comprises
110, current input character corresponding with input instruction is obtained.
In the present embodiment, input instruction is that user is realized by operation input equipment, can be pressed to tap physics Key can also be touch-sensitive screen contact to press virtual key.Current input character is that user passes through operation input equipment current The character inputted under state.For example, user presses R key by physical button, can send to input equipment corresponding defeated Enter instruction, instructed according to the input, the current input character of acquisition is R.
120, the corresponding substitute character of the current input character is obtained, wherein the substitute character is worked as relative to described Preceding input character has similarity weight.
At least one substitute character can be obtained based on setting Substitution Rules based on current input character, substitute character be with it is defeated Enter the character for having certain relevance between character, and can have between different substitute characters and input character identical or different Similarity weight.Similarity weight can be it is preset, can also by user terminal input operation determine in real time it is similar Spend weight.
130, the current input character is added in current string, and obtains and inputs character and defeated in current string Enter the respective substitute character of character.
Current string can include at least current input character, or may further include before this input and not by At least one history character of confirmation input.For example, usually user continuously input several characters generate in some text or in Cliction.And after user clicks the input for confirming current string, restart the display of character late and character string.
140, by least one of current string input character and with it is described at least one input character replacement word Symbol is combined and generates at least two approximate character strings corresponding with the current string.
In this operation, all input characters of current string and respective substitute character are combined, may make up Approximate character string.Under typical input in Chinese state, approximate character string not only includes the pinyin character string that combination is formed, and may be used also To include the Chinese character string generated by pinyin character string.
150, according to the similarity weight of the substitute character, the first weight of approximate character string is calculated;
First weight of each approximate character string is determined by the respective similarity weight of substitute character, e.g. closely Like the product of substitute character similarity weights all in character string, the character string directly constituted by input character, can be set its One maximum weight.
160, according to the difference of the approximate character string and dictionary Plays character string, the second power of approximate character string is obtained Value;
The difference of the approximate character string and dictionary Plays character string can be determined based on preset rules, such as phase The quantity of poor character differs the quantity etc. of Chinese, thereby determines that the second weight of entire approximate character string.In addition, according to Chinese Input habit, the second weight that Chinese character string can be set integrally are higher than the second weight of pinyin character string.
170, according to first weight and second weight, the total weight value of approximate character string is calculated;
In the present embodiment, according to first weight and second weight, construction is with first weight and described The total weight value of second weight monotonic increase.
In one example, can construct calculation formula: total weight value R=k1* the first weight the second weight of+k2* calculates every The total weight value of a approximate character string, wherein k1 and k2 is weighting coefficient, k1+k2=1.
Specifically, k1 and k2 can be preset according to the actual situation.Preferably, according to user terminal pairing approximation character string Selection situation corrects k1 and k2 in real time.
For example, k1=0.3, k2=0.7 are preset, the first weight of some approximate character string is 0.9, the second weight It is 0.48, then total weight value R=0.3*0.9+0.7*0.48 of the approximate character string.
Certainly, it should be appreciated by those skilled in the art that according to the calculating total weight value of the first weight and the second weight construction Function can also take other types, and in practical applications, those skilled in the art can construct properly according to the actual situation Monotonically increasing function calculate total weight value.
180, each approximate character string is ranked up according to the sequence of the total weight value from big to small, by ranking results Sequence shows each approximate character string.
In the present embodiment, after user terminal input character string, the input in addition to showing user terminal in the input frame of character Except character string, also in other positions, such as: the lower end of input frame, from big to small according to total weight value by multiple approximate character strings Sequence, shown.User terminal can replace the input character string in input frame by selecting corresponding approximate character string.
A kind of schematic diagram for the application scenarios for showing approximate character string in first embodiment of the invention is shown in fig. ib. It is as shown in Figure 1B: the use of the character string that Baidu's input method inputs to be " bsidu ", show that this is defeated in sequence in the lower end of input frame Enter the corresponding multiple approximate character strings of character string, user terminal can be replaced in input frame by selecting corresponding approximate character string Input character string.
For example, the approximate character string that can choose predetermined number shown, such as: 5, specifically, showing When approximate character string, total weight value is located at preceding 5 approximate character strings in the lower end of input frame and is shown.In practical application In, those skilled in the art can according to the actual situation be configured the approximate character string number of display, not limit this; Meanwhile drop-down menu or page-turning button being provided, if there is no the expectation of user terminal in the approximate character string provided under current state Character string, user terminal can continue to search approximate character string by drop-down menu or page-turning button.
The present embodiment generates the input character string phase with user terminal by the way that at least one substitute character is arranged for input character As multiple approximate character strings, the approximate character string of generation is ranked up according to weight size, and ranking results sequence is shown The mode shown is solved when user causes input error because of wrong other keys put around expectation key, correct defeated Enter the problem of can not effectively being prompted, reaches user terminal and only need click or put to contact the ballpark key position of keyboard just Input demand can be recognized by the system out and realize the effect correctly entered, improve the input efficiency of user.By setting one kind When the treatment mechanism that at least two physical buttons are successively pressed in the given time, solves when user terminal while pressing multiple When physical button, the problem of inputting character and substitute character can not be obtained, the versatility of approximate character string input method is improved.
Second embodiment
Fig. 2 is the flow chart of the input method of the character string of second embodiment of the invention, and the present embodiment is with above-described embodiment Based on, provide a kind of method of acquisition input character and corresponding substitute character based on physical button.
In second embodiment of the invention, user terminal can send input instruction by clicking physical button, specifically, read User terminal input instruction obtains current input character corresponding with the input instruction, and obtains institute according to setting Substitution Rules The operation for stating the corresponding substitute character of current input character specifically includes:
When the input for reading user terminal instructs to click single physical key, the single physical key is chosen Corresponding character instructs corresponding current input character as input;
The corresponding character of physical button around the single physical key is chosen as the input character is corresponding to replace Change character.
Alternatively, aforesaid operations specifically include:
When the input for reading user terminal instructs to click multiple physical buttons in setting time threshold value, according to The multikey of setting selects rule to choose the corresponding character of a key in the multiple physical button as input instruction correspondence Current input character;
The unselected corresponding character of other keys in the multiple physical button is chosen as the input character Corresponding substitute character.
In practical operation, clicks or the operations of multiple physical buttons multi-hit simultaneously is likely to be and is alternately present, so such as Shown in Fig. 2, the reading of input instruction can be carried out by operating as follows:
211, user terminal input instruction is read, input instruction is the point of at least one physical button in threshold time It hits.The threshold time can configure shorter, be usually empirically set as user and click the primary time;
212, judge whether input instruction is the input instruction for clicking single physical key: if so, executing 213;Otherwise, it holds Row 214.
In the present embodiment, by judging whether input instruction is to click single physical key in one section of threshold time Input instruction.If detecting the click of single key in threshold time, input instruction is judged to click single physical key Input instruction;If detecting the click of at least two keys in threshold time, input instruction is judged to click multiple physics The input of key instructs.
It is non-limiting as example, above-mentioned threshold time can be set as 0.05s, certainly, and in practical applications, this field Technical staff can according to the actual situation preset the size of threshold time.
213, the corresponding character of single physical key is chosen as input character, obtains replacement word corresponding with input character Symbol.
In the present embodiment, the corresponding character of single physical key, which is chosen, as input instructs corresponding input character, The corresponding character of physical button around single physical key is chosen as the corresponding substitute character of the input character, wherein Substitute character has a scheduled similarity weight relative to corresponding input character, the similarity weight can according to substitute character with it is defeated Enter the key distance of character to preset.
As shown in Table 1 is a kind of input character and substitute character mapping table.
Table 1
As shown in table 1, it is instructed according to the input of user terminal click keys " D ", the input character of acquisition is d, inputs character d Corresponding to substitute characters such as s, f, e and x, each substitute character has scheduled similarity weight relative to input character d.
In one example, according to the distance between the corresponding key of substitute character key corresponding with input character, if Determine substitute character and inputs the size of similarity weight between character.Preferably, set the value range of similarity weight as [0, 1]。
Fig. 3 is the schematic diagram of the calculation method of distance between a kind of key being applicable in second embodiment of the invention.Such as Shown in Fig. 3, the geometric center physical button corresponding with substitute character of the corresponding physical button of character is inputted according to user terminal The distance between geometric center sets the size of the similarity weight.
Specifically, the geometric center of the geometric center key corresponding with substitute character of the corresponding key of user terminal input character Distance it is closer, for the substitute character setting similarity weight it is higher.The geometry of key corresponding with user terminal input character The equal key of centre distance is relative to the corresponding key similarity weight having the same of input character.
Certainly, it should be appreciated by those skilled in the art that the distance between key, example can also be calculated using other modes Such as: being 1 distance by unified definition at a distance from the key and the key adjacent with a certain key, 1 distance will be separated by with a certain key Key and the distance definition of the key be 2 distances, for example, key " S ", " E ", " R ", " F ", " C ", " X " and key " D " Distance be 1 distance, key " Q ", " T ", " G ", " V " and " Z " at a distance from key " D " be 2 distances.
In a preferred embodiment, different similarity weights is set for the distance value of different value ranges, such as table 2 Shown in be a kind of distance range and similarity weight mapping table.
Table 2
Distance range Similarity weight
0~1cm 0.9
1~1.5cm 0.8
1.5~2cm 0.7
2~3cm 0.6
As shown in table 2, the geometric center key corresponding with substitute character of the corresponding key of character is inputted according to user terminal The distance between geometric center range, set corresponding similarity weight for the corresponding substitute character of input character.
For example, the geometric center of the corresponding key of substitute character s " S " key " D " corresponding with input character d is several The distance at what center is 0.8cm, then set substitute character s relative to inputting the similarity weight of character d as 0.9 according to table 2.
In another preferred embodiment, the respective function relationship of preset distance and similarity weight, according to this Functional relation calculates corresponding similarity weight.
For example, functional relation: S=1/(L+1 is set), in which: S represents similarity weight, and L represents input character pair The distance between the geometric center of the geometric center for the key answered key corresponding with substitute character.
Correspondingly, other modes can also be used to set corresponding similarity power for the corresponding substitute character of input character Value, does not limit this.
In a preferred embodiment of the present embodiment, obtaining the corresponding substitute character of the input character includes: According to the threshold condition of scheduled similarity weight, chooses and meet replacing for threshold condition relative to the similarity weight of input character Change character.
By presetting similarity weight threshold, only to meet similarity weight threshold value impose a condition replacement word Symbol generates corresponding one or more approximate character strings, it is multiple to solve the calculation amount as caused by approximate character string number is excessive Miscellaneous problem greatly reduces the number of the approximate character string of generation, simplifies subsequent calculation amount, reaches the approximate character of quickening The effect of string display speed.
For example, presetting similarity weight threshold lower limit is 0.9, that is to say, that can only by with input character Substitute character of character of the similarity weight more than or equal to 0.9 as above-mentioned input character then as shown in table 1 inputs d pairs of character Only has the similarity weight threshold condition that s and f meets setting in the substitute character answered.
214, the corresponding character of a key chosen in multiple physical buttons instructs corresponding input character as input; The corresponding character of other keys in multiple physical buttons is chosen as the corresponding substitute character of input character, wherein replacement word Symbol has scheduled similarity weight relative to corresponding input character.
In a preferred embodiment, the corresponding word of the physical button being pressed at first in multiple physical buttons is chosen Symbol instructs corresponding input character as input, chooses the corresponding character of other keys in multiple keys, as with input word Accord with corresponding substitute character.
For example, in 0.05s, physical button " D ", " E " and " R " is successively pressed, and selects character d as input word Symbol, selects character e and r as the substitute character of input character d, and substitute character e and r has scheduled relative to input character d Similarity weight.
In another preferred embodiment, the corresponding character of a key in multiple physical buttons is randomly selected, is made Instruct corresponding input character for input, choose the corresponding character of other keys in multiple keys, as with input character pair The substitute character answered.
220, by the current input character be added current string in, and obtain respectively inputted in current string character and The respective substitute character of character is inputted, is combined and generates at least two approximate character corresponding with the current string String.
For example, it is inputted and is instructed according to user terminal, successively obtain input character a and input character b, the input word of composition Symbol string is ab.Wherein, substitute character corresponding with input character a are as follows: q, w, s and z totally 4;Replacement corresponding with input character b Character are as follows: v and n totally 2.
According to above-mentioned substitute character and input character string, (4+1) * (2+1) -1 can be generated altogether, totally 14 approximate characters String, is respectively as follows: av, an, qb, qv, qn, wb, wv, wn, sb, sv, sn, zb, zv and zn.
More generally, input character string L include M input character: L1, L2 ..., LM, wherein L1 corresponds to N1 replacement word Symbol, L2 correspond to N2 substitute character ..., LM correspond to NM substitute character, according to above-mentioned substitute character with input character string, altogether It can be generated:
[(N1+1) * (N2+1) * ... * (NM+1) -1] a approximate character string.
230, according to the similarity weight of the substitute character, the first weight of each approximate character string is calculated.
240, according to the difference of the approximate character string and dictionary Plays character string, the of each approximate character string is obtained Two weights;
250, according to first weight and second weight, the total weight value of each approximate character string is calculated;
260, each approximate character string is ranked up according to the sequence of the total weight value from big to small, by ranking results Sequence shows each approximate character string.
The present embodiment, which further contemplates, to be clicked or when multi-hit physical button the case where selection substitute character, can be to greatest extent Avoid user's input error for operating due to mistake is clicked.
3rd embodiment
In the present embodiment, it is further provided user terminal sends the embodiment of input instruction by virtual key.
Fig. 4 is a kind of flow chart of the input method of character string of third embodiment of the invention, specifically a kind of based on void The method of acquisition the input character and corresponding substitute character of quasi- key.As shown in Figure 4, which comprises
401, user terminal is read by the input instruction of the virtual key input in touch-sensitive screen contact curtain, obtains covering for point touching Cover area.
In the present embodiment, user terminal passes through point touching virtual key transmission input instruction, wherein the input instruction is use The input of family end touch-sensitive screen contact curtain overlay area instructs.
Wherein, the point of acquisition touch the input instruction of the overlay area of tangible screen include: a touching be located at single virtual by The input instruction of the corresponding touch area of key and point touching while covering the corresponding input in the corresponding touch area of multiple virtual keys Instruction.
402, judge whether overlay area is located in the corresponding touch area of single virtual key: if so, executing 403;It is no Then, 404 are executed.
403, the corresponding character of the single virtual key, which is obtained, as the input instructs corresponding input character;It obtains Virtual key around the single virtual key corresponds to character as the corresponding substitute character of the input character.This operation can Similar to the clicking operation of single physical key.
404, the central point pixel coordinate for obtaining the overlay area, according at least one virtual key and the central point Similarity weight between pixel coordinate selects have the virtual of maximum similarity weight relative to the central point pixel coordinate The corresponding character of key instructs corresponding current input character as the input.
This operation can be useful in the identification of multiple virtual key points touching, can also be applied in virtual key point touching Identification, then can accordingly omit 402 and 403 operation.
In the prior art, the touch screen of different resolution has different number of pixel.Such as: a resolution ratio For 1024 × 768 screen, includes 1024 pixels on each horizontal line, share 768 lines.Each pixel tool There is unique coordinate, such as: coordinate is that the pixel of (512,32) represents the 512nd point on touch screen on the 32nd article of horizontal line Position.Wherein, different tap regions correspond to different pixel or block of pixels.
In the present embodiment, the regional center of tap regions is defined as to the central point pixel of tap regions.Pass through meter The regional center position for calculating tap regions, obtains the central point pixel coordinate in the region.
As shown in table 3 is a kind of central point pixel coordinate and virtual key mapping table, wherein each is virtually pressed Key has corresponding similarity weight to the central point pixel coordinate.
For example, the central point pixel coordinate being calculated is (512,128), and the central point pixel in inquiry table 3 is sat Mark and the corresponding relationship of virtual key, obtain whole virtual keys corresponding with the central point pixel coordinate: " T ", " Y ", " G " and “H”。
In one example, the corresponding relationship for establishing central point pixel coordinate section and virtual key, according to being calculated Central point pixel coordinate, the corresponding relationship in Help Center point pixel coordinate section and virtual key, acquisition virtually press accordingly Key.
Table 3
405, the corresponding character of non-selected other virtual keys in the overlay area is chosen as described current defeated Enter the corresponding substitute character of character;
406, similarity weight of the corresponding virtual key of each substitute character relative to central point pixel coordinate is chosen, as Similarity weight of the substitute character relative to current input character.
For example, it is (512,128) according to the central point pixel coordinate that touch area is calculated, selects similarity power It is worth the corresponding character t of maximum virtual key " T " as input character, is shown in input frame.Select virtual key " Y ", " G " Substitute character of " H " corresponding character y, g and the h as input character t.
Fig. 5 is a kind of user terminal tap regions that third embodiment of the invention is applicable in while covering multiple virtual keys pair Input scene schematic diagram when the touch area answered.As shown in figure 5, when the tap regions of user terminal cover virtual key simultaneously When the corresponding touch area " T ", " Y ", " G " and " H ", the corresponding character t of virtual key " T " is selected to input as input character It is shown in frame, it is sequentially aobvious in prompting frame after virtual key " Y ", " G " and " H " corresponding character is sorted as substitute character Show.
Present embodiment is by presetting central point pixel coordinate or central point pixel coordinate section and substitute character Corresponding relationship, solve when user terminal tap regions while when covering the corresponding touch area of multiple virtual keys, can not obtain The problem of taking input character and substitute character, improves the versatility of approximate character string input method.
Fourth embodiment
Fig. 6 is a kind of flow chart of the input method of character string of fourth embodiment of the invention, and the present embodiment is with aforementioned reality Based on applying example, the preferred method for calculating the first weight of approximate character string is provided, as shown in Figure 6, which comprises
601, sequence reads a substitute character in approximate character string.
602, similarity weight of the substitute character relative to corresponding input character is obtained.
603, using the product of the first weight degree value similar to above as the first new weight, wherein the first weight quilt It is initialized as 1.
604, judge whether above-mentioned substitute character is the last one substitute character in approximate character string: if so, executing 605;Otherwise, 601 are executed.
605, the calculated value of the first weight is returned.
For example, character string zn is the approximate character string for inputting character string ab, and wherein substitute character z is relative to input word The similarity weight for according with a is 0.8, and substitute character n is 0.9 relative to the similarity weight of input character b, then approximate character string zn The first weight R1=1*0.9*0.8=0.72.
It correspondingly, can also be by calculating corresponding substitute character corresponding similarity while generating approximate character string The product of weight, using calculated result as the first weight of the approximate character string generated.
Certainly, it should be appreciated by those skilled in the art that according to each approximate character of similarity weight computing of substitute character First weight of string can also take other modes, and in practical applications, those skilled in the art can be according to the actual situation Suitable mode is selected to calculate the first weight of approximate character string.
5th embodiment
The input method for the character string that fifth embodiment of the invention provides, provides the basis based on the various embodiments described above The difference of the approximate character string and dictionary Plays character string obtains the preferred implementation of the second weight of each approximate character string Mode.
In the present embodiment, the standard characters stored in dictionary can include: standard pinyin character string and standard English word Symbol string.
In a preferred embodiment of the present embodiment, according to the approximate character string and dictionary Plays character string Difference, the second weight for calculating each approximate character string includes:
Acquisition and the smallest standard characters of approximate character string editing distance, as the corresponding standard character of approximate character string String;
According to the editing distance of approximate character string and the corresponding standard characters of approximate character string, second power is calculated Value.
Specifically, editing distance, which refers to, refers to two character strings, the minimum edit operation time needed for another is changed into as one Number.Wherein, the edit operation of license includes that a character is substituted for another character, is inserted into a character, deletes a word Symbol.
Preferably, the minimum edit methods of two character strings are calculated using the algorithm of Dynamic Programming.
It is understood that the algorithm of Dynamic Programming is the algorithms most in use for calculating editing distance, may be used also in the present embodiment With algorithm in any other form come obtain with the smallest standard characters of approximate character string editing distance, to this and it is unlimited It is fixed.
In the present embodiment, after obtaining with the smallest standard characters of approximate character string editing distance, according to two The editing distance of person calculates second weight.
In one example, the respective function relationship for presetting the second weight and editing distance, according to the functional relation, Calculate corresponding second weight.Wherein, the scheduled functional relation is the functional relation of monotone decreasing, that is to say, that approximate The editing distance of character string and standard characters is closer, and the second weight of the approximate character string is higher.
For example, functional relation: R2=1/(D+1 is set), in which: R2 represents the second weight of approximate character string, D generation Editing distance between table approximate character string and standard characters.
Assuming that approximate character string is zn, and it is zen with the shortest standard characters of zn editing distance, the volume between zn and zen Collecting distance is 1, then the second weight R2=1/2 of approximate character string zn.
It is, of course, also possible to the relationship between the function sets R2 and D that pass through the monotone decreasings of other forms, to this and it is unlimited It is fixed.
In another example, the corresponding relationship that editing distance range Yu the second weight can be preset, according to calculating Obtained editing distance tables look-up to obtain corresponding second weight.
As shown in table 4 is the mapping table of a kind of editing distance range and the second weight.
Table 4
Editing distance range Second weight
0-1 90%
2-4 80%
Certainly, it should be appreciated by those skilled in the art that calculating the second of each approximate character string according to editing distance Weight can also take other modes, and in practical applications, those skilled in the art can select properly according to the actual situation Mode calculate the second weight of approximate character string.
Further, in embodiments of the present invention, the frequency weight of each standard characters is also stored in dictionary.
In a preferred embodiment of the present embodiment, according to the approximate character string and dictionary Plays character string Difference, the second weight for obtaining each approximate character string includes:
Acquisition and the smallest standard characters of approximate character string editing distance, as the corresponding standard character of approximate character string String;
Obtain the first frequency weight of the corresponding standard characters of the approximate character string;
It is weighed according to the editing distance of approximate character string and the corresponding standard characters of approximate character string and the first frequency Value calculates second weight.Wherein, first frequency weight can carry out word frequency statistics by the text to predetermined number to obtain It takes;Or word frequency statistics can be carried out by the character string inputted to a plurality of clients history to obtain;Or it can be by right The character string of single user end history input carries out word frequency statistics to obtain.
Specifically, when above-mentioned dictionary is stored in a large server, it is above-mentioned when which shares inquiry by user terminal First frequency weight can carry out word frequency statistics or the word to the input of a plurality of clients history by the text to predetermined number Symbol string carries out word frequency statistics to obtain;When above-mentioned dictionary is stored respectively in single user end, user terminal is by inquiring itself dictionary When obtaining respective standard character string information, above-mentioned first frequency weight is carried out by the character string inputted to single user end history Word frequency statistics obtain.
As shown in table 5 is the corresponding table of a kind of standard characters and first frequency weight.
Table 5
Standard characters First frequency weight
baidu 37.5%
baide 11.2%
baidi 3.7%
In one example, corresponding function between the second weight and editing distance and first frequency weight is preset to close System calculates corresponding second weight according to the functional relation.
For example, functional relation: R2=1/(D+1 is set) * r1, in which: R2 represents the second weight of approximate character string, D The editing distance between approximate character string and standard characters is represented, r1 represents the corresponding first frequency weight of standard characters.
Such as: the editing distance D of approximate character string zn and standard characters zen is 1, the first frequency of standard characters zen Rate weight r1 is 0.15, the second weight R2=(1/2) * 0.15 to approximate character string zn of calculating.
The present embodiment is calculated minimum with the standard characters editing distance by using the frequency weight of standard characters Approximate character string the second weight, solve when showing approximate character string, the frequency character string quilt that user terminal often inputs The problem of display can not even be shown rearward, further improves the input efficiency of user terminal, user experience is good.
Sixth embodiment
Fig. 7 is a kind of flow chart of the input method of character string of sixth embodiment of the invention, specially shows spelling simultaneously The method of sound character string and standard Chinese word, as shown in Figure 7, which comprises
710, current input character corresponding with input instruction is obtained, the corresponding replacement word of the current input character is obtained Symbol, wherein each substitute character has similarity weight relative to the current input character.
720, by the current input character be added current string in, and obtain respectively inputted in current string character and Input the respective substitute character of character, by least one of current string input character and with it is described at least one input word The substitute character of symbol, which is combined, generates at least two approximate character strings corresponding with the current string.
Approximate character string in this operation is pinyin character string.
730, sequence reads an approximate character string, calculates the total weight value of the approximate character string.
740, judge whether the approximate character string has corresponding standard Chinese word: if so, executing 750;Otherwise, 760 are executed.
It in the present embodiment, include standard pinyin character string and standard Chinese character string, standard pinyin character string in dictionary At least one corresponding standard Chinese character string, also referred to as standard Chinese word, standard Chinese word have at least one Chinese character.
For example, the standard Chinese word corresponding with standard pinyin character string " baidu " stored in dictionary have " Baidu ", " having the honour to read ", " ferry-boat " and " whiteness " etc..
750, the second frequency of the approximate character string total weight value and standard Chinese word corresponding with the approximate character string is weighed The product of value is as the total weight value with the standard Chinese word.
As shown in table 6 is the corresponding table of a kind of standard Chinese word and second frequency weight.
Table 6
Standard Chinese word Second frequency weight
Baidu 73.34%
It has the honour to read 14.47%
Ferry-boat 12.13%
Whiteness 0.06%
Wherein, second frequency weight can carry out word frequency statistics by the Chinese text to predetermined number to obtain;Or Word frequency statistics can be carried out by the Chinese character string inputted to a plurality of clients history to obtain;Or it can be by single The Chinese character string of user terminal history input carries out word frequency statistics to obtain.
Specifically, when above-mentioned dictionary is stored in a large server, it is above-mentioned when which shares inquiry by user terminal Second frequency weight can carry out word frequency statistics by the Chinese text to predetermined number or input to a plurality of clients history Standard Chinese word carry out word frequency statistics and obtain;When above-mentioned dictionary is stored respectively in single user end, user terminal passes through inquiry When itself dictionary obtains corresponding standard Chinese word information, above-mentioned second frequency weight is by inputting single user end history Standard Chinese word carries out word frequency statistics to obtain.
Specifically, a kind of acquisition methods of second frequency weight can be with are as follows: by word frequency statistics obtain with it is same approximate The word frequency of the corresponding standard Chinese word of character string;According to the word frequency, the second frequency weight of above-mentioned standard Chinese word is calculated.
For example, whole standard Chinese word corresponding with " baidu " are as follows: " Baidu ", " having the honour to read ", " ferry-boat " and " white Degree ", wherein the word frequency of " Baidu " is 37.5%, the word frequency of " having the honour to read " is 7.4%, and the word frequency of " ferry-boat " is 6.2%, the word of " whiteness " Frequency is 0.03%.It calculates:
The second frequency weight of " Baidu " are as follows:
r2=37.5%/(37.5%+7.4%+6.2%+0.03%)*100%=73.34%
The second frequency weight of " having the honour to read " are as follows:
r2=7.4%/(37.5%+7.4%+6.2%+0.03%)*100%=14.47%
The second frequency weight of " ferry-boat " are as follows:
r2=6.2%/(37.5%+7.4%+6.2%+0.03%)*100%=12.13%
The second frequency weight of " whiteness " are as follows:
r2=0.03%/(37.5%+7.4%+6.2%+0.03%)*100%=0.06%
Wherein, if standard Chinese word corresponding with an approximate character string is unique, the second frequency of the standard Chinese word is weighed Value is 1.
It is understood that the above-mentioned calculating process to standard Chinese word second frequency weight can also take others side Formula does not limit this.
In the present embodiment, the calculation method of the total weight value R ' of standard Chinese word corresponding with approximate character string are as follows: standard Second frequency of the total weight value R ' of Chinese word=total weight value R* of approximate character string corresponding with standard Chinese word standard Chinese word Rate weight r2.
For example, approximate character string " baidu " has corresponded to a standard Chinese word " Baidu " in dictionary.Wherein The total weight value of " baidu " is 0.78, and the second frequency weight of " Baidu " is 73.34%, then: the total weight value of " Baidu " is 0.78* 73.34%=0.572。
760, judge whether the approximate character string is the last one approximate character string generated: if so, executing 770;Otherwise, Return to 730.
770, the sequence pairing approximation character string according to the total weight value from big to small and standard Chinese word be ranked up, press Ranking results sequence display standard Chinese word and approximate character string.
Fig. 8 is a kind of application for the corresponding standard Chinese word of display approximate character string that sixth embodiment of the invention is applicable in The schematic diagram of scene.As shown in figure 8, below input frame, other than showing approximate character string corresponding with input character string, Also show standard Chinese word corresponding with approximate character string.
In a preferred embodiment of this implementation, when input character string itself corresponds to the standard in the dictionary When Chinese word, the total weight value of the standard Chinese word is calculated, according to the sequence of the total weight value from big to small by the standard Chinese word It is ranked up with other character strings, shows multiple character strings by ranking results sequence.
For example, input character string is " baidu ", there is multiple standard characters corresponding with input character string in dictionary String.Such as: " Baidu ", " having the honour to read ", " ferry-boat " and " whiteness " calculates separately the total weight value of this four standard characters.
Specifically, total weight value R '=total weight value R* of input corresponding with standard Chinese word character string standard Chinese word Second frequency frequency weight r2.
Wherein, total weight value R=k1* the first weight the second weight of+k2* of character string is inputted, wherein k1 and k2 is weighting system Number, and k1+k2=1.
When not considering to input the first frequency weight of character string, the first weight of the input character string is 1, the input word Second weight of symbol string is 1;
When considering the first frequency weight of input character string, the first weight of the input character string is 1, the input character Second weight of string is the first frequency weight of the input character string.
Fig. 9 is a kind of application for the corresponding standard Chinese word of display input character string that sixth embodiment of the invention is applicable in The schematic diagram of scene.As shown in figure 9, also showing standard Chinese word corresponding with the input character string below input frame.
The present embodiment generates the input character string phase with user terminal by the way that at least one substitute character is arranged for input character As multiple approximate character strings, the approximate character string of generation is ranked up according to weight size, and ranking results sequence is shown The mode shown is solved when user causes input error because of wrong other keys put around expectation key, correct defeated Enter the problem of can not effectively being prompted, reaches user terminal and only need click or put to contact the ballpark key position of keyboard just Input demand can be recognized by the system out and realize the effect correctly entered, improve the input efficiency of user.It is shown by increasing The step of approximate character string corresponding standard Chinese word, increases the diversity and flexibility of input prompt, further improves The input efficiency of user terminal, user experience are good.
Figure 10 is the structure chart of the input unit of the character string of seventh embodiment of the invention.As shown in fig. 7, the input dress It sets and includes:
Current character acquiring unit A10, for obtaining current input character corresponding with instruction is inputted;
Substitute character acquiring unit A20, for obtaining the corresponding substitute character of the current input character, wherein described Substitute character has similarity weight relative to the current input character;
Current string information acquisition unit A30 for the current input character to be added in current string, and is obtained Take the substitute character that character and input character are inputted in current string;
Approximate character string acquiring unit A40, for by least one of current string input character and with it is described extremely The correspondence substitute character of few input character is combined and to generate corresponding with the current string at least two approximate Character string;
First weight calculation unit A50 calculates approximate character string for the similarity weight according to the substitute character First weight;
Second weight calculation unit A60 is obtained for the difference according to the approximate character string and dictionary Plays character string Take the second weight of approximate character string;
Total weight value computing unit A70, for calculating approximate character string according to first weight and second weight Total weight value;
Sequencing display unit A80, for being carried out according to the sequence of the total weight value from big to small to the approximate character string Sequence, shows the approximate character string by ranking results sequence.
The input unit of the present embodiment is generated defeated with user terminal by the way that at least one substitute character is arranged for input character Enter the similar multiple approximate character strings of character string, the approximate character string of generation is ranked up according to weight size, and will sequence As a result the mode of sequence display solves as user and causes input error because of wrong other keys put around expectation key When, the problem of can not effectively being prompted is correctly entered, reaches user terminal and only needs click or put to contact that keyboard is ballpark Key position can be recognized by the system out input demand and realize the effect correctly entered, improve the input efficiency of user.
On the basis of the various embodiments described above, the current character acquiring unit is specifically used for:
When the input for reading user terminal instructs to click multiple physical buttons in setting time threshold value, according to The multikey of setting selects rule to choose the corresponding character of a key in the multiple physical button as input instruction correspondence Current input character;
The unselected corresponding character of other keys in the multiple physical button is chosen as the input character Corresponding substitute character.
On the basis of the various embodiments described above, the current character acquiring unit is specifically used for:
User terminal is read by the input instruction of the virtual key input in touch-sensitive screen contact curtain, obtains the area of coverage of point touching Domain;
The central point pixel coordinate for obtaining the overlay area, according at least one virtual key and the central point pixel Similarity weight between coordinate selects the virtual key for having maximum similarity weight relative to the central point pixel coordinate Corresponding character instructs corresponding current input character as the input;
The corresponding character of non-selected other virtual keys in the overlay area is chosen as the current input bytes Accord with corresponding substitute character;
Similarity weight of the corresponding virtual key of each substitute character relative to central point pixel coordinate is chosen, as described Similarity weight of the substitute character relative to current input character.
On the basis of the various embodiments described above, second weight calculation unit is specifically used for:
Acquisition and the smallest standard characters of approximate character string editing distance, as the corresponding standard character of approximate character string String;
Obtain the first frequency weight of the corresponding standard characters of the approximate character string;
According to the editing distance of approximate character string and the corresponding standard characters of approximate character string and the frequency weight, meter Calculate second weight.
On the basis of the various embodiments described above, described device further include:
Standard Chinese word total weight value computing unit, if being standard pinyin character string and right for the approximate character string It should be at least one standard Chinese word, according to the approximate character string total weight value and the standard corresponding with the approximate character string The product of the second frequency weight of Chinese word obtains the total weight value of the standard Chinese word corresponding with the approximate character string;
The sequencing display unit is specifically used for:
The approximate character string the and described standard Chinese word is arranged according to the sequence of the total weight value from big to small Sequence shows the standard Chinese word and the multiple approximate character string by ranking results sequence.
Figure 11 is the structural schematic diagram that can be used for implementing the mobile terminal of the present invention program.The mobile terminal 1100 can be with For implementing the method provided in above-described embodiment.Typically, mobile terminal 1100 include: input equipment 1110, at least one Processor 1120, at least one storage device 1130 and display equipment 1140.
Input equipment 1110 can be used for receiving user terminal input instruction, and the input received instruction is sent to processor 1120.It in a preferred embodiment, can be virtual key.
Storage device 1130 can be used for storing program and data, and processor 1120 is stored in by reading and/or running Data and program in storage device 1130 thereby executing various instructions and carry out corresponding data processing.Storage device 1130 programs stored include operating system, at least one function or required application program etc.;Storage device 1130 is deposited The data of storage include the information such as input key as described above and corresponding relationship and the dictionary of replacing key.
Display equipment 1140 can be used for showing that information, the data of display include that input character string and input character string are corresponding Multiple approximate character strings etc..
Obviously, it will be understood by those skilled in the art that each module of the above invention or each step can be with general Computing device realizes that they can be concentrated on single computing device, or be distributed in net constituted by multiple computing devices On network, optionally, they can be realized with the program code that computer installation can be performed, and be deposited so as to be stored in It is performed by computing device in storage device, perhaps they are fabricated to each integrated circuit modules or will be in them Multiple modules or step are fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware With the combination of software.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (6)

1. a kind of input method of character string characterized by comprising
Obtain current input character corresponding with input instruction;
Obtain the corresponding substitute character of the current input character, wherein the substitute character is relative to the current input bytes Symbol has similarity weight;
The current input character is added in current string, and obtains input character in current string and inputs character Substitute character;
At least one of current string is inputted into character and carries out group with the substitute character of at least one input character Symphysis is at least two approximate character strings corresponding with the current string;
According to the similarity weight of the substitute character, the first weight of approximate character string is calculated;
According to the difference of the approximate character string and dictionary Plays character string, the second weight of approximate character string is obtained;
According to first weight and second weight, the total weight value of approximate character string is calculated;
The approximate character string is ranked up according to the sequence of the total weight value from big to small, shows institute by ranking results sequence State approximate character string;
Wherein, current input character corresponding with input instruction is obtained, and obtains the current input according to setting Substitution Rules The corresponding substitute character of character includes:
If reading the input instruction of user terminal to click multiple physical buttons in setting time threshold value, according to setting Multikey select rule to choose the corresponding character of a key in the multiple physical button to instruct corresponding work as input Preceding input character;The unselected corresponding character of other keys in the multiple physical button is chosen as the input word Accord with corresponding substitute character.
2. the input method of character string according to claim 1, which is characterized in that it is described according to the approximate character string with The difference of dictionary Plays character string, the second weight for obtaining approximate character string include:
Acquisition and the smallest standard characters of approximate character string editing distance, as the corresponding standard characters of approximate character string;
Obtain the first frequency weight of the corresponding standard characters of the approximate character string;
According to the editing distance of approximate character string and the corresponding standard characters of approximate character string and the frequency weight, institute is calculated State the second weight.
3. the input method of character string according to claim 1, which is characterized in that if the approximate character string is standard Pinyin character string and correspond at least one standard Chinese word, the method also includes:
It is weighed according to the second frequency of the approximate character string total weight value and the standard Chinese word corresponding with the approximate character string The product of value obtains the total weight value of the standard Chinese word corresponding with the approximate character string;
The approximate character string is ranked up according to the sequence of the total weight value from big to small, shows institute by ranking results sequence Approximate character string is stated to specifically include:
The approximate character string the and described standard Chinese word is ranked up according to the sequence of the total weight value from big to small, is pressed Ranking results sequence shows the standard Chinese word and the multiple approximate character string.
4. a kind of input unit of character string characterized by comprising
Current character acquiring unit, for obtaining current input character corresponding with instruction is inputted;
Substitute character acquiring unit, for obtaining the corresponding substitute character of the current input character, wherein the substitute character There is similarity weight relative to the current input character;
Current string information acquisition unit for the current input character to be added in current string, and obtains current Character is inputted in character string and inputs the substitute character of character;
Approximate character string acquiring unit, for by least one of current string input character and with described at least one is defeated The correspondence substitute character for entering character is combined and generates at least two approximate character strings corresponding with the current string;
First weight calculation unit calculates the first power of approximate character string for the similarity weight according to the substitute character Value;
Second weight calculation unit obtains approximate for the difference according to the approximate character string and dictionary Plays character string Second weight of character string;
Total weight value computing unit, for calculating the total weight value of approximate character string according to first weight and second weight;
Sequencing display unit is pressed for being ranked up according to the sequence of the total weight value from big to small to the approximate character string Ranking results sequence shows the approximate character string;
Wherein, the current character acquiring unit is specifically used for:
If reading the input instruction of user terminal to click multiple physical buttons in setting time threshold value, according to setting Multikey select rule to choose the corresponding character of a key in the multiple physical button to instruct corresponding work as input Preceding input character;
The unselected corresponding character of other keys chosen in the multiple physical button is corresponding as the input character Substitute character.
5. the input unit of character string according to claim 4, which is characterized in that second weight calculation unit is specific For:
Acquisition and the smallest standard characters of approximate character string editing distance, as the corresponding standard characters of approximate character string;
Obtain the first frequency weight of the corresponding standard characters of the approximate character string;
According to the editing distance of approximate character string and the corresponding standard characters of approximate character string and the frequency weight, institute is calculated State the second weight.
6. the input unit of character string according to claim 5, which is characterized in that described device further include:
Standard Chinese word total weight value computing unit, if being standard pinyin character string for the approximate character string and corresponding to At least one standard Chinese word, according to the approximate character string total weight value and the standard Chinese corresponding with the approximate character string The product of the second frequency weight of word obtains the total weight value of the standard Chinese word corresponding with the approximate character string;
The sequencing display unit is specifically used for:
The approximate character string the and described standard Chinese word is ranked up according to the sequence of the total weight value from big to small, is pressed Ranking results sequence shows the standard Chinese word and the multiple approximate character string.
CN201310713133.9A 2013-12-20 2013-12-20 Character string input method and input unit Active CN103699233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310713133.9A CN103699233B (en) 2013-12-20 2013-12-20 Character string input method and input unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310713133.9A CN103699233B (en) 2013-12-20 2013-12-20 Character string input method and input unit

Publications (2)

Publication Number Publication Date
CN103699233A CN103699233A (en) 2014-04-02
CN103699233B true CN103699233B (en) 2019-04-09

Family

ID=50360785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310713133.9A Active CN103699233B (en) 2013-12-20 2013-12-20 Character string input method and input unit

Country Status (1)

Country Link
CN (1) CN103699233B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843414B (en) * 2015-01-13 2022-03-08 北京搜狗科技发展有限公司 Input method input correction method and input method device
CN106295266A (en) 2015-05-28 2017-01-04 阿里巴巴集团控股有限公司 Data inputting method and device
CN106610730A (en) * 2015-10-23 2017-05-03 深圳富泰宏精密工业有限公司 Electronic equipment and character correction method
CN105204663A (en) * 2015-10-30 2015-12-30 维沃移动通信有限公司 Method of virtual keyboard input and terminal
CN105302336B (en) * 2015-10-30 2019-01-18 北京搜狗科技发展有限公司 A kind of input error correction method and device
CN105607757A (en) * 2015-12-28 2016-05-25 北京搜狗科技发展有限公司 Input method and device and device used for input
CN107765883A (en) * 2016-08-22 2018-03-06 富士通株式会社 The sort method and sequencing equipment of candidate's word of input method
CN106468960A (en) * 2016-09-07 2017-03-01 北京新美互通科技有限公司 A kind of method and system of candidates of input method sequence
CN108629174B (en) * 2018-05-08 2022-06-07 创新先进技术有限公司 Method and device for checking character strings
SG10201904554TA (en) * 2019-05-21 2019-09-27 Alibaba Group Holding Ltd Methods and devices for quantifying text similarity
CN111090341A (en) * 2019-12-24 2020-05-01 科大讯飞股份有限公司 Input method candidate result display method, related equipment and readable storage medium
CN111352549B (en) * 2020-02-25 2022-01-07 腾讯科技(深圳)有限公司 Data object display method, device, equipment and storage medium
DE102021121116B4 (en) 2021-08-13 2023-05-11 Brainbox Gmbh METHOD AND DEVICE FOR ENTERING A CHARACTER STRING

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101581974A (en) * 2008-05-12 2009-11-18 鸿富锦精密工业(深圳)有限公司 Character input method and electronic system using input method
CN101719022A (en) * 2010-01-05 2010-06-02 汉王科技股份有限公司 Character input method for all-purpose keyboard and processing device thereof
CN102566899A (en) * 2010-12-30 2012-07-11 国际商业机器公司 Adaptive touch-sensitive displays and methods
CN103389915A (en) * 2013-07-23 2013-11-13 百度在线网络技术(北京)有限公司 Input error correcting method, input error correcting device, input error correcting server and input error correcting server system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276245B (en) * 2008-04-16 2010-07-07 北京搜狗科技发展有限公司 Reminding method and system for coding to correct error in input process
TW201222329A (en) * 2010-11-17 2012-06-01 Insyde Software Corp Automatic hyphenation and segmentation method of Chinese full sentence input
CN102184028A (en) * 2011-04-11 2011-09-14 百度在线网络技术(北京)有限公司 Method and equipment for acquiring candidate character strings corresponding to input key sequence
CN102890612B (en) * 2011-07-22 2017-02-15 腾讯科技(深圳)有限公司 Method and device for scrolling screen
CN103279192A (en) * 2013-04-18 2013-09-04 百度在线网络技术(北京)有限公司 Method and device for conducting input by using multi-meaning keyboard

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101581974A (en) * 2008-05-12 2009-11-18 鸿富锦精密工业(深圳)有限公司 Character input method and electronic system using input method
CN101719022A (en) * 2010-01-05 2010-06-02 汉王科技股份有限公司 Character input method for all-purpose keyboard and processing device thereof
CN102566899A (en) * 2010-12-30 2012-07-11 国际商业机器公司 Adaptive touch-sensitive displays and methods
CN103389915A (en) * 2013-07-23 2013-11-13 百度在线网络技术(北京)有限公司 Input error correcting method, input error correcting device, input error correcting server and input error correcting server system

Also Published As

Publication number Publication date
CN103699233A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN103699233B (en) Character string input method and input unit
US11573939B2 (en) Process and apparatus for selecting an item from a database
CN105683874B (en) Method for using emoji for text prediction
JP6517352B2 (en) Method and system for providing translation information
JP5472118B2 (en) Operation support method, operation support system, operation support apparatus, and operation support program
JP5158766B2 (en) Content selection device, television, content selection program, and storage medium
CN104461056B (en) A kind of information processing method and electronic equipment
CN104618781A (en) Method and device for inputting characters on television terminal
KR20190014588A (en) Method and device for providing virtual input keyboard
CN105204858B (en) A kind of self-defining image target system and method
JP5793463B2 (en) Information selection apparatus, method, and program
CN111665956B (en) Candidate character string processing method and device, electronic equipment and storage medium
CN112698734A (en) Candidate word display method and device and electronic equipment
WO2013118592A1 (en) Information search apparatus and information search method
CN110765736B (en) Mathematical expression input method and device and mobile equipment
CN104111797B (en) A kind of information processing method and electronic equipment
CN105630228B (en) Touch-screen input adjustment in direction and response method, device and game control method, device
CN105094545A (en) Control device and method
WO2007083406A1 (en) Character input system, character input method, and character input program
JP6485301B2 (en) Display control apparatus, display control method, display control program, and storage medium for storing display control program
CN109657201A (en) A kind of method for displaying typesetting of element, device, electronic equipment and storage medium
CN112416870A (en) Name modification method and device and electronic equipment
CN113157173A (en) Information prompting method and device, electronic equipment and storage medium
CN104469532B (en) The method and apparatus for prompting TV functions
JP2014160431A (en) Search device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant