CN109308126A - A kind of candidate word methods of exhibiting and device - Google Patents

A kind of candidate word methods of exhibiting and device Download PDF

Info

Publication number
CN109308126A
CN109308126A CN201710624373.XA CN201710624373A CN109308126A CN 109308126 A CN109308126 A CN 109308126A CN 201710624373 A CN201710624373 A CN 201710624373A CN 109308126 A CN109308126 A CN 109308126A
Authority
CN
China
Prior art keywords
character string
candidate word
user
input
dictionary
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.)
Granted
Application number
CN201710624373.XA
Other languages
Chinese (zh)
Other versions
CN109308126B (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 Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201710624373.XA priority Critical patent/CN109308126B/en
Publication of CN109308126A publication Critical patent/CN109308126A/en
Application granted granted Critical
Publication of CN109308126B publication Critical patent/CN109308126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Machine Translation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of candidate word methods of exhibiting and device, which is characterized in that the described method includes: obtaining the first character string of user's input;Judge some or all of first character string whether in fallibility dictionary, fallibility dictionary includes the corresponding relationship of the second character string Yu correct candidate word, and correct candidate word is from shield in selection in the shown candidate word of the second character string but candidate word not exclusively corresponding with the second character string;If it is determined that the second character string is some or all of first character string, correct candidate word is shown in the preferential display location that the second character string corresponds to candidate word.It can be seen that, in the case where user inputs character string by mistake, correct candidate word is shown in the preferential display location that the second character string corresponds to candidate word, so that user can preferentially see the correct candidate word, the input experience of user is improved in the case where user inputs character string by mistake really.

Description

A kind of candidate word methods of exhibiting and device
Technical field
This application involves input method fields, more particularly to a kind of candidate word methods of exhibiting and device.
Background technique
Input method refers to the coding method used for various symbols are inputted computer or other equipment (such as mobile phone), uses Input method can be used easily by the character input electronic equipment of needs in family.
The character string that input method can be inputted according to user shows corresponding candidate word, and by the selected candidate word of user Screen is carried out, such as is entered into the document of electronic equipment, this is a kind of common mode using input method.But it is different Input habit or input speed may result in user's input error when inputting character string, cause corresponding candidate word or The candidate word preferentially shown is not what oneself was wanted, and user needs multiple page turning that can just find required candidate in this case Word, or re-enter character string.
The character string of obvious this input error will affect the input speed of user, reduce the input experience of user.
Summary of the invention
In order to solve the above-mentioned technical problem, this application provides a kind of candidate word methods of exhibiting and device, user can be excellent First see the correct candidate word, the input experience of user is improved in the case where user inputs character string by mistake really.
In a first aspect, this application provides a kind of candidate word methods of exhibiting, this method comprises:
Obtain the first character string of user's input;
Some or all of described first character string is judged whether in fallibility dictionary, and the fallibility dictionary includes second The corresponding relationship of character string and correct candidate word, the correct candidate word are selected to be shown in candidate word from second character string Select screen, but candidate word not exclusively corresponding with second character string;
If it is determined that second character string is some or all of described first character string, the correct candidate word is shown In the preferential display location that second character string corresponds to candidate word.
Optionally, in first character string include character for identifying syllable tone.
Optionally, the fallibility dictionary is established according to inputing character string situation in historical data by mistake, described to input word by mistake Symbol string situation selects the candidate word shielded for the feelings of candidate word not exclusively corresponding with defeated character string by according to defeated character string Condition.
Optionally, the second character string and correct candidate word appear in described input by mistake in character string situation in the fallibility dictionary Number meet preset condition.
Optionally, the historical data includes the historical data of the user and/or the historical data of multiple other users;
When in the historical data including the historical data of the user, the method also includes:
It inputs character string situation by mistake according to the user and updates the fallibility dictionary.
Optionally, in second character string include character for identifying syllable tone.
Optionally, the preferential displaying of candidate word is corresponded in first character string in described show the correct candidate word Before in position, further includes:
The corresponding input behavior data of the user are inquired according to second character string,
If including being selected from the shown candidate word of the second character string in the corresponding input behavior data of the user The input behavior data shielded in candidate word, according to from the candidate word shielded in the shown candidate word of the second character string in selection Temperature adjusts second character string and corresponds to the candidate word shown in the preferential display location of candidate word.
Second aspect, this application provides a kind of candidate words to show device, and described device includes acquiring unit, judging unit And display unit:
The acquiring unit, for obtaining the first character string of user's input;
The judging unit, for judging whether some or all of described first character string is in fallibility dictionary, institute The corresponding relationship that fallibility dictionary includes the second character string Yu correct candidate word is stated, the correct candidate word is from second character Shield in selection in the shown candidate word of string but candidate word not exclusively corresponding with second character string;If it is determined that described Second character string is some or all of described first character string, then executes the display unit;
The display unit corresponds to the preferential of candidate word in second character string for showing the correct candidate word In display location.
Optionally, in first character string include character for identifying syllable tone.
Optionally, the fallibility dictionary is established according to inputing character string situation in historical data by mistake, described to input word by mistake Symbol string situation selects the candidate word shielded for the feelings of candidate word not exclusively corresponding with defeated character string by according to defeated character string Condition.
Optionally, the second character string and correct candidate word appear in described input by mistake in character string situation in the fallibility dictionary Number meet preset condition.
Optionally, the historical data includes the historical data of the user and/or the historical data of multiple other users;
When in the historical data including the historical data of the user, described device further includes updating unit:
The updating unit updates the fallibility dictionary for inputing character string situation by mistake according to the user.
Optionally, in second character string include character for identifying syllable tone.
Optionally, described device further includes query unit and adjustment unit:
The query unit, for inquiring the corresponding input behavior data of the user according to second character string,
The adjustment unit, if for including from the second character string institute in the corresponding input behavior data of the user It shows the input behavior data for selecting to shield in candidate word in candidate word, is selected according to from the shown candidate word of the second character string It selects the temperature of the candidate word of screen, adjusts second character string and correspond to the candidate shown in the preferential display location of candidate word Word.
The third aspect, this application provides a kind of candidate words to show device, which is characterized in that and it include memory, and One perhaps more than one program one of them or more than one program be stored in memory, and be configured to by one It includes the instruction for performing the following operation that a or more than one processor, which executes the one or more programs:
Obtain the first character string of user's input;
Some or all of described first character string is judged whether in fallibility dictionary, and the fallibility dictionary includes second The corresponding relationship of character string and correct candidate word, the correct candidate word are selected to be shown in candidate word from second character string Select screen, but candidate word not exclusively corresponding with second character string;
If it is determined that second character string is some or all of described first character string, the correct candidate word is shown In the preferential display location that second character string corresponds to candidate word.
Fourth aspect, this application provides a kind of machine readable medias, are stored thereon with instruction, when by one or more When managing device execution, so that device executes method described in first aspect.
It can be seen from above-mentioned technical proposal when obtaining the first character string of user's input, corresponding be somebody's turn to do can be being shown Before the candidate word of first character string, judge whether some or all of the character undetermined is in fallibility dictionary, the fallibility word In library include the character string for being easy to input by mistake and is easy between the candidate word of the character string inputed by mistake institute actual selection according to these Corresponding relationship, therefore if it find that when the second character string in fallibility dictionary is some or all of first character string, it can be true Recognize some or all of first character string and belong to the character string for being easy to input by mistake, then the second character string of user input has very much The character string that input may be actually wanted to the user is not consistent, which actually wants to time corresponding to the character string of input Select word to be likely to be correct candidate word, i.e., candidate word corresponding with the second character string in fallibility dictionary, therefore be possible in the user In the case where strictly inputing character string by mistake, correct candidate word can be shown and correspond to the preferential displaying of candidate word in the second character string In position, so that user can preferentially see the correct candidate word, use is improved in the case where user inputs character string by mistake really The input at family is experienced.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
A kind of schematic diagram when Fig. 1 is user inputs character string provided by the embodiments of the present application;
Second of schematic diagram when Fig. 2 is user inputs character string provided by the embodiments of the present application;
Fig. 3 is a kind of method flow diagram of candidate word methods of exhibiting provided by the embodiments of the present application;
The third schematic diagram when Fig. 4 is user inputs character string provided by the embodiments of the present application;
The 4th kind of schematic diagram when Fig. 5 is user inputs character string provided by the embodiments of the present application;
The 5th kind of schematic diagram when Fig. 6 is user inputs character string provided by the embodiments of the present application;
One of the 6th kind of schematic diagram when Fig. 7 a is user inputs character string provided by the embodiments of the present application;
Two of the 6th kind of schematic diagram when Fig. 7 b is user inputs character string provided by the embodiments of the present application;
Three of the 6th kind of schematic diagram when Fig. 7 c is user inputs character string provided by the embodiments of the present application;
Fig. 8 is the composition schematic diagram that a kind of candidate word provided by the embodiments of the present application shows device;
Fig. 9 is that a kind of candidate word provided by the embodiments of the present application shows structural block diagram of the device as terminal when;
Figure 10 is the structural schematic diagram of server in some embodiments provided by the embodiments of the present application.
Specific embodiment
With reference to the accompanying drawing, embodiments herein is described.
During being inputted using traditional input method, in fact it could happen that the character string of input is not to actually want to input text Character string corresponding to word, so as to cause otherwise user need just find practical need after the multiple page turning of candidate word displayed page The text to be inputted or user directly cancel character string currently entered and re-start input again, no matter which kind of situation all can Reduce the input efficiency of user.
Inventors have found that some possible scenes of inputing by mistake are since the personal habits such as pronunciation, the typing speed of user cause , for user when inputting character string, the character string inputted is not the character string that the user actually wants to input, that is, It says, the character string of user's input may be the character string of user's input error, so as to lead to the candidate for actually wanting to selection Word be in relatively after display location, user rapidly cannot obtain oneself from the shown candidate word of character string according to the mistake Desired candidate word.
For example, certain user can due to the mistake of the audio tone of vocabulary, often will " act unfairly from selfish motives " at " x ú n ' s ī " and It is not " x ù n ' s ī ", when the user wants to input " acting unfairly from selfish motives " two word by input method, in phonetic input method, it will usually input " xun2si1 " is inputted in frame, wherein number 2 can be used in character string to indicate the rising tone, the number of pinyin string before number Word 1 indicates the first sound, due to the syllable tone input error in character string, so as to cause in the candidate word of preferential displaying not It occurs " acting unfairly from selfish motives ", but candidate word corresponding to the si of the xun of two sound and a sound, user need to show that interface is more to candidate word Secondary page turning can just find candidate word " acting unfairly from selfish motives " corresponding to the xun of the four tones of standard Chinese pronunciation and the si of a sound.
In addition, as shown in Figure 1, in some cases, certain user is since front and back nasal sound is regardless of along with typing speed mistake Fastly, it is easy habitually in input frame 101, is character string by the input of " joyful " corresponding character string " xin1xin1 " mistake 102 " xing1xing1 ", then input method can preferentially show corresponding candidate word according to the character string 102 that user inputs, first Five candidate words shown in page candidate word displayed page 103 are respectively as follows: " awake 4. planet, 5. every trade of 1. star, 2. orangutan 3. ", As it can be seen that in the first page candidate word that input method is preferentially shown there is no user need candidate word " joyful ", user need by Multiple page turning can find candidate word " joyful " in the candidate word of page 23, and the candidate word is selected to carry out screen.
Obviously, in the case where user inputs character string by mistake, the candidate word that traditional input method is preferentially shown may not be What user wanted, and user needs multiple page turning just and can find candidate word corresponding to the character string for oneself actually wanting to input, Therefore, traditional input method will affect the input speed of user, reduce the input experience of user.
So the embodiment of the present application provides a kind of settling mode for above-mentioned input condition, with wishing to reach When existing above situation, user can preferentially see that correct candidate word will not be excessively in the case where user inputs character string by mistake really Input efficiency is influenced, the input experience of user is improved.
The input method being previously mentioned in the embodiment of the present application can be one kind to be input to various symbols such as computer, hand The character or character that input method easily needs user can be used in the electronic equipments such as machine and the coding method used, user String input electronic equipment.It should be noted that input method is in addition to may include common input in Chinese in the embodiment of the present application It also may include the input method (ratio of other languages other than method (such as spelling input method, five-stroke input method, phonetic input method etc.) Such as Hiragana input method, Korean input method).
Character string can be corresponding a string of the characters of content that user desires to input into electronic equipment, can be in character string Including letter, number, symbol etc..Wherein, the composition form of a character string can be intended to the corresponding syllable of input content or Syllable combination is also possible to want the corresponding stroke order of input content, is also possible to want the corresponding specific mark of input content Know etc..For example, when user wants to input a word using spelling input method, such as " eating " word, the character of user's input String is " eating " corresponding syllable " chi ", certainly, in order to it is more preferential, accurately show correct candidate word, the character string is also It may include the corresponding specific identifier of " eating " word, for example, the character string can also be with the character for identifying syllable tone, it can To indicate the tone of pinyin string before number using number in character string, i.e., " eating " the corresponding input character string of word can be with For " chi1 ";When user wants to input a word using spelling input method, for example, " having a meal " this word, the character of user's input String can combine " chi1fan4 " for " having a meal " corresponding syllable;When user wants to input a word using five-stroke input method When, for example when " glad " word, the character string of user's input is " glad " corresponding stroke order " rqw ".
What needs to be explained here is that the composition form of a character string may be used also other than above-mentioned several possible modes To have other different composition forms according to the actual situation, no longer repeat one by one here.
Candidate word can be the corresponding words that input method is shown according to the character string that user inputs, for example, when input When method is spelling input method, candidate word is Chinese character;When input method is hiragana input method, candidate word is japanese character;Work as input Method is Korean input method, and candidate word is Korean text.It is noted herein that the category of language of candidate word is in addition to above-mentioned several Other than possible mode, it can also be other different category of language, any restriction not done to the category of language of candidate word herein.
For ease of description, will be mainly with Chinese character coding input method in embodiment later, the character combination in character string is Think to be illustrated for the corresponding syllable of input content or syllable combination.
For some user or most users, during inputting character string, it is likely that can exist following Situation: user inputs a character string, and the character string that input method is inputted according to user shows corresponding in candidate word displayed page Candidate word, user select one from the candidate word of displaying and are input in electronic equipment, i.e., the candidate word is to shield in user's selection Candidate word, and the candidate word and the character string that user inputs are not exclusively corresponding, but completely corresponding with another character string.At this In the case of kind, it is believed that user has input the character string of mistake, that is to say, that be easily selected by a user the candidate word institute of screen completely Corresponding character string is only the character string that user actually wants to input, and the character string of user's input actually wants to input with oneself Character string it is inconsistent.For ease of description, can be using above situation as inputing character string situation by mistake, it can will be in above situation The candidate word of screen is easily selected by a user as correct candidate word.
In order to realize that determining may be that the character string of mistake input and the candidate word that will likely want to input are supplied to User introduces a kind of fallibility dictionary in the embodiment of the present application, include in the fallibility dictionary character string for being easy to input by mistake and Corresponding relationship between correct candidate word.Wherein, between the easy character string inputed by mistake and correct candidate word in fallibility dictionary Corresponding relationship can be and input that situation is pre-set by mistake by common, be also possible to be obtained according to historical data.Wherein, it goes through History data, which can be, is formed by data by input method input text, and input method mentioned herein may include that the application is implemented Input method applied by example, can also include other input methods.According to different application scenarios or use demand, can choose not Data with region can be the data in a bit of time as the historical data, such as historical data, in nearest one week The data of acquisition, the data being also possible in the long period.
In the case where fallibility dictionary is established according to historical data, if fallibility dictionary is the individual for some user Situation and establish, then it includes that the individual of certain user inputs the case history data of character string situation by mistake that historical data, which can be, And fallibility dictionary is by being established according to the case history data of the user;If fallibility dictionary is for multiple or a large amount of User's generally inputs character string situation by mistake and establishes, then it includes multiple or a large number of users inputing word by mistake that historical data, which can be, The big data of symbol string situation, and fallibility dictionary is established by the big data.Wherein, which, which can be, passes through receipts Collect what multiple or a large number of users was obtained using the data of input method, input method described herein may include the embodiment of the present application institute The input method of application can also include other input methods.
So in the embodiment of the present application, historical data may include certain user case history data and/or it is multiple its The historical data of his user.It should be noted that historical data can also be other than above-mentioned several possible data types Other different data types, do not do any restriction to the data type of historical data herein.
In addition, the correct candidate for having corresponding relationship with it can be had by being easy the character string inputed by mistake in fallibility dictionary Word can also have multiple correct candidate words for having corresponding relationship with it.For example, the phonetic that user takes for " numerous " is " xin1xin1 ", therefore, user frequently input " xin1xin1 ", and select to shield on candidate word " numerous ", in this case, Being easy the character string " xin1xin1 " inputed by mistake, only one has the correct candidate word " numerous " of corresponding relationship with it;User is due to preceding " xing1xing1 " regardless of being frequently incorrectly entered as " xin1xin1 ", therefore, user's input often occur by nasal sound afterwards Character string is " xin1xin1 ", and selects to shield on candidate word " star ", " orangutan " and " Xing Xing ", in this case, is easy defeated There are three the correct candidate words " star ", " orangutan " and " Xing Xing " for having corresponding relationship with it for wrong character string " xin1xin1 ".
The corresponding relationship being easy between the character string inputed by mistake and correct candidate word in order to facilitate understanding is held below with one Illustrate for the character string easily inputed by mistake, wherein the character string for being easy to input by mistake, which only has one, has the correct of corresponding relationship with it Candidate word.As shown in Fig. 2, user is in input frame 201, the character string 202 of input is " ying4jie4 ", input method according to The character string 202 of family input preferentially shows corresponding candidate word, five times shown in first page candidate word displayed page 203 Word is selected to be respectively as follows: " 1. hard 2. 3. shadow elder sisters 4. of scleroma of solution meet 5. English elder sisters ", and user repeatedly turns over candidate word displayed page just backward It can see candidate word " graduating ", and select to shield on candidate word " graduating ".Since " graduating " corresponding correct characters string is " ying1jie4 " rather than " ying4jie4 ", therefore, the character string for user's input are " ying4jie4 ", and on selecting The candidate word of screen is the case where user actually wants to " graduating " corresponding to " ying1jie4 " of input, can be incited somebody to action " ying4jie4 " is saved in fallibility dictionary as corresponding correct candidate word as the character string for being easy to input by mistake, " graduating " In.
It should be noted that some, which input the personal habits that the case where character string may be some user by mistake, inputs character by mistake Go here and there situation, for example character string " ing " is incorrectly entered as " ign " by some user habit, and the case where some input character by mistake very May be that most users are existing inputs character string situation by mistake, for example, by " graduating " correct corresponding character string " ying1jie4 " is inputed by mistake as " ying4jie4 ".It therefore, can be more in order to fully demonstrate the personal habits of each user It is corrected with the character string for pointedly helping each user that may input oneself by mistake, fallibility dictionary can be for individual Situation and establish, it can the fallibility dictionary for being directed to the single user is established by the history input data of single user.When So, the higher character string of probability is inputed by mistake in order to help user to understand more fully hereinafter, fallibility dictionary is also possible to for more A or a large number of users common situation and establish, it can established by multiple or a large number of users history input data general Fallibility dictionary, the embodiment of the present application do not limit this.
By the corresponding relationship in fallibility dictionary, user can be helped to carry out error correction to the character string that may be inputed by mistake, sentenced When disconnected user may input character string by mistake, the candidate word that user may actually want to input is shown to input character string by mistake corresponding Candidate word display location.
Next, illustrating how the embodiment of the present application carries out the displaying of candidate word using fallibility dictionary in conjunction with Fig. 3.
As shown in figure 3, being a kind of method flow diagram of candidate word methods of exhibiting provided by the embodiments of the present application, this method packet It includes:
S301: the first character string of user's input is obtained.
First character string can be the character string that user is inputted by input method, to wish by being directed to the character Selection needs the Chinese character inputted into electronic equipment in the candidate word that string is shown.Not according to the mode of input method or input rule Together, it in the first character string may include character for identifying syllable tone, can not also include for identifying syllable tone Character.
When user wants to input the first character string in electronic equipment, by using physical keyboard or void can be carried The input units such as the mobile device of quasi- keyboard, the character string which wants input is input in electronic equipment.
S302: judging whether some or all of described first character string is in fallibility dictionary, the fallibility dictionary packet The corresponding relationship of the second character string Yu correct candidate word is included, the correct candidate word is is shown candidate from second character string Shield in selection in word but candidate word not exclusively corresponding with second character string.
At least exist in the embodiment of the present application, in fallibility dictionary one be easy the character string inputed by mistake and correct candidate word it Between corresponding relationship one of them character string for being easy to input by mistake is known as the second character string, it is desirable to by sentencing for ease of description With the presence or absence of the second word in alphabet or a certain partial character and fallibility dictionary in first character string of disconnected user's input Symbol string be it is identical, to obtain whether partial character or the alphabet of first character string are in judgement knot in fallibility dictionary Fruit.That is, judging some or all of first character string whether in fallibility dictionary, it can be understood as, judge user It is with the presence or absence of the second character string in alphabet or a certain partial character and fallibility dictionary in first character string of input It is identical.
Wherein, the second character string is as the first character string, according to the mode of input method or the difference of input rule, second It equally may include the character for identifying syllable tone in character string, can not also include the word for identifying syllable tone Symbol.
It is emphasized that the second character string can be identical as a certain partial character of the first character string, or with first The alphabet of character string is identical, naturally it is also possible to from the first character string be all it is different.
For example, when the first character string of user's input is " wo3shi4ying4jie4xue2sheng2 ", and fallibility dictionary It is middle there are one second character string be " ying4jie4 ", due to second character string only and a part of word in first character string Symbol string " ying4jie4 " is identical, and is respectively " wo3shi4 ", " xue2sheng2 " with other of first character string Partial character string is not identical, it may be considered that the second character string is the partial character " ying4jie4 " of first character string, i.e., It is considered that the partial character of first character string is in fallibility dictionary.
Alternatively, working as the first character string that user inputs for " ying4jie4 ", there are one second character strings in fallibility dictionary is " ying4jie4 " then can be with since the alphabet of first character string is identical with the alphabet of second character string Second character string is the whole of first character string, it can thinks that the alphabet of first character string is in fallibility dictionary In.Equally by taking Fig. 2 as an example, specifically, when in historical data there are user input the first character string 202 be " ying4jie4 ", The character string 202 that input method is inputted according to user preferentially shows corresponding candidate word, which shows in first page candidate word Displaying result in the page 203 are as follows: " 1. hard 2. 3. shadow elder sisters 4. of scleroma of solution meet 5. English elder sisters ", and user repeatedly turns over candidate word backward Displayed page can just see candidate word " graduating ", and select to shield on candidate word " graduating ";Due to " graduating " corresponding correct characters String is " ying1jie4 " rather than " ying4jie4 ", it may be considered that the character string that user actually wants to input is " ying1jie4 ", and simultaneously " ying4jie4 " of non-input, it is clear that " ying4jie4 " is the character string of user's input error.Cause This, the situation that user can be selected the candidate word " graduating " shielded not exclusively corresponding with the character string " ying4jie4 " of input, Character string situation is inputed by mistake as in historical data.That is, it is believed that " ying4jie4 " is the second character string, candidate " graduating " word is correct candidate word.Character is inputed by mistake when the second character string " ying4jie4 " and correct candidate word " graduating " is appeared in Number in string situation meets preset condition, just can be by the second character string " ying4jie4 " and correct candidate word " graduating " Corresponding relationship be saved in fallibility dictionary.
If user only occurs inputing character string situation by mistake once in a while, just by the second character string corresponding in the situation and just In true candidate word deposit fallibility dictionary, when user inputs the character string again, due to there is the correct candidate of corresponding relationship with it Word can show that in preferential display location, therefore, user, which needs repeatedly to turn over candidate word displayed page backward just, can see that oneself is practical Desired candidate word, so that being unfavorable for user is quickly found out oneself desired candidate word.
In order to avoid the generation of above situation, optionally, the second character string is appeared in correct candidate word in fallibility dictionary The number in character string situation is inputed by mistake to need to meet preset condition.With wish to cover in fallibility dictionary it is this occur once in a while it is defeated The case where error character string, brings interference to user to avoid when using fallibility dictionary.The preset condition can be time of appearance Number etc..
S303: if it is determined that second character string is some or all of described first character string, by the correct candidate Word is shown in the preferential display location that second character string corresponds to candidate word.
In the embodiment of the present application, preferential display location can be the displaying position for the candidate word that user can preferentially see It sets, specifically, can be the first page of candidate word displayed page, for example, the page where five in Fig. 2 candidate word is candidate Word displayed page;Correct candidate word can be shown into first position in the candidate word displayed page, for example, in Fig. 2 The display location or the other positions in the page of candidate word " hard solution ".Certainly, preferential display location in addition to it is above-mentioned it is several can Other than the display location of energy, it can also be other different display locations according to specific requirements, no longer be repeated one by one herein.
S303 in order to facilitate understanding, equally by taking Fig. 2 as an example, the first character string 202 of user's input is " ying4jie4 ", The character string 202 that input method is inputted according to user preferentially shows corresponding candidate word, which shows in first page candidate word Displaying result in the page 203 are as follows: " 1. hard 2. 3. shadow elder sisters 4. of scleroma of solution meet 5. graduating ";Since there are second in fallibility dictionary Character string " ying4jie4 ", and the alphabet of second character string and first character string be it is the same, therefore, can be with Determine that second character string is the alphabet of first character string.In addition, due in fallibility dictionary with second character string It is " graduating " that " ying4jie4 ", which has the correct candidate word of corresponding relationship, therefore, when input method is right in showing the first character string When answering the candidate word of " ying4jie4 ", " graduating " it can will show in the preferential display location of " ying4jie4 " candidate word, Such as candidate word shows first of page first page, displaying page first page adjusted referring to fig. 4, preferential displaying position adjusted The displaying result 403 set is " 1. graduating 2. hard 3. 4. shadow elder sisters 5. of scleroma of solution meet ".
After it determined the second character string and be some or all of first character string, can according to the second character string with just The corresponding relationship of true candidate word obtains correct candidate word, and the correct candidate word is shown in the corresponding candidate of second character string In the preferential display location of word.It should be noted that when the second character string is the whole of the first character string, the first character string pair The display location of candidate word is answered to can be the display location that the second character string corresponds to candidate word, when the second character string is the first character When the part of string, two kinds of situation explanations can be divided into.
The first situation: when the second character string is a part that the first character string most starts input, in the first character string It can be the display location that the second character string corresponds to candidate word for the display location of candidate word corresponding to this part.For example, Referring to Fig. 5, in fallibility dictionary, the second character string " ying4jie4 " has one to have the correct candidate word of corresponding relationship " to answer with it ", user is " ying4jie4sheng1 " in the first character string 502 that input frame 501 inputs, due to the second character string " ying4jie4 " is a part that the first character string 502 " ying4jie4sheng1 " most starts input, then the first character string 502 In for the display location of candidate word corresponding to " ying4jie4 " this part, to be that the second character string " ying4jie4 " is corresponding waited The display location of word is selected, therefore, the displaying result in first page candidate word displayed page 503 are as follows: " the 1. graduating solution lifes firmly of life 2. 3. raw 4. shadow elder sisters raw 5. of hardening meet life ".
Second situation: when the second character string is the non-a part for most starting input of the first character string for instance in the first word When according with centre or the ending of string, when user is operated by selection candidate word etc. so that starting to show the second character in the first character string Go here and there this part candidate word when, the position that these candidate words are shown can be the displaying position that the second character string corresponds to candidate word It sets.For example, with reference to Fig. 6, in fallibility dictionary, the second character string " ying4jie4 " has one to have the correct of corresponding relationship with it Candidate word " graduating ", the first character string that user inputs in input frame 601 are " wo3shi4ying4jie4sheng1 ", due to the Two character strings " ying4jie4 " are in the middle section of the first character string 602 " wo3shi4ying4jie4sheng1 ", then and first Display location in character string 602 for candidate word corresponding to " ying4jie4 " this part is the second character string Therefore the display location of " ying4jie4 " corresponding candidate word has selected candidate word according to character string " wo3shi4 " in the user After " I is ", the character string 602 in input frame 601 is " I is ying4jie4sheng1 ", also, in first page candidate Displaying result in word displayed page 603 are as follows: " the 1. graduating lifes 2. raw 4. shadow elder sisters raw 5. of raw 3. scleroma of solution firmly meet life ".
It should be noted that if determining that the second character string and the first character string are entirely different, it is believed that user's input First character string is exactly the character string that user actually wants to input, then does not execute S303.
Obviously, in the embodiment of the present application, it whether there is what the second character string inputted for user in fallibility dictionary by judging First character string it is some or all of, if so, the correct candidate word that will there is corresponding relationship with second character string, the Two character strings correspond in the preferential display location of candidate word, to be possible to the case where strictly inputing character string by mistake in the user Under, correct candidate word can be shown in the preferential display location that the second character string corresponds to candidate word, so that user can be excellent First see the correct candidate word, the input experience of user is improved in the case where user inputs character string by mistake really.
When fallibility dictionary is generally to input character string by mistake for multiple or a large number of users and establish, fallibility dictionary major embodiment Be most of user all be easy input error character string the case where, that is to say, that, it is possible to can have most users and all can Input same character string by mistake, and the case where individual user will not then input the character string by mistake.But due to fallibility dictionary be for multiple or A large number of users is generally inputed character string by mistake and is established, and therefore, for single user, this user is according to itself input habit Be easy the character string inputed by mistake may in fallibility dictionary to input character string by mistake not identical.That is, fallibility dictionary for , may be not personalized enough for individual subscriber, not enough more targetedly.
So to enable the corresponding relationship being easy in fallibility dictionary between the character string inputed by mistake and correct candidate word Meet the personal input habit of some user, optionally, in the embodiment of the present application, when going through including the user in historical data It, can also be according to inputing character string situation by mistake and update fallibility dictionary in the historical data of the user when history data.
The individual contained in updated fallibility dictionary for a certain user inputs character string situation by mistake.In this way, working as the use Family is since itself input habit has inputed a character string by mistake, can basis and when the character string will not usually be inputed by mistake by other users Updated fallibility dictionary is that the user shows correct candidate word, so as to more targetedly help the user to possible defeated Wrong character string carries out error correction.
Further, in order to it is more personalized, more have pointedly for user show candidate word, optionally, In the embodiment of the present application, before S303, can with the following steps are included:
The corresponding input behavior data of the user are inquired according to second character string.
If including being selected from the shown candidate word of the second character string in the corresponding input behavior data of the user The input behavior data shielded in candidate word, according to from the candidate word shielded in the shown candidate word of the second character string in selection Temperature adjusts second character string and corresponds to the candidate word shown in the preferential display location of candidate word.
Same character string can be all inputed by mistake due to that there may be most users, and individual user will not then input the character by mistake The case where string.Therefore, in order to more embody the personal input habit of user, input is further introduced into the embodiment of the present application Behavioral data, when input behavior data may include that user inputs character string situation by mistake, the character string and correct candidate word inputed by mistake Between corresponding relationship, also may include when user inputs correct characters string, the character string that is inputted and selected user select Corresponding relationship between the candidate word of upper screen, each input behavior data correspond to a corresponding candidate word.One user Input behavior data be to be generated by the history input behavior of this user, therefore different users can have different inputs Behavioral data, when carrying out the adjustment of candidate word for user, based on input behavior data can be this user The input behavior data having.The candidate word pair shown in the preferential display location of candidate word is corresponded to the second character string of hope For individual subscriber, meet the personal input habit of user, more there is personalized and specific aim.
One user may have second character string feelings of at least two different corresponding input behavior data Condition, for example, user due to front and back nasal sound regardless of, frequently " xing1xing1 " is incorrectly entered as " xin1xin1 ", therefore, The character string for user's input often occur is " xin1xin1 ", and repeatedly selection candidate word " star ", " orangutan " and " emerging respectively It is emerging " on shield, in this case, there are three have the correct candidate word " star of corresponding relationship with it for the second character string " xin1xin1 " Star ", " orangutan " and " Xing Xing ", i.e. the second character string have three different corresponding input behavior data.In such a case, it is possible to According to the temperature of the upper screen of these corresponding candidate words of the second character string, the preferential of candidate word is corresponded to adjust second character string The sequence of the candidate word shown in display location.
Wherein, the temperature of the upper screen of candidate word can be obtains according to the input behavior data statistics of individual subscriber, can also To be the temperature for obtaining the upper screen of candidate word by method for distinguishing, any restriction is not done herein.
In order to make it easy to understand, for example bright the embodiment of the present application:
In order to play preferable comparative effectiveness, the feelings in the input behavior data for not considering individual subscriber clear first Under condition, when user inputs character string by mistake, the adjustment of candidate word how is carried out according to fallibility dictionary.
After a user inputs the first character string " xin1xin1 ", the part or complete of the first character string " xin1xin1 " is judged Whether portion is in fallibility dictionary.
If before showing correct candidate word in the preferential display location that first character string corresponds to candidate word, no Including inquiring the corresponding input behavior data of the user according to second character string, then when there are one in judgement fallibility dictionary It, then will be with the second character string after second character string " xin1xin1 " and the first character string " xin1xin1 " are all identical " xin1xin1 " has the correct candidate word of corresponding relationship is " numerous " to show in the second character string " xin1xin1 " corresponding candidate word Preferential display location in, the displaying result of first page candidate word displayed page can as shown in Figure 7a as, first page is waited Select the displaying result in word displayed page 701 are as follows: " 1. numerous 2. joyful 3. heart hearts 4. prosperous 5. are fragrant ".
And when with reference to the input behavior data of this user, there may be different candidate words to adjust situation:
The first situation, the input behavior data of this user include the character inputed by mistake when inputing character string situation by mistake The corresponding relationship gone here and there between correct candidate word, " xing1xing1 " mistakenly inputted be for example including this user Corresponding pass when the case where " xin1xin1 ", between the second character string " xin1xin1 " inputed by mistake and correct candidate word " star " System.And in fallibility dictionary, includes the corresponding relationship of the second character string " xin1xin1 " Yu correct candidate word " numerous ", then need Will according in input behavior data from the candidate word " star that shields in selection in the second character string " xin1xin1 " shown candidate word The temperature of star " corresponds to the candidate word shown in the preferential display location of candidate word to adjust the second character string " xin1xin1 ". Specifically, if the temperature of candidate word " star " is higher, the display location of candidate word " star " can be adjusted forward, specifically The application how is adjusted forward not limit, such as may be adjusted in some display location of preferential displayed page, optionally, Final adjustment result can be as shown in Figure 7b, in first page candidate word displayed page 702, by the displaying of candidate word " star " Position is placed on before candidate word " numerous ", i.e. displaying result in first page candidate word displayed page 702 are as follows: " 1. star, 2. shen Joyful 4. heart heart 5. of shen 3. is prosperous ".
Second situation, when the input behavior data of this user include user's input correct characters string, it is inputted Character string and selected user's selection on corresponding relationship between the candidate word shielded, be properly entered character string for example including user When for the case where " xin1xin1 ", the character string " xin1xin1 " that is inputted be easily selected by a user screen candidate word " heart heart " it Between corresponding relationship.Then need basis from the candidate word shielded in selection in the second character string " xin1xin1 " shown candidate word The temperature of " heart heart " corresponds to the candidate word shown in the preferential display location of candidate word to adjust the second character string.Specifically, If the temperature of candidate word " heart heart " is higher, the display location of candidate word " heart heart " can be adjusted forward, specifically how to Preceding adjustment the application does not limit, such as may be adjusted in some display location of preferential displayed page, optionally, final Adjusting result can be as shown in Figure 7 c, and in first page candidate word displayed page 703, the display location of candidate word " heart heart " is put Displaying result one behind candidate word " numerous ", i.e., in first page candidate word displayed page 703 are as follows: " 1. numerous 2. hearts The heart 3. joyful 4. prosperous 5. is fragrant ".
The third situation, the input behavior data of this user had both included the character inputed by mistake when inputing character string situation by mistake The corresponding relationship gone here and there between correct candidate word also includes when user inputs correct characters string, the character string inputted with The corresponding relationship between candidate word shielded in selected user's selection.For example including this user mistakenly by " xing1xing1 " When the case where input is " xin1xin1 ", between the second character string " xin1xin1 " inputed by mistake and correct candidate word " star " When corresponding relationship and user are properly entered the case where character string is " xin1xin1 ", the character string that is inputted Corresponding relationship between " xin1xin1 " and the candidate word " heart heart " for being easily selected by a user screen.It in this case, can be according to defeated Enter in behavioral data from the candidate word " star " and " heart shielded in selection in the second character string " xin1xin1 " shown candidate word The temperature of the heart " corresponds to the candidate word shown in the preferential display location of candidate word to adjust the second character string.Under normal circumstances Before the display location of the higher candidate word of temperature being placed on the lower candidate word of temperature, which is not described herein again.
As it can be seen that in the embodiment of the present application, according to from the candidate word shielded in selection in the shown candidate word of the second character string Temperature, the second character string of adjustment corresponds to the candidate word shown in the preferential display location of candidate word, to want to basis Individual subscriber input habit will be shown by the highest candidate word of temperature shielded in selection corresponds to the excellent of candidate word in the second character string In first display location, shield the highest candidate word of temperature in selection so that user can preferentially see, meets the personal input of user Habit, so that user can be quickly found out oneself desired candidate word.
Referring to Fig. 8, for a kind of composition schematic diagram of candidate word displaying device provided by the embodiments of the present application, described device packet Include acquiring unit 801, judging unit 802 and display unit 803:
The acquiring unit 801, for obtaining the first character string of user's input;
The judging unit 802, for judging whether some or all of described first character string is in fallibility dictionary, The fallibility dictionary includes the corresponding relationship of the second character string Yu correct candidate word, and the correct candidate word is from second word Shield in selection in the shown candidate word of symbol string but candidate word not exclusively corresponding with second character string;If it is determined that institute Stating the second character string is some or all of described first character string, then executes the display unit 803;
The display unit 803 corresponds to candidate word in second character string for showing the correct candidate word In preferential display location.
It include the character for identifying syllable tone in a kind of embodiment of the application, in first character string.
In a kind of embodiment of the application, the fallibility dictionary is according to inputing character string situation institute in historical data by mistake It establishes, it is described to input character string situation by mistake and select the candidate word shielded incomplete for defeated character string by according to defeated character string The case where corresponding candidate word.
In a kind of embodiment of the application, the second character string and correct candidate word appear in institute in the fallibility dictionary It states the number inputed by mistake in character string situation and meets preset condition.
In a kind of embodiment of the application, the historical data includes the historical data of the user and/or multiple The historical data of other users;
When in the historical data including the historical data of the user, described device further includes updating unit:
The updating unit updates the fallibility dictionary for inputing character string situation by mistake according to the user.
It include the character for identifying syllable tone in a kind of embodiment of the application, in second character string.
In a kind of embodiment of the application, described device further includes query unit and adjustment unit:
The query unit, for inquiring the corresponding input behavior data of the user according to second character string,
The adjustment unit, if for including from the second character string institute in the corresponding input behavior data of the user It shows the input behavior data for selecting to shield in candidate word in candidate word, is selected according to from the shown candidate word of the second character string It selects the temperature of the candidate word of screen, adjusts second character string and correspond to the candidate shown in the preferential display location of candidate word Word.
Candidate word provided by the embodiment of the present application shows device, can be with when obtaining the first character string of user's input Before the candidate word for showing corresponding first character string, judge some or all of the character undetermined whether in fallibility dictionary In, in the fallibility dictionary include the character string for being easy to input by mistake and is easy the time of the character string inputed by mistake institute actual selection according to these The corresponding relationship between word is selected, therefore if it find that the second character string in fallibility dictionary is some or all of first character string When, it can be confirmed that some or all of first character string belongs to the character string for being easy to input by mistake, then the second of user input The character string that character string probably actually wants to input with the user is not consistent, which actually wants to the character string of input Corresponding candidate word is likely to be correct candidate word, i.e., candidate word corresponding with the second character string in fallibility dictionary, therefore at this User is possible in the case where strictly inputing character string by mistake, correct candidate word can be shown and correspond to candidate word in the second character string Preferential display location in, so that user can preferentially see the correct candidate word, the case where user inputs character string by mistake really Under improve user input experience.
Present invention also provides a kind of candidate words to show device, and described device includes memory and one or one A above program, perhaps more than one program is stored in memory and is configured to by one or one for one of them It includes the instruction for performing the following operation that the above processor, which executes the one or more programs:
Obtain the first character string of user's input;
Some or all of described first character string is judged whether in fallibility dictionary, and the fallibility dictionary includes second The corresponding relationship of character string and correct candidate word, the correct candidate word are selected to be shown in candidate word from second character string Select screen, but candidate word not exclusively corresponding with second character string;
If it is determined that second character string is some or all of described first character string, the correct candidate word is shown In the preferential display location that second character string corresponds to candidate word.
It include the character for identifying syllable tone in a kind of embodiment of the application, in first character string.
In a kind of embodiment of the application, the fallibility dictionary is according to inputing character string situation institute in historical data by mistake It establishes, it is described to input character string situation by mistake and select the candidate word shielded incomplete for defeated character string by according to defeated character string The case where corresponding candidate word.
In a kind of embodiment of the application, the second character string and correct candidate word appear in institute in the fallibility dictionary It states the number inputed by mistake in character string situation and meets preset condition.
In a kind of embodiment of the application, the historical data includes the historical data of the user and/or multiple The historical data of other users;
When in the historical data including the historical data of the user, the method also includes:
It inputs character string situation by mistake according to the user and updates the fallibility dictionary.
It include the character for identifying syllable tone in a kind of embodiment of the application, in second character string.
In a kind of embodiment of the application, the correct candidate word is shown in first character string pair described Before answering in the preferential display location of candidate word, further includes:
The corresponding input behavior data of the user are inquired according to second character string,
If including being selected from the shown candidate word of the second character string in the corresponding input behavior data of the user The input behavior data shielded in candidate word, according to from the candidate word shielded in the shown candidate word of the second character string in selection Temperature adjusts second character string and corresponds to the candidate word shown in the preferential display location of candidate word.
Fig. 9 is that a kind of candidate word shown according to an exemplary embodiment shows block diagram of the device 900 as terminal when.Example Such as, device 900 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, and plate is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 9, device 900 may include following one or more components: processing component 902, memory 904, power supply Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, and Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 902 may include that one or more processors 920 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown Example includes the instruction of any application or method for operating on device 900, contact data, and telephone book data disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 may include power management system System, one or more power supplys and other with for device 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding motion The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 908 includes a front camera and/or rear camera.When equipment 900 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when device 900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set Part 916 is sent.In some embodiments, audio component 910 further includes a loudspeaker, is used for output audio signal.
I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor module 914 can detecte the state that opens/closes of equipment 900, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact The presence of neighbouring article.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of device 900 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Figure 10 is the structural schematic diagram of server in some embodiments of the present application.The server 1000 can be because of configuration or property Energy is different and generates bigger difference, may include one or more central processing units (central processing Units, CPU) 1022 (for example, one or more processors) and memory 1032, one or more storage applications The storage medium 1030 (such as one or more mass memory units) of program 1042 or data 1044.Wherein, memory 1032 and storage medium 1030 can be of short duration storage or persistent storage.The program for being stored in storage medium 1030 may include one A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into One step, central processing unit 1022 can be set to communicate with storage medium 1030, execute storage medium on server 1000 Series of instructions operation in 1030.
Server 1000 can also include one or more power supplys 1026, one or more wired or wireless nets Network interface 1050, one or more input/output interfaces 1058, one or more keyboards 1056, and/or, one or More than one operating system 1041, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium by device (terminal or Server) processor execute when, enable a device to the method for building up for executing a kind of error correction dictionary, which comprises
Obtain the first character string of user's input;
Some or all of described first character string is judged whether in fallibility dictionary, and the fallibility dictionary includes second The corresponding relationship of character string and correct candidate word, the correct candidate word are selected to be shown in candidate word from second character string Select screen, but candidate word not exclusively corresponding with second character string;
If it is determined that second character string is some or all of described first character string, the correct candidate word is shown In the preferential display location that second character string corresponds to candidate word.
Those skilled in the art will readily occur to its of the application after considering specification and practicing application disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Device is shown to a kind of candidate word provided herein above, is described in detail, tool used herein The principle and implementation of this application are described for body example, the above embodiments are only used to help understand this Shen Method and its core concept please;At the same time, for those skilled in the art, according to the thought of the application, specific real Apply in mode and application range that there will be changes, in conclusion the content of the present specification should not be construed as the limit to the application System.

Claims (10)

1. a kind of candidate word methods of exhibiting, which is characterized in that the described method includes:
Obtain the first character string of user's input;
Some or all of described first character string is judged whether in fallibility dictionary, and the fallibility dictionary includes the second character The corresponding relationship of string and correct candidate word, the correct candidate word is is shown in candidate word in selection from second character string Shield but candidate word not exclusively corresponding with second character string;
If it is determined that second character string is some or all of described first character string, the correct candidate word is shown in institute The second character string is stated to correspond in the preferential display location of candidate word.
2. the method according to claim 1, wherein including for identifying syllable tone in first character string Character.
3. the method according to claim 1, wherein the fallibility dictionary is according to inputing character in historical data by mistake String situation is established, it is described input by mistake character string situation by according to defeated character string select the candidate word shielded for defeated character Go here and there not exclusively corresponding candidate word the case where.
4. according to the method described in claim 3, it is characterized in that, the second character string and correct candidate word in the fallibility dictionary It appears in the number inputed by mistake in character string situation and meets preset condition.
5. according to the method described in claim 3, it is characterized in that, the historical data includes the historical data of the user And/or the historical data of multiple other users;
When in the historical data including the historical data of the user, the method also includes:
It inputs character string situation by mistake according to the user and updates the fallibility dictionary.
6. according to the method described in claim 3, it is characterized in that, including for identifying syllable tone in second character string Character.
7. according to claim 1 to method described in 6 any one, which is characterized in that described by the correct candidate word exhibition Before showing in the preferential display location that first character string corresponds to candidate word, further includes:
The corresponding input behavior data of the user are inquired according to second character string,
If include in the corresponding input behavior data of the user selected from the shown candidate word of the second character string it is candidate The input behavior data shielded on word, according to the heat from the candidate word shielded in selection in the shown candidate word of the second character string Degree adjusts second character string and corresponds to the candidate word shown in the preferential display location of candidate word.
8. a kind of candidate word shows device, which is characterized in that described device includes acquiring unit, judging unit and display unit:
The acquiring unit, for obtaining the first character string of user's input;
The judging unit, it is described easy for judging whether some or all of described first character string is in fallibility dictionary Wrong dictionary includes the corresponding relationship of the second character string Yu correct candidate word, and the correct candidate word is from the second character string institute Show shield in selection in candidate word but candidate word not exclusively corresponding with second character string;If it is determined that described second Character string is some or all of described first character string, then executes the display unit;
The display unit corresponds to the preferential displaying of candidate word in second character string for showing the correct candidate word In position.
9. a kind of candidate word shows device, which is characterized in that it include memory and one or more than one program, Perhaps more than one program is stored in memory and is configured to be executed by one or more than one processor for one of them The one or more programs include the instruction for performing the following operation:
Obtain the first character string of user's input;
Some or all of described first character string is judged whether in fallibility dictionary, and the fallibility dictionary includes the second character The corresponding relationship of string and correct candidate word, the correct candidate word is is shown in candidate word in selection from second character string Shield but candidate word not exclusively corresponding with second character string;
If it is determined that second character string is some or all of described first character string, the correct candidate word is shown in institute The second character string is stated to correspond in the preferential display location of candidate word.
10. a kind of machine readable media is stored thereon with instruction, when executed by one or more processors, so that device is held A kind of candidate word methods of exhibiting of the row as described in one or more in claim 1 to 7.
CN201710624373.XA 2017-07-27 2017-07-27 Candidate word display method and device Active CN109308126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710624373.XA CN109308126B (en) 2017-07-27 2017-07-27 Candidate word display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710624373.XA CN109308126B (en) 2017-07-27 2017-07-27 Candidate word display method and device

Publications (2)

Publication Number Publication Date
CN109308126A true CN109308126A (en) 2019-02-05
CN109308126B CN109308126B (en) 2022-09-13

Family

ID=65201699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710624373.XA Active CN109308126B (en) 2017-07-27 2017-07-27 Candidate word display method and device

Country Status (1)

Country Link
CN (1) CN109308126B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732098A (en) * 2019-10-12 2021-04-30 北京搜狗科技发展有限公司 Input method and related device
CN112947749A (en) * 2021-02-04 2021-06-11 鲨鱼快游网络技术(北京)有限公司 Word card display method based on human-computer interaction

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587819B1 (en) * 1999-04-15 2003-07-01 Matsushita Electric Industrial Co., Ltd. Chinese character conversion apparatus using syntax information
CN101359254A (en) * 2007-08-03 2009-02-04 北京搜狗科技发展有限公司 Character input method and system for enhancing input efficiency of name entry
CN101630310A (en) * 2009-08-13 2010-01-20 广东国笔科技股份有限公司 Word processing system with fault tolerance function and method
CN101639830A (en) * 2009-09-08 2010-02-03 西安交通大学 Chinese term automatic correction method in input process
CN101710262A (en) * 2009-12-11 2010-05-19 北京搜狗科技发展有限公司 Error correction method and error correction device of characters
CN102402298A (en) * 2010-09-16 2012-04-04 腾讯科技(深圳)有限公司 Pinyin input method and user word adding method and system of same
JP2012203822A (en) * 2011-03-28 2012-10-22 Kddi Corp Chinese input device
US20130191110A1 (en) * 2012-01-20 2013-07-25 International Business Machines Corporation Method for character correction
CN103280136A (en) * 2013-03-01 2013-09-04 王湘民 Method for simplifying Chinese and foreign language information input and judging correct input
CN103383699A (en) * 2013-06-28 2013-11-06 安徽科大讯飞信息科技股份有限公司 Character string retrieval method and system
CN103713845A (en) * 2013-12-16 2014-04-09 北京搜狗科技发展有限公司 Method for screening candidate items and device thereof, text input method and input method system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587819B1 (en) * 1999-04-15 2003-07-01 Matsushita Electric Industrial Co., Ltd. Chinese character conversion apparatus using syntax information
CN101359254A (en) * 2007-08-03 2009-02-04 北京搜狗科技发展有限公司 Character input method and system for enhancing input efficiency of name entry
CN101630310A (en) * 2009-08-13 2010-01-20 广东国笔科技股份有限公司 Word processing system with fault tolerance function and method
CN101639830A (en) * 2009-09-08 2010-02-03 西安交通大学 Chinese term automatic correction method in input process
CN101710262A (en) * 2009-12-11 2010-05-19 北京搜狗科技发展有限公司 Error correction method and error correction device of characters
CN102402298A (en) * 2010-09-16 2012-04-04 腾讯科技(深圳)有限公司 Pinyin input method and user word adding method and system of same
JP2012203822A (en) * 2011-03-28 2012-10-22 Kddi Corp Chinese input device
US20130191110A1 (en) * 2012-01-20 2013-07-25 International Business Machines Corporation Method for character correction
CN103280136A (en) * 2013-03-01 2013-09-04 王湘民 Method for simplifying Chinese and foreign language information input and judging correct input
CN103383699A (en) * 2013-06-28 2013-11-06 安徽科大讯飞信息科技股份有限公司 Character string retrieval method and system
CN103713845A (en) * 2013-12-16 2014-04-09 北京搜狗科技发展有限公司 Method for screening candidate items and device thereof, text input method and input method system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴岩等: "中文自动校对系统的研究与实现", 《哈尔滨工业大学学报》 *
魏雅芳: "基于Android平台的智能拼音输入法的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732098A (en) * 2019-10-12 2021-04-30 北京搜狗科技发展有限公司 Input method and related device
CN112947749A (en) * 2021-02-04 2021-06-11 鲨鱼快游网络技术(北京)有限公司 Word card display method based on human-computer interaction
CN112947749B (en) * 2021-02-04 2024-03-01 鲨鱼快游网络技术(北京)有限公司 Word card display method based on man-machine interaction

Also Published As

Publication number Publication date
CN109308126B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
US8428654B2 (en) Mobile terminal and method for displaying menu thereof
US8244284B2 (en) Mobile communication device and the operating method thereof
US20170371513A1 (en) Method and apparatus for text selection
WO2016206292A1 (en) Text input method and device
EP2577443A1 (en) Genius button secondary commands
CN107291260B (en) Information input method and device for inputting information
CN104216973B (en) A kind of method and device of data search
CN110349578A (en) Equipment wakes up processing method and processing device
CN111414772B (en) Machine translation method, device and medium
CN108304078B (en) Input method and device and electronic equipment
CN109308126A (en) A kind of candidate word methods of exhibiting and device
CN111639209B (en) Book content searching method, terminal equipment and storage medium
CN107179835A (en) A kind of input method and device, a kind of device for being used to input
CN108073291B (en) Input method and device and input device
CN108536653A (en) A kind of input method, device and the device for input
CN112631435A (en) Input method, device, equipment and storage medium
CN110908523A (en) Input method and device
CN110389666A (en) A kind of input error correction method and device
CN109271037A (en) A kind of method for building up and device of error correction dictionary
CN113515618A (en) Voice processing method, apparatus and medium
CN109992121A (en) A kind of input method, device and the device for input
CN110858099A (en) Candidate word generation method and device
CN109426359A (en) A kind of input method, device and machine readable media
CN111124142B (en) Input method, device and device for inputting
CN108962218A (en) A kind of word pronunciation method and apparatus

Legal Events

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