CN106774981B - Usual input method determines that method, apparatus and input information determine method, apparatus - Google Patents
Usual input method determines that method, apparatus and input information determine method, apparatus Download PDFInfo
- Publication number
- CN106774981B CN106774981B CN201611221266.4A CN201611221266A CN106774981B CN 106774981 B CN106774981 B CN 106774981B CN 201611221266 A CN201611221266 A CN 201611221266A CN 106774981 B CN106774981 B CN 106774981B
- Authority
- CN
- China
- Prior art keywords
- input
- input method
- phrase
- user
- corrigendum
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
Abstract
This application discloses a kind of usual input methods to determine method, device and input information determine method, device, the application inputs corrigendum behavioral data according to each item of user, determine that there are the input methods of target code mapping relations, coding mapping relationship of the target code mapping relations by the input corrigendum behavioral data character combination that includes to phrase, and increase setting incremental value for the cumulative number for the input method determined, finally according to the cumulative number of each input method, determine the input method for meeting setting cumulative number condition, the input method usual as user, attention when correcting input behavior due to user can be concentrated more compared to normal state, a possibility that malfunctioning again very little, therefore the usual input method of the user determined based on the application is more in line with truth.
Description
Technical field
This application involves input method technique field, more specifically to a kind of usual input method determine method, apparatus and
Input information determines method, apparatus.
Background technique
Information retrieval refers to that user inputs the content for wanting retrieval in the Text Entry that system provides, and then according to defeated
Enter the process that content carries out information retrieval.In input content, user can directly input English alphabet or number this is not required to
Input method is wanted directly to pass through the content that keyboard can input.It is of course also possible to switch input method, Chinese is inputted by input method
Content.
For non-english native language country, such as China, if to input the native language content of oneself, generally require using input
Method.The essence of input method is to encode the words of this country by certain coding rule, is encoded into the combination of English alphabet.For
Chinese environment, common input method have phonetic, five, stroke etc..In input method, after having inputted English alphabetic combination, such as
Fruit user presses space bar, can by English alphabetic combination in input method dictionary it is corresponding Chinese words be input in input frame.Such as
Fruit user presses enter key, then is not cutting in the English alphabetic combination input target input frame of user's input convenient for user directly
In the case where changing input method, the switching of input in Chinese and English input is realized.
But after user has inputted English alphabetic combination of the target words under current input method, if accidentally pressing
Enter key can then be shown English alphabetic combination as input information in input frame, it is clear that simultaneously non-user is true for the input information
The real content for wanting input.If input method used by a user can be guessed, can be determined based on the input method with
The corresponding mapping phrase of English alphabetic combination, to obtain the true content to be inputted of user.Therefore, if conjecture user's is used
With input method, become those skilled in the art's urgent problem to be solved.
Summary of the invention
In view of this, this application provides a kind of usual input methods to determine that method, apparatus and input information determine method, dress
It sets, the usual input method of user is obtained with conjecture, and then correct to the information of user misoperation input.
To achieve the goals above, it is proposed that scheme it is as follows:
A kind of usual input method determines method, comprising:
Behavioral data set is corrected in the input for obtaining user, and the input corrigendum behavioral data set includes several inputs
Behavioral data is corrected, each input corrigendum behavioral data includes the character combination of input before correcting, and inputted after corrigendum
Phrase;
Behavioral data is corrected for each input, determines that there are the input methods of target code mapping relations, and to be somebody's turn to do
The cumulative number of input method increases setting incremental value;The target code mapping relations are wrapped by input corrigendum behavioral data
Coding mapping relationship of the character combination contained to phrase;
According to the cumulative number of each input method, the input method that cumulative number meets setting cumulative number condition is determined as using
The usual input method in family.
Preferably, behavioral data set is corrected in the input for obtaining user, comprising:
When detecting that user carries out corrigendum operation to the character combination of input, judge after corrigendum the information that inputs whether be
Phrase;
If so, judging whether there is in the coding mapping relationship of an input method, include the character combination to the phrase
Coding mapping relationship;
If so, using the phrase inputted after the character combination and corrigendum that are inputted before corrigendum as an input corrigendum behavior number
According to addition input corrigendum behavioral data set.
Preferably, the input corrigendum behavioral data set includes the input corrigendum behavioral data of the first quantity, and described the
One quantity is more than setting amount threshold;Cumulative number is met setting cumulative number by the cumulative number according to each input method
The input method of condition is determined as the usual input method of user, comprising:
Calculate the cumulative number of each input method and the ratio of first quantity;
The maximum input method of ratio is chosen, and judges whether the ratio of the input method is more than setting fractional threshold;
If so, the maximum input method of the ratio is determined as the usual input method of user.
A kind of input information determines method, determines method based on usual input method described above, which determines
Method includes:
Obtain the encoded information of user's input being made of character;
Judge whether the encoded information is effective English phrase;
If it is not, determining in the usual corresponding input method dictionary of input method of the user, corresponding to the encoded information
Map phrase;
The mapping phrase is determined as to input information.
Preferably, after determining the encoded information not and being effective English phrase, the determination user is usual
In the corresponding input method dictionary of input method, before mapping phrase corresponding to the encoded information, this method further include:
Search the input corrigendum behavioral data set, it is determined whether there are targets to input corrigendum behavioral data, the mesh
The character combination inputted before the corrigendum that mark input corrigendum behavioral data is included is identical as the encoded information;
If it is not, executing in the corresponding input method dictionary of the usual input method of the determination user, the encoded information
The operation of corresponding mapping phrase;
If so, the target, which is inputted the phrase inputted after the corrigendum that corrigendum behavioral data is included, is determined as input letter
Breath.
It is preferably, described to be determined as the mapping phrase to input information, comprising:
If the mapping phrase number is one, it is determined as only one mapping phrase to input information;
If the mapping phrase number is more than one, each mapping phrase is shown to user;
Response user chooses operation to target mapping phrase in each mapping phrase of displaying, by target mapping phrase
It is determined as inputting information.
Preferably, further includes:
The search operation for responding user, is scanned for the search key that enters information as.
A kind of usual input method determining device, comprising:
Gather acquiring unit, behavioral data set is corrected in the input for obtaining user, and behavioral data is corrected in the input
Set includes that behavioral data is corrected in several inputs, and each input corrigendum behavioral data includes the character group inputted before correcting
It closes, and the phrase inputted after corrigendum;
Input method accumulated unit determines that there are target code mappings for correcting behavioral data for each input
The input method of relationship, and increase setting incremental value for the cumulative number of the input method;The target code mapping relations are described
Coding mapping relationship of the character combination that input corrigendum behavioral data is included to phrase;
It is accumulative to be met setting for the cumulative number according to each input method by usual input method determination unit for cumulative number
The input method of times condition is determined as the usual input method of user.
Preferably, the input corrigendum behavioral data set includes the input corrigendum behavioral data of the first quantity, and described the
One quantity is more than setting amount threshold;The usual input method determination unit includes:
First usual input method determines subelement, for calculate each input method cumulative number and first quantity
Ratio;
Second usual input method determines subelement, for choosing the maximum input method of ratio, and judges the ratio of the input method
Whether value is more than setting fractional threshold;
The usual input method of third determines subelement, for determining the judging result of subelement in the described second usual input method
When to be, the maximum input method of the ratio is determined as the usual input method of user.
A kind of input information determining means, based on usual input method determining device described above, which is determined
Device includes:
Encoded information acquiring unit, for obtaining the encoded information of user's input being made of character;
Effectively English phrase judging unit, for judging whether the encoded information is effective English phrase;
Phrase query unit is mapped, for determining when the judging result of effective English phrase judging unit is no
In the corresponding input method dictionary of the usual input method of the user, mapping phrase corresponding to the encoded information;
Information determination unit is inputted, inputs information for the mapping phrase to be determined as.
Usual input method provided by the embodiments of the present application determines method, obtains the input corrigendum behavioral data set of user,
The input corrigendum behavioral data set includes several input corrigendum behavioral datas, and each input corrigendum behavioral data includes
The phrase inputted after the character combination inputted before corrigendum, and corrigendum;Behavioral data is corrected for each input, determination is deposited
Increase setting incremental value in the input method of target code mapping relations, and for the cumulative number of the input method;The target code
Coding mapping relationship of the mapping relations by the input corrigendum behavioral data character combination that includes to phrase;According to each input
The input method that cumulative number meets setting cumulative number condition is determined as the usual input method of user by the cumulative number of method.This
Application inputs corrigendum behavioral data according to each item of user, determines that there are the input methods of target code mapping relations, and be true
The cumulative number for the input method made increases setting incremental value, finally according to the cumulative number of each input method, determines that satisfaction is set
The input method for determining cumulative number condition, the input method usual as user correct attention phase when input behavior due to user
It can more be concentrated than normal state, very little a possibility that error, therefore the usual input of the user determined based on the application again
Method is more in line with truth.
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
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 determines method flow diagram for a kind of usual input method disclosed in the embodiment of the present application;
Fig. 2 determines the method stream of usual input method for a kind of cumulative number according to input method disclosed in the embodiment of the present application
Cheng Tu;
Fig. 3 determines method flow diagram for a kind of input information disclosed in the embodiment of the present application;
Fig. 4 is that the usual input method of another kind disclosed in the embodiment of the present application determines method flow diagram;
Fig. 5 is a kind of exemplary mapping phrase exhibition method schematic diagram of the application;
Fig. 6 is that another input information provided by the embodiments of the present application determines method flow diagram;
Fig. 7 is a kind of usual input method determining device structural schematic diagram disclosed in the embodiment of the present application;
Fig. 8 is a kind of input information determining means structural schematic diagram disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
The embodiment of the present application discloses a kind of input information and determines scheme, can according to the information of the user's input got,
It determines that user really wants the information of input, reduces the number that user re-enters, promote user experience.
Before introducing application scheme, the function in space in keyboard and enter key is simply introduced first.
1, the effect of space and enter key in input method
Generally, in input method, after having inputted English alphabetic combination, if user presses space bar, input method can be made
Corresponding Chinese words is input in target input frame;If user presses enter key, the English words for directly inputting user
Mother's combination is input in target input frame.The advantage of doing so is that user is not having to the explicit feelings for switching input method with can be convenient
Under condition, the switching of input in Chinese and English input is realized.
2, effect of the enter key in information retrieval
Partial information searching system (usually right side) can provide a button beside Text Entry.When user is defeated
When having entered the content for needing to retrieve, then having clicked button, retrieval needed for executing user can be started.
In order to improve the usage experience of user, after user has inputted information in Text Entry, then enter key is pressed, inspection
Cable system also starts retrieval needed for executing user.
3, the problem of enter key different role causes
Enter key default behavior different in input method and information retrieval system, one problem of bring is to work as user
Target words is inputted after the English alphabetic combination under current input method, then continuous by enter key twice, information can have been caused to examine
Cable system directly uses input method coding to carry out information retrieval.It is such as a result, being clearly not what user wanted.
In order to draw application scheme, two kinds of scenes are now provided:
The first:
User uses five-stroke input method, and when retrieval " film ", the 5-stroke coding information of user's input is " jnjy ",
If user misoperation clicks enter key, the information inputted is " jnjy ".User has found mistake and deletes " jnjy " of input
It removes, correctly enters " film " again.
Second:
User uses five-stroke input method, and when retrieval " film ", the 5-stroke coding information of user's input is " jnjy ",
If user misoperation clicks enter key twice in succession, at this moment, searching system can directly retrieve the relevant content of jnjy.
It is understood that if the usual input method of user, when there are above-mentioned two situations, energy can be guessed
When enough character codes for inputting phrase in user misoperation, the corresponding mapping word of the character code is guessed by usual input method
Group, and then corrected manually without user, it can be realized using user's content really to be inputted as search key, examined
Rope.
In order to solve the problems, such as above-mentioned example, this application provides a kind of usual input methods to determine method, referring to Fig. 1, the party
Method includes:
Step S100, behavioral data set is corrected in the input for obtaining user, and the input corrigendum behavioral data set includes
Behavioral data is corrected in several inputs, and each input corrigendum behavioral data includes the character combination inputted before correcting, Yi Jigeng
The phrase just inputted afterwards;
Specifically, during user actively corrects input error, the content formerly inputted can be deleted and is inputted again
Content after corrigendum.In this step, obtains user and input corrigendum behavioral data.
It is general, user go on a journey corrigendum input error feature include: it is adjacent input twice, for the first time input be word
Symbol combination, second of input is phrase.
Include sufficient amount of input corrigendum row in the input corrigendum behavioral data set of the user got in this step
For data, each input corrigendum behavioral data includes the character combination inputted before correcting, and the phrase inputted after correcting.
Step S110, behavioral data is corrected for each input, determines that there are the inputs of target code mapping relations
Method, and increase setting incremental value for the cumulative number of the input method;
Wherein, the target code mapping relations are by the input corrigendum behavioral data character combination that includes to phrase
Coding mapping relationship.
It is understood that user to the process corrected of input, is generally intended to input word group and maloperation inputs
Phrase corresponding character code.Therefore, for each input corrigendum behavioral data, define it includes character combination be
CODE, the phrase for including are WORD.It then determines and exists by the input method M of the mapping relations of CODE to WORD.It is understood that
Input method M is there may be may also be not present, and input method M is possible to as one or more.
Whenever determining an input method M, the cumulative number for being input method M increases setting incremental value, such as adds 1.For
After each input corrigendum behavioral data executes step S110 in input corrigendum behavioral data set, available each input
The cumulative number of method.
A kind of optional example is as follows:
Include that behavioral data is corrected in 100 inputs in input corrigendum behavioral data set, inputs corrigendum row for each
It is as follows that the result obtained after this step is executed for data:
1 cumulative number of input method: 80,2 cumulative number 4 of input method, 3 cumulative number 10 of input method, 4 cumulative number of input method
6。
Step S120, according to the cumulative number of each input method, cumulative number is met to the input of setting cumulative number condition
Method is determined as the usual input method of user.
Specifically, after the cumulative number for obtaining each input method, it is tired that satisfaction setting can be chosen according to cumulative number
The input method of metering said conditions, the input method usual as user.Wherein, setting cumulative number condition can be set by the user,
As cumulative number is maximum, cumulative number proportion is most high.
Usual input method provided by the embodiments of the present application determines method, obtains the input corrigendum behavioral data set of user,
The input corrigendum behavioral data set includes several input corrigendum behavioral datas, and each input corrigendum behavioral data includes
The phrase inputted after the character combination inputted before corrigendum, and corrigendum;Behavioral data is corrected for each input, determination is deposited
Increase setting incremental value in the input method of target code mapping relations, and for the cumulative number of the input method;The target code
Coding mapping relationship of the mapping relations by the input corrigendum behavioral data character combination that includes to phrase;According to each input
The input method that cumulative number meets setting cumulative number condition is determined as the usual input method of user by the cumulative number of method.This
Application inputs corrigendum behavioral data according to each item of user, determines that there are the input methods of target code mapping relations, and be true
The cumulative number for the input method made increases setting incremental value, finally according to the cumulative number of each input method, determines that satisfaction is set
The input method for determining cumulative number condition, the input method usual as user correct attention phase when input behavior due to user
It can more be concentrated than normal state, very little a possibility that error, therefore the usual input of the user determined based on the application again
Method is more in line with truth.
Optionally, the process of behavioral data set is corrected in the input that user is obtained in abovementioned steps, may include:
1, when detecting that user carries out corrigendum operation to the character combination of input, whether judge the information inputted after corrigendum
For phrase;
If 2, phrase, then judge whether there is in the coding mapping relationship of an input method, extremely comprising the character combination
The coding mapping relationship of the phrase;
3, if it exists, then using the phrase inputted after the character combination and corrigendum that are inputted before corrigendum as an input corrigendum row
For data, input corrigendum behavioral data set is added.
Specifically, an effective input corrigendum behavioral data needs to meet following condition: what is inputted before corrigendum is character
Combination, what is inputted after corrigendum is phrase.Further, in the coding mapping relationship that at least there is an input method, comprising by the word
Symbol is incorporated into the mapping relations of the phrase.It, can will be after the character combination and corrigendum before corrigendum if meeting above-mentioned condition
Phrase correct behavioral data as input.
Further, effective input corrigendum behavioral data can also meet following condition: the character group inputted before corrigendum
Conjunction is not effective English phrase.The process that the input corrigendum behavioral data set of user is then obtained in abovementioned steps, can wrap
It includes:
1, when detecting that user carries out corrigendum operation to the character combination of input, whether judge the information inputted after corrigendum
For phrase;
If 2, phrase, then judge whether there is in the coding mapping relationship of an input method, extremely comprising the character combination
The coding mapping relationship of the phrase;
3, if it exists, then judge whether the character combination inputted before correcting is effective English phrase;
If 4, effectively English phrase, then using the phrase inputted after the character combination and corrigendum that are inputted before corrigendum as one
Input corrigendum behavioral data set is added in input corrigendum behavioral data.
In another embodiment of the application, above-mentioned steps S120 will be added up according to the cumulative number of each input method
The process that the input method that number meets setting cumulative number condition is determined as the usual input method of user is introduced.
Article number for the input corrigendum behavioral data for including in the input corrigendum behavioral data set obtained in the application is the
One quantity, first quantity are more than setting amount threshold.It is understood that only when in input corrigendum behavioral data set
When the item number of input corrigendum behavioral data is enough, the confidence level of obtained result is just higher.
On this basis, determine that the process of usual input method is referred to shown in Fig. 2, comprising:
Step S200, the cumulative number of each input method and the ratio of first quantity are calculated;
Step S210, the maximum input method of ratio is chosen, and judges whether the ratio of the input method is more than setting ratio threshold
Value;If so, executing step S220;
Step S220, the maximum input method of the ratio is determined as the usual input method of user.
In the present embodiment, using the cumulative number of input method and the ratio of the first quantity as the screening item of usual input method
Part chooses the maximum input method of ratio, and then judges whether the ratio of the input method is more than setting fractional threshold, is only more than to set
When determining fractional threshold, credible result is just thought, the maximum input method of ratio is determined as the usual input method of user.
It is understood that if the judging result of step S210 be it is no, need to continue the input to extend one's service corrigendum
The capacity of behavioral data set, until judging result is that when being, it is usual that the determining maximum input method of ratio is determined as user
Input method.
Method is determined based on the usual input method of the various embodiments described above introduction, and this application discloses a kind of input information to determine
Method, it is shown in Figure 3, this method comprises:
Step S300, the encoded information of user's input being made of character is obtained;
Specifically, character is the letter shown on keyboard, number, symbol etc..If the encoded information of user's input is word
Symbol combination, then it represents that there are two kinds of situations, and really wanting the information of input one is user is character combination, and such as English is single
Word;Another situation is that user inputted under a certain input method be target phrase character code, should by press space
It inputs target phrase but accidentally by enter key, causes to directly input character code.
Step S310, judge whether the encoded information is effective English phrase;If it is not, executing step S320;
Specifically, when the encoded information of the above-mentioned user of by the agency of input is character combination, there are two kinds of situations, this steps
In by judge whether encoded information is effective English phrase, the information to determine that whether user really wants to input is character
Combination.If it is determined that being effective English phrase, then it can determine that user really wants the as character combination of input, can determine
The corresponding effective English phrase of the encoded information is input information.
In this step, if it is determined that encoded information is not effective English phrase, then it can determine that user produces maloperation.
It optionally, then can be using the encoded information as input information if it is determined that encoded information is effective English phrase.
Step S320, it determines in the corresponding input method dictionary of the usual input method of the user, the encoded information institute is right
The mapping phrase answered;
Specifically, when determining that user produces maloperation in the previous step, according to the usual input method of user, in correspondence
Input method dictionary in determine mapping phrase corresponding to the encoded information.It is understood that the mapping phrase determined
Very maximum probability is user's content really to be inputted.
It is that " jnjy " is illustrated with encoded information, in five-stroke input method dictionary, " jnjy " corresponding mapping word
Group is " film ".
Step S330, the mapping phrase is determined as inputting information.
The application is after the encoded information for the character composition for getting input, if judging the not effective English of the encoded information
Phrase can then determine that user produces maloperation, therefore the input method usual according to user, determine that the encoded information is corresponding
Phrase is mapped, using the mapping phrase as input information.The application can believe in the coding that user misoperation inputs character style
When breath, determine that the corresponding mapping phrase of encoded information, the mapping phrase are likely to be that user is true according to the usual input method of user
The real content for thinking input, effectively reduces the probability that user re-enters, convenient for users to use.
Referring to fig. 4, Fig. 4 is that the usual input method of another kind disclosed in the embodiment of the present application determines method flow diagram.Such as Fig. 4 institute
Show, this method comprises:
Step S400, the encoded information of user's input being made of character is obtained;
Step S410, judge whether the encoded information is effective English phrase;If it is not, executing step S420;
Step S420, it searches the input and corrects behavioral data set, it is determined whether there are targets to input corrigendum behavior number
According to;If so, step S430 is executed, if it is not, executing step S440;
Wherein, the character combination and the coding inputted before the corrigendum that the target input corrigendum behavioral data is included is believed
Manner of breathing is same.
In this step, when judging encoded information not is effective English phrase, matched input corrigendum is judged whether there is
Behavioral data determines input information if it is present behavioral data directly can be corrected according to matched input, i.e., as follows
The operation of step S430.
Step S430, the target phrase inputted after the corrigendum that corrigendum behavioral data is included is inputted to be determined as inputting
Information;
Specifically, it if encoded information is identical as the CODE in target input corrigendum behavioral data, will can directly be somebody's turn to do
WORD in item input corrigendum behavioral data is as input information, without other operations.
Step S440, it determines in the corresponding input method dictionary of the usual input method of the user, the encoded information institute is right
The mapping phrase answered;
Specifically, if do not find target input corrigendum behavioral data, need according to the usual input method of user come
Determine mapping phrase corresponding to the encoded information.
Step S450, the mapping phrase is determined as inputting information.
Compared to a upper embodiment, increased in the present embodiment directly defeated to determine using input corrigendum behavioral data set
The process for entering information obtains the process of result more without carrying out the search procedure of coding mapping relationship according to usual input method
Quickly.Also, input corrigendum behavioral data more embodies user individual word frequency, is determined based on input corrigendum behavioral data defeated
Enter information more maximum probability for user's content really to be inputted.
In another embodiment of the application, to above-mentioned steps S330, the mapping phrase is determined as to input information
Process be introduced.
It is understood that directly the only one can be mapped if obtained mapping phrase is only one
Phrase is determined as inputting information.
If obtained mapping phrase number is more than one, each mapping phrase can be opened up to user
Show;
Response user chooses operation to target mapping phrase in each mapping phrase of displaying, by target mapping phrase
It is determined as inputting information.
Optionally, exhibition method is referred to Fig. 5 example:
Character code are as follows: dianli, its corresponding mapping phrase includes more than one in spelling input method dictionary, exhibition
Show as shown in figure 3, including at least: " electric power ", " in shop ", " ceremony ", " ionization ", " allusion quotation example ".Remaining mapping phrase can pass through
Control triggering is shown.
Certainly, Fig. 5 merely illustrates a kind of optional exhibition method, and in addition to this application is also an option that other exhibitions
Show mode.
Referring to Fig. 6, Fig. 6 is that another input information provided by the embodiments of the present application determines method flow diagram, such as Fig. 6 institute
Show, this method comprises:
Step S600, the encoded information of user's input being made of character is obtained;
Step S610, judge whether the encoded information is effective English phrase;If it is not, executing step S320;
Step S620, it determines in the corresponding input method dictionary of the usual input method of the user, the encoded information institute is right
The mapping phrase answered;
Step S630, the mapping phrase is determined as inputting information;
Step S640, the search operation for responding user, is scanned for the search key that enters information as.
Specifically, user can have by the search icon on triggering search interface, or by what is be arranged on keyboard
The key of function of search executes search operation.In this step, when responding the search operation of user, to be determined in previous step
The search key that enters information as scan for.
The exemplary scheme of the present embodiment is suitable for various information search scenes, typically such as: browser searches scene calculates
Search terms scene in machine file system search scene, file, search mail scene etc. in mail box system.
Usual input method determining device provided by the embodiments of the present application is described below, usual input described below
Method determining device determines that method can correspond to each other reference with above-described usual input method.
Referring to Fig. 7, Fig. 7 is a kind of usual input method determining device structural schematic diagram disclosed in the embodiment of the present application, such as Fig. 7
Shown, which includes:
Gather acquiring unit 11, behavioral data set, the input corrigendum behavior number are corrected in the input for obtaining user
It include that behavioral data is corrected in several inputs according to set, each input corrigendum behavioral data includes the character group inputted before correcting
It closes, and the phrase inputted after corrigendum;
Input method accumulated unit 12 determines that there are target codes to reflect for correcting behavioral data for each input
The input method of relationship is penetrated, and increases setting incremental value for the cumulative number of the input method;The target code mapping relations are institute
State the input corrigendum behavioral data character combination that is included to phrase coding mapping relationship;
It is tired to be met setting for the cumulative number according to each input method by usual input method determination unit 13 for cumulative number
The input method of metering said conditions is determined as the usual input method of user.
Device provided by the embodiments of the present application inputs corrigendum behavioral data according to each item of user, determines that there are targets
The input method of coding mapping relationship, and increase setting incremental value for the cumulative number for the input method determined, finally according to each defeated
The cumulative number for entering method, determine meet setting cumulative number condition input method, the input method usual as user, due to
A possibility that attention when input behavior is corrected at family can be concentrated more compared to normal state, be malfunctioned again very little, therefore be based on
The usual input method for the user that the application determines is more in line with truth.
Optionally, the set acquiring unit may include:
First set obtains subelement, for sentencing when detecting that user carries out corrigendum operation to the character combination of input
Whether the information inputted after disconnected corrigendum is phrase;
Second set obtains subelement, and the judging result for obtaining subelement in the first set is judgement when being
With the presence or absence of in the coding mapping relationship of an input method, the coding mapping relationship comprising the character combination to the phrase;
Third set obtains subelement, will more when for obtaining the judging result of subelement in the second set to be
The phrase inputted after the character combination and corrigendum that are inputting before just corrects behavioral data as an input, and input corrigendum behavior is added
Data acquisition system.
Optionally, the input corrigendum behavioral data set includes the input corrigendum behavioral data of the first quantity, and described the
One quantity is more than setting amount threshold;The usual input method determination unit may include:
First usual input method determines subelement, for calculate each input method cumulative number and first quantity
Ratio;
Second usual input method determines subelement, for choosing the maximum input method of ratio, and judges the ratio of the input method
Whether value is more than setting fractional threshold;
The usual input method of third determines subelement, for determining the judging result of subelement in the described second usual input method
When to be, the maximum input method of the ratio is determined as the usual input method of user.
Further, input information determining means provided by the embodiments of the present application are described, input letter described below
It ceases determining device and determines that method can correspond to each other reference with above-described input information.
Referring to Fig. 8, Fig. 8 is a kind of input information determining means structural schematic diagram disclosed in the embodiment of the present application, such as Fig. 8 institute
Show, which includes:
Encoded information acquiring unit 21, for obtaining the encoded information of user's input being made of character;
Effectively English phrase judging unit 22, for judging whether the encoded information is effective English phrase;
Phrase query unit 23 is mapped, for when the judging result of effective English phrase judging unit is no, really
In the usual corresponding input method dictionary of input method of the fixed user, mapping phrase corresponding to the encoded information;
Information determination unit 24 is inputted, inputs information for the mapping phrase to be determined as.
Input information determining means disclosed in the present application, after the encoded information for the character composition for getting input, if sentencing
The not effective English phrase of the encoded information of breaking can then determine that user produces maloperation, therefore according to usual defeated of user
Enter method, determine the corresponding mapping phrase of the encoded information, using the mapping phrase as input information.The application can be missed in user
When the encoded information of operation input character style, the corresponding mapping phrase of encoded information is determined according to the usual input method of user, it should
Mapping phrase is likely to be the content that user really thinks input, effectively reduces the probability that user re-enters, facilitates
The use of user.
Optionally, the device of the application can also include:
Target input corrigendum behavioral data searching unit, for searching the input corrigendum behavioral data set, determination is
It is no that there are targets to input corrigendum behavioral data, the character group inputted before the corrigendum that the target input corrigendum behavioral data is included
It closes identical as the encoded information;If it is not, the mapping phrase query unit is executed, if so, it is true to execute input phrase after corrigendum
Order member;
Phrase determination unit is inputted after the corrigendum, for the target to be inputted the corrigendum that corrigendum behavioral data is included
The phrase inputted afterwards is determined as inputting information.
Optionally, the input information determination unit includes:
First input information determines subelement, if being one for the mapping phrase number, which is reflected
Phrase is penetrated to be determined as inputting information;
Second input information determines subelement, if being more than one for the mapping phrase number, described reflects each
Phrase is penetrated to be shown to user;
Third input information determines subelement, for responding user to target mapping phrase in each mapping phrase of displaying
Operation is chosen, is determined as target mapping phrase to input information.
Optionally, the device of the application can also include:
Search unit is scanned for for responding the search operation of user with the search key that enters information as.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of usual input method determines method characterized by comprising
Behavioral data set is corrected in the input for obtaining user, and the input corrigendum behavioral data set includes several input corrigendums
Behavioral data, each input corrigendum behavioral data includes the character combination inputted before correcting, and the phrase inputted after correcting;
Behavioral data is corrected for each input, determines that there are the input methods of target code mapping relations, and is the input
The cumulative number of method increases setting incremental value;The target code mapping relations input corrects behavioral data and is included
Coding mapping relationship of the character combination to phrase;
According to the cumulative number of each input method, the input method that cumulative number meets setting cumulative number condition is determined as user and is used to
Input method.
2. the method according to claim 1, wherein it is described obtain user input correct behavioral data set,
Include:
When detecting that user carries out corrigendum operation to the character combination of input, judge whether the information inputted after corrigendum is word
Group;
If so, judging whether there is in the coding mapping relationship of an input method, include the character combination to the volume of the phrase
Code mapping relations;
If so, the phrase inputted after the character combination and corrigendum that input before corrigendum is corrected behavioral data as an input, add
Enter input corrigendum behavioral data set.
3. the method according to claim 1, wherein input corrigendum behavioral data set includes the first quantity
Input correct behavioral data, first quantity be more than setting amount threshold;The cumulative number according to each input method, will
The input method that cumulative number meets setting cumulative number condition is determined as the usual input method of user, comprising:
Calculate the cumulative number of each input method and the ratio of first quantity;
The maximum input method of ratio is chosen, and judges whether the ratio of the input method is more than setting fractional threshold;
If so, the maximum input method of the ratio is determined as the usual input method of user.
4. a kind of input information determines method, which is characterized in that true based on the described in any item usual input methods of claim 1-3
Determine method, which determines that method includes:
Obtain the encoded information of user's input being made of character;
Judge whether the encoded information is effective English phrase;
If it is not, determining in the usual corresponding input method dictionary of input method of the user, mapping corresponding to the encoded information
Phrase;
The mapping phrase is determined as to input information.
5. according to the method described in claim 4, it is characterized in that, determine the encoded information not and be effective English phrase it
Afterwards, in the corresponding input method dictionary of the usual input method of the determination user, mapping word corresponding to the encoded information
Before group, this method further include:
Search the input corrigendum behavioral data set, it is determined whether there are targets to input corrigendum behavioral data, and the target is defeated
It is identical as the encoded information to enter to correct the character combination inputted before the corrigendum that behavioral data is included;
If it is not, executing in the corresponding input method dictionary of the usual input method of the determination user, the encoded information institute is right
The operation for the mapping phrase answered;
It is determined as inputting information if so, the target is inputted the phrase inputted after the corrigendum that corrigendum behavioral data is included.
6. according to the method described in claim 4, it is characterized in that, described be determined as the mapping phrase to input information, packet
It includes:
If the mapping phrase number is one, it is determined as only one mapping phrase to input information;
If the mapping phrase number is more than one, each mapping phrase is shown to user;
Response user chooses operation to target mapping phrase in each mapping phrase of displaying, by target mapping phrase determination
To input information.
7. according to the described in any item methods of claim 4-6, which is characterized in that further include:
The search operation for responding user, is scanned for the search key that enters information as.
8. a kind of usual input method determining device characterized by comprising
Gather acquiring unit, behavioral data set is corrected in the input for obtaining user, and behavioral data set is corrected in the input
Behavioral data is corrected including several inputs, each input corrigendum behavioral data includes the character combination inputted before correcting, with
And the phrase inputted after corrigendum;
Input method accumulated unit determines that there are target code mapping relations for correcting behavioral data for each input
Input method, and for the input method cumulative number increase setting incremental value;The target code mapping relations are the input
Coding mapping relationship of the character combination that corrigendum behavioral data is included to phrase;
Cumulative number is met setting cumulative number for the cumulative number according to each input method by usual input method determination unit
The input method of condition is determined as the usual input method of user.
9. device according to claim 8, which is characterized in that the input corrigendum behavioral data set includes the first quantity
Input correct behavioral data, first quantity be more than setting amount threshold;The usual input method determination unit includes:
First usual input method determines subelement, for calculating the cumulative number of each input method and the ratio of first quantity
Value;
Second usual input method determines subelement, for choosing the maximum input method of ratio, and judges that the ratio of the input method is
No is more than setting fractional threshold;
The usual input method of third determines subelement, for determining that the judging result of subelement is yes in the described second usual input method
When, the maximum input method of the ratio is determined as the usual input method of user.
10. a kind of input information determining means, which is characterized in that determined and filled based on usual input method described in claim 8 or 9
It sets, which includes:
Encoded information acquiring unit, for obtaining the encoded information of user's input being made of character;
Effectively English phrase judging unit, for judging whether the encoded information is effective English phrase;
Phrase query unit is mapped, described in determining when the judging result of effective English phrase judging unit is no
In the corresponding input method dictionary of the usual input method of user, mapping phrase corresponding to the encoded information;
Information determination unit is inputted, inputs information for the mapping phrase to be determined as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611221266.4A CN106774981B (en) | 2016-12-26 | 2016-12-26 | Usual input method determines that method, apparatus and input information determine method, apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611221266.4A CN106774981B (en) | 2016-12-26 | 2016-12-26 | Usual input method determines that method, apparatus and input information determine method, apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106774981A CN106774981A (en) | 2017-05-31 |
CN106774981B true CN106774981B (en) | 2019-05-10 |
Family
ID=58924594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611221266.4A Active CN106774981B (en) | 2016-12-26 | 2016-12-26 | Usual input method determines that method, apparatus and input information determine method, apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106774981B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107562223B (en) * | 2017-09-29 | 2021-08-24 | 云知声智能科技股份有限公司 | Input method recommendation method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102830924A (en) * | 2012-08-08 | 2012-12-19 | 北京小米科技有限责任公司 | Method and device for adjusting input method keyboards |
CN104317416A (en) * | 2014-10-10 | 2015-01-28 | 北京搜狗科技发展有限公司 | Input method and input device |
CN106156208A (en) * | 2015-04-23 | 2016-11-23 | 中兴通讯股份有限公司 | Retrieval mode changing method and device |
-
2016
- 2016-12-26 CN CN201611221266.4A patent/CN106774981B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102830924A (en) * | 2012-08-08 | 2012-12-19 | 北京小米科技有限责任公司 | Method and device for adjusting input method keyboards |
CN104317416A (en) * | 2014-10-10 | 2015-01-28 | 北京搜狗科技发展有限公司 | Input method and input device |
CN106156208A (en) * | 2015-04-23 | 2016-11-23 | 中兴通讯股份有限公司 | Retrieval mode changing method and device |
Non-Patent Citations (1)
Title |
---|
中英文免切换 百度手机输入法3.6版抢鲜看;本刊编辑;《计算机与网络》;20130612(第11期);正文第2-5段 |
Also Published As
Publication number | Publication date |
---|---|
CN106774981A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2521525C (en) | System and method for providing a geographic search function | |
US8412517B2 (en) | Dictionary word and phrase determination | |
US8010344B2 (en) | Dictionary word and phrase determination | |
US20170068740A1 (en) | Method and system for web searching | |
CN104346396B (en) | Data processing method, device, terminal and system for instant messaging client | |
CN105677815B (en) | A kind of Web page bookmark adding method and terminal | |
CN109299399B (en) | Learning content recommendation method and terminal equipment | |
CN106774981B (en) | Usual input method determines that method, apparatus and input information determine method, apparatus | |
TWI529546B (en) | Information processing apparatus, information processing method and recording medium | |
JP5579140B2 (en) | Document search apparatus, method, and program | |
US20100057724A1 (en) | Server device for creating list of general words to be excluded from search result | |
JP5296745B2 (en) | Query suggestion providing apparatus and method | |
US10402449B2 (en) | Information processing system, information processing method, and information processing program | |
US20150301994A1 (en) | Non-transitory computer readable medium, information processing apparatus, and information processing method | |
CN112817514B (en) | Content extraction method and device | |
CN106610733A (en) | Conventional input method determining method and device, and input information determining method and device | |
Cisco | Understanding the User Interface | |
Cisco | Understanding the User Interface | |
Cisco | Understanding the User Interface | |
Cisco | Understanding the User Interface | |
Cisco | Understanding the User Interface | |
Cisco | Understanding the User Interface | |
Cisco | Understanding the User Interface | |
JP6549441B2 (en) | INPUT SUPPORT DEVICE, PROGRAM, AND INPUT SUPPORT METHOD | |
CN106610732A (en) | Input information determination method and device |
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 |