CN106610733B - Conventional input method determining method and device and input information determining method and device - Google Patents

Conventional input method determining method and device and input information determining method and device Download PDF

Info

Publication number
CN106610733B
CN106610733B CN201611220339.8A CN201611220339A CN106610733B CN 106610733 B CN106610733 B CN 106610733B CN 201611220339 A CN201611220339 A CN 201611220339A CN 106610733 B CN106610733 B CN 106610733B
Authority
CN
China
Prior art keywords
input
behavior data
determining
user
input method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611220339.8A
Other languages
Chinese (zh)
Other versions
CN106610733A (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.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201611220339.8A priority Critical patent/CN106610733B/en
Publication of CN106610733A publication Critical patent/CN106610733A/en
Application granted granted Critical
Publication of CN106610733B publication Critical patent/CN106610733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Abstract

The application discloses a method and a device for determining a habitual input method and a device for determining input information, wherein the method and the device for determining the habitual input method are used for acquiring an input behavior data set of a user, wherein each piece of input behavior data comprises an actually input phrase and a key combination triggered by the user in the phrase input process; determining a character combination corresponding to the key combination in each piece of input behavior data to obtain edited input behavior data consisting of actually input phrases and character combinations; determining an input method with a target coding mapping relation according to each piece of edited input behavior data, and increasing and setting an increment value for the accumulated times of the input method; the target coding mapping relation is a coding mapping relation from character combinations contained in the edited input behavior data to word groups; and determining the input method used by the user according to the accumulated times of the input methods. The accuracy of guessing the input method used by the user is high based on the obtained large amount of input behavior data.

Description

Conventional input method determining method and device and input information determining method and device
Technical Field
The present application relates to the field of input methods, and more particularly, to a method and an apparatus for determining a conventional input method and a method and an apparatus for determining input information.
Background
The information retrieval refers to a process that a user inputs contents to be retrieved in a text input box provided by a system and then information retrieval is carried out according to the input contents. When inputting content, the user can directly input English letters or numbers which can be input directly through the keyboard without an input method. Of course, the input method can be switched, and the Chinese content can be input through the input method.
For non-english native language countries, such as china, if one wants to input his native language content, one generally needs to use the input method. The essence of the input method is to encode the words of the country according to a certain encoding rule into the combination of English letters. For the Chinese environment, commonly used input methods are pinyin, five strokes, and the like. In the input method, after the English letter combination is input, if a user presses a space key, the corresponding Chinese words and phrases of the English letter combination in the input method word stock are input into an input box. If the user presses the enter key, the English letters input by the user are directly combined and input into the target input box, so that the user can conveniently realize the switching between Chinese input and English input under the condition of not switching the input method.
However, after the user has input the english alphabet combination of the target word under the current input method, if the enter key is pressed carelessly, the english alphabet combination is displayed in the input box as input information, and it is obvious that the input information is not the content that the user really wants to input. If the input method used by the user can be guessed, the mapping phrase corresponding to the English letter combination can be determined based on the input method so as to obtain the content really input by the user. Therefore, if the user's conventional input method is guessed, it becomes a problem to be solved by those skilled in the art.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for determining a familiar input method, and a method and an apparatus for determining input information, so as to guess and obtain a familiar input method for a user, and further correct information input by a user through misoperation.
In order to achieve the above object, the following solutions are proposed:
a habitual input method determination method, comprising:
acquiring an input behavior data set of a user, wherein the input behavior data set comprises a plurality of pieces of input behavior data, and each piece of input behavior data comprises an actually input phrase and a key combination triggered by the user in the phrase input process;
determining a character combination corresponding to the key combination in each piece of input behavior data to obtain edited input behavior data consisting of actually input phrases and the character combination;
determining an input method with a target coding mapping relation according to each piece of edited input behavior data, and increasing and setting an increment value for the accumulated times of the input method; the target coding mapping relation is a coding mapping relation from character combinations contained in the edited input behavior data to word groups;
and according to the accumulated times of the input methods, determining the input method of which the accumulated times meets the set accumulated times condition as the input method used by the user.
Preferably, the determining a character combination corresponding to the key combination in each piece of input behavior data includes:
determining whether the key combination contains an editing type key;
if not, converting the key combination sequence into character combinations according to characters corresponding to the keys;
if yes, converting the key combination sequence into a combination of characters and editing key names;
and editing the characters in the combination of the characters and the name of the editing key according to the editing function corresponding to the name of the editing key to obtain an edited character combination.
Preferably, the input behavior data set comprises a first number of input behavior data, the first number exceeding a set number threshold; the input method which determines the input method of which the accumulated times meet the set accumulated times condition as the input method which is used by the user according to the accumulated times of each input method comprises the following steps:
calculating the ratio of the accumulated times of each input method to the first number;
selecting an input method with the largest ratio, and judging whether the ratio of the input method exceeds a set ratio threshold value or not;
if so, determining the input method with the maximum ratio as the input method used by the user.
An input information determination method based on the conventional input method, the input information determination method comprising:
acquiring coding information which is input by a user and consists of characters;
judging whether the coding information is a valid English phrase;
if not, determining a mapping phrase corresponding to the coding information in an input method word bank corresponding to the input method familiar to the user;
and determining the mapping phrase as input information.
Preferably, after determining that the coding information is not a valid english word group, the method further includes, in the input method lexicon corresponding to the input method used by the user, before the mapping word group corresponding to the coding information:
searching the edited input behavior data, and determining whether target edited input behavior data exists or not, wherein the character combination contained in the target edited input behavior data is the same as the coding information;
if not, executing the operation of determining the mapping word group corresponding to the coding information in the input method word stock corresponding to the input method used by the user;
and if so, determining the phrases contained in the input behavior data after the target editing as input information.
Preferably, the determining the mapping phrase as the input information includes:
if the number of the mapping phrases is one, determining the only one mapping phrase as input information;
if the number of the mapping phrases is more than one, displaying each mapping phrase to a user;
and responding to the selection operation of the user on the target mapping phrase in each displayed mapping phrase, and determining the target mapping phrase as the input information.
Preferably, the method further comprises the following steps:
and responding to the search operation of the user, and searching by taking the input information as a search keyword.
A familiar input method determination device comprising:
the device comprises a set acquisition unit, a storage unit and a processing unit, wherein the set acquisition unit is used for acquiring an input behavior data set of a user, the input behavior data set comprises a plurality of pieces of input behavior data, and each piece of input behavior data comprises an actually input phrase and a key combination triggered by the user in the phrase input process;
the key conversion unit is used for determining a character combination corresponding to the key combination in each piece of input behavior data to obtain edited input behavior data consisting of actually input phrases and the character combination;
the input method accumulation unit is used for determining an input method with a target coding mapping relation aiming at each piece of edited input behavior data and increasing and setting an increment value for the accumulation times of the input method; the target coding mapping relation is a coding mapping relation from character combinations contained in the edited input behavior data to word groups;
and the habitual input method determining unit is used for determining the input method of which the accumulation times meet the set accumulation time condition as the habitual input method of the user according to the accumulation times of the input methods.
Preferably, the key conversion unit includes:
the first key conversion subunit is used for determining whether the key combination comprises an editing type key;
the second key conversion subunit is used for converting the key combination sequence into a character combination according to the characters corresponding to the keys when the judgment result of the first key conversion subunit is negative;
the third key conversion subunit is used for converting the key combination sequence into a combination of characters and names of editing keys when the judgment result of the first key conversion subunit is yes;
and the fourth key conversion subunit is used for editing the characters in the combination of the characters and the name of the editing key according to the editing function corresponding to the name of the editing key to obtain an edited character combination.
An input information specifying device based on the conventional input method specifying device, comprising:
the encoding information acquisition unit is used for acquiring encoding information consisting of characters input by a user;
the valid English phrase judging unit is used for judging whether the coding information is a valid English phrase;
a mapping phrase query unit, configured to determine, when the determination result of the valid english phrase determination unit is negative, a mapping phrase corresponding to the coding information in the input method lexicon corresponding to the input method that is used by the user;
and the input information determining unit is used for determining the mapping phrase as input information.
The habitual input method determining method provided by the embodiment of the application obtains an input behavior data set of a user, wherein the input behavior data set comprises a plurality of pieces of input behavior data, and each piece of input behavior data comprises an actually input phrase and a key combination triggered by the user in the phrase input process; determining a character combination corresponding to the key combination in each piece of input behavior data to obtain edited input behavior data consisting of actually input phrases and the character combination; determining an input method with a target coding mapping relation according to each piece of edited input behavior data, and increasing and setting an increment value for the accumulated times of the input method; the target coding mapping relation is a coding mapping relation from character combinations contained in the edited input behavior data to word groups; and according to the accumulated times of the input methods, determining the input method of which the accumulated times meets the set accumulated times condition as the input method used by the user. According to the method, the input method with the target code mapping relation is determined according to the acquired input behavior data of the user, the increment value is increased and set for the determined accumulative times of the input method, and finally the input method meeting the condition of the set accumulative times is determined according to the accumulative times of the input methods and serves as the input method used by the user.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a conventional input method determination method disclosed in an embodiment of the present application;
FIG. 2 is a flowchart of a method for determining a conventional input method according to the cumulative number of times of the input method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of an input information determining method disclosed in an embodiment of the present application;
FIG. 4 is a flow chart of another conventional input method determination method disclosed in the embodiments of the present application;
FIG. 5 is a diagram illustrating a mapping phrase presentation according to an example of the present application;
fig. 6 is a flowchart of another input information determination method provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of a conventional input method determination apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an input information determining apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application discloses an input information determining scheme, which can determine information really required to be input by a user according to acquired information input by the user, reduce the times of re-input by the user and improve the user experience.
Before describing the scheme of the application, the functions of the space and the enter key in the keyboard are briefly described.
1. Space and enter key function in input method
Generally, in the input method, after inputting English letter combination, if a user presses a space key, the input method can input corresponding Chinese words into a target input box; if the user presses the enter key, the English letter combination input by the user is directly input into the target input box. The advantage of this is that the user can conveniently realize the switching between Chinese input and English input without explicit input method switching.
2. Function of enter key in information retrieval
Part of the information retrieval system will provide a button next to (typically to the right of) the text entry box. When the user finishes inputting the content to be searched and clicks the button, the user starts to search.
In order to improve the use experience of the user, after the user inputs information in the text input box, the enter key is pressed, and the retrieval system starts to execute the retrieval required by the user.
3. Problems caused by different actions of the enter key
One problem caused by different default behaviors of the enter key in the input method and the information retrieval system is that after a user inputs an English letter combination of a target word under the current input method, the information retrieval system directly uses the input method code to perform information retrieval by continuously pressing the enter key twice. Such a result is clearly undesirable to the user.
To bring out the scheme of the present application, two scenarios are now provided:
the five-stroke input method is used by a user, when a movie is searched, five-stroke coded information input by the user is 'jnjy', and if the user operates the enter key twice continuously by mistake, the search system can directly search the content related to the jnjy.
It can be understood that if the input method used by the user can be guessed, when the above situation occurs, when the user operates the character code of the input phrase by mistake, the mapping phrase corresponding to the character code can be guessed by the used input method, and then the user can search by using the content actually input by the user as the search keyword without manual correction.
In order to solve the above-described exemplary problem, the present application provides a familiar input method determination method, referring to fig. 1, the method including:
step S100, acquiring an input behavior data set of a user, wherein the input behavior data set comprises a plurality of pieces of input behavior data, and each piece of input behavior data comprises an actually input phrase and a key combination triggered by the user in the phrase input process;
in particular, information entry pages typically provide an entry text box within which a user can enter information. When inputting information, the user can input information using a physical keyboard, a system-provided keyboard, and the like. The keyboard is composed of keys, and each key corresponds to a key value. The keys are generally classified into character keys such as A, B, C keys and editing function keys such as enter keys, space keys, and the like.
In this step, the phrase actually input by the user and the key combination triggered by the user in the process of inputting the phrase are obtained. The phrase actually input by the user can be obtained by inputting the text box, and the key combination triggered by the user can be obtained by monitoring the keys triggered by the user.
Examples are as follows:
user-triggered key combination: letter key J, letter key N, letter key J, letter key Y, space key. The phrase actually input by the user is acquired as "movie".
Step S110, determining a character combination corresponding to the key combination in each piece of input behavior data to obtain edited input behavior data consisting of actually input phrases and the character combination;
specifically, for each piece of input behavior data, the key combination in the input behavior data is converted into a corresponding character combination. And the obtained character combination and the actually input phrase form the edited input behavior data.
The above example is taken as an example to illustrate:
user-triggered key combination: letter key J, letter key N, letter key J, letter key Y, space key. The character combination corresponding to the key combination is 'JNJY'.
Step S120, determining an input method with a target coding mapping relation aiming at each piece of edited input behavior data, and increasing and setting an increment value for the accumulative times of the input method;
and the target coding mapping relation is a coding mapping relation from character combinations contained in the edited input behavior data to word groups.
And for each piece of edited input behavior data, defining the character combination contained in the input behavior data as CODE and the phrase contained in the input behavior data as WORD. The input method M for which a CODE to WORD mapping exists is determined. It is understood that the input method M may or may not exist, and that the input method M may be one or more.
Each time the input method M is determined once, an increment value, such as 1, is set for the cumulative number of times the input method M is incremented. After step S120 is executed for each piece of edited input behavior data in the set of edited input behavior data, the cumulative number of times of each input method may be obtained.
An alternative example is as follows:
the input behavior data set comprises 100 pieces of input behavior data, and after each piece of input behavior data is determined to correspond to the edited input behavior data, the result obtained after the step is executed is as follows:
input method 1 cumulative number of times: 80, input method 2 cumulative number 4, input method 3 cumulative number 10, input method 4 cumulative number 6.
And step S130, according to the accumulated times of the input methods, determining the input method of which the accumulated times meets the set accumulated times condition as the input method used by the user.
Specifically, after the cumulative count of each input method is obtained, an input method that satisfies the set cumulative count condition may be selected as the input method that is used by the user, according to the cumulative count. The condition for setting the number of times of accumulation may be set by a user, for example, the number of times of accumulation is the largest, and the proportion of the number of times of accumulation is the highest.
The habitual input method determining method provided by the embodiment of the application obtains an input behavior data set of a user, wherein the input behavior data set comprises a plurality of pieces of input behavior data, and each piece of input behavior data comprises an actually input phrase and a key combination triggered by the user in the phrase input process; determining a character combination corresponding to the key combination in each piece of input behavior data to obtain edited input behavior data consisting of actually input phrases and the character combination; determining an input method with a target coding mapping relation according to each piece of edited input behavior data, and increasing and setting an increment value for the accumulated times of the input method; the target coding mapping relation is a coding mapping relation from character combinations contained in the edited input behavior data to word groups; and according to the accumulated times of the input methods, determining the input method of which the accumulated times meets the set accumulated times condition as the input method used by the user. According to the method, the input method with the target code mapping relation is determined according to the acquired input behavior data of the user, the increment value is increased and set for the determined accumulative times of the input method, and finally the input method meeting the condition of the set accumulative times is determined according to the accumulative times of the input methods and serves as the input method used by the user.
Optionally, the step of determining a character combination corresponding to the key combination in each piece of input behavior data in the foregoing step may include:
1. determining whether the key combination contains an editing type key;
specifically, the keys in the keyboard are divided into two types, one type is character type keys, and the other type is editing type keys, such as a space bar, a carriage return key and the like.
2. If not, converting the key combination sequence into character combinations according to characters corresponding to the keys;
specifically, if all the key combinations are composed of character type keys, the case combination sequence is converted into a character combination according to the characters corresponding to the keys.
For example: the combination of the components is as follows: letter key J, letter key N, letter key J, letter key Y. The corresponding character combination is "JNJY".
3. If yes, converting the key combination sequence into a combination of characters and editing key names;
specifically, if the key combination includes an edit type key, the key combination sequence is converted into a combination of a character and an edit key name according to a key value corresponding to each key.
For example: the combination of the components is as follows: letter key J, letter key A, enter key, letter key N, letter key J, letter key Y, space key. The combination obtained after key value conversion is "JA enter key NJY".
4. And editing the characters in the combination of the characters and the name of the editing key according to the editing function corresponding to the name of the editing key to obtain an edited character combination.
The above example is still used as an example to illustrate:
and if the editing function corresponding to the enter key is deleting the previous character, executing the enter key operation on the JANJY to obtain an edited character combination which is 'JNJY'.
The process of determining the character combination corresponding to the key combination is introduced in detail in the step, through the operation of the step, the character combination input by the user can be determined, the character combination is used as the coding information, and the obtained phrase actually input by the user is the mapping phrase corresponding to the coding information.
In another embodiment of the present application, a process of determining the input method whose cumulative number satisfies the set cumulative number condition as the input method used by the user according to the cumulative number of each input method in step S130 is described.
The number of pieces of input behavior data included in the input behavior data set acquired in the present application is a first number, and the first number exceeds a set number threshold. It will be appreciated that the higher the confidence in the resulting result is only when there are a sufficient number of pieces of input behavior data within the input behavior data set.
On the basis, the process of determining the familiar input method can be shown in fig. 2, and comprises the following steps:
step S200, calculating the ratio of the accumulated times of each input method to the first number;
step S210, selecting the input method with the largest ratio, and judging whether the ratio of the input method exceeds a set ratio threshold value; if yes, go to step S220;
step S220, determining the input method with the maximum ratio as the input method used by the user.
In this embodiment, the ratio of the accumulated number of times of the input method to the first number is used as the screening condition of the conventional input method, the input method with the largest ratio is selected, whether the ratio of the input method exceeds the set ratio threshold is further determined, the result is considered to be credible only when the ratio of the input method exceeds the set ratio threshold, and the input method with the largest ratio is determined as the input method which is conventional for the user.
It can be understood that, if the determination result in step S210 is no, the capacity of the input behavior data set of the user needs to be expanded continuously, until the determination result is yes, the input method with the largest determined ratio is determined as the input method used by the user.
Based on the conventional input method determination method introduced in the above embodiments, the present application discloses an input information determination method, as shown in fig. 3, the method includes:
step S300, acquiring coding information which is input by a user and consists of characters;
specifically, the characters are letters, numbers, symbols, and the like displayed on the keyboard. If the coded information input by the user is a character combination, two situations exist, one is that the information really required to be input by the user is the character combination, such as English words; in another case, the user inputs the character code of the target phrase under a certain input method, and the user should input the target phrase by pressing the blank space but carelessly press the enter key, so that the character code is directly input.
Step S310, judging whether the coding information is an effective English phrase; if not, go to step S320;
specifically, two situations exist when the encoding information input by the user is a character combination, and in this step, whether the information really the user wants to input is determined to be the character combination by judging whether the encoding information is an effective english word group. If the input information is determined to be the valid English phrase, the user really wants to input the valid English phrase which is the character combination can be determined, and the valid English phrase corresponding to the coding information can be determined to be the input information.
In this step, if the encoded information is judged not to be a valid english word group, it can be determined that the user has made a wrong operation.
Optionally, if the coding information is judged to be a valid english word group, the coding information may be used as input information.
Step S320, determining a mapping phrase corresponding to the coding information in an input method word stock corresponding to the input method used by the user;
specifically, when it is determined in the previous step that the user has performed an incorrect operation, the mapping phrase corresponding to the coding information is determined in the corresponding input method lexicon according to the input method used by the user. It is understood that the determined mapping phrase is likely to be the content actually input by the user.
For example, the coding information is "jnjy", and a mapping phrase corresponding to "jnjy" in the five-stroke input method lexicon is "movie".
And step S330, determining the mapping phrase as input information.
According to the method and the device, after the coding information composed of the input characters is obtained, if the coding information is judged to be not the valid English phrase, the fact that the user generates misoperation can be determined, therefore, according to the input method used by the user, the mapping phrase corresponding to the coding information is determined, and the mapping phrase is used as the input information. According to the method and the device, when the user operates the coded information in the character form by mistake, the mapping phrase corresponding to the coded information is determined according to the user familiar input method, the mapping phrase is likely to be the content really expected to be input by the user, the probability of re-input by the user is effectively reduced, and the use of the user is facilitated.
Referring to fig. 4, fig. 4 is a flowchart of another conventional input method determination method disclosed in the embodiments of the present application. As shown in fig. 4, the method includes:
s400, acquiring coding information which is input by a user and consists of characters;
step S410, judging whether the coding information is an effective English phrase; if not, go to step S420;
step S420, searching the edited input behavior data set, and determining whether target edited input behavior data exists; if yes, go to step S430, otherwise go to step S440;
and the character combination contained in the input behavior data after the target editing is the same as the coded information.
The edited input behavior data is the edited input behavior data composed of the character combination and the actually input phrase after the key combination in the input behavior data is converted into the corresponding character combination as described in the foregoing embodiment.
In this step, when it is determined that the encoded information is not a valid english word group, it is determined whether there is matched edited input behavior data, and if so, the input information may be determined directly according to the matched edited input behavior data, that is, the following operation of step S430 is performed.
Step S430, determining phrases contained in the target input behavior data as input information;
specifically, if the CODE information is the same as the CODE in the target edited input behavior data, WORD in the piece of edited input behavior data can be directly used as the input information without other operations.
Step S440, determining a mapping phrase corresponding to the coding information in an input method word stock corresponding to the input method used by the user;
specifically, if the input behavior data after the target editing is not found, the mapping phrase corresponding to the coding information needs to be determined according to an input method used by a user.
And step S450, determining the mapping phrase as input information.
Compared with the previous embodiment, the process of determining the input information by directly utilizing the edited input behavior data set is added in the embodiment, the search process of the coding mapping relation according to a conventional input method is not needed, and the process of obtaining the result is quicker. And the edited input behavior data better reflects the personalized word frequency of the user, and the input information determined based on the edited input behavior data has higher probability of being the content really input by the user.
In another embodiment of the present application, a process of determining the mapping phrase as the input information in step S330 is described.
It is understood that if the obtained mapping phrase is only one, the only one mapping phrase can be directly determined as the input information.
If the number of the obtained mapping phrases is more than one, each mapping phrase can be displayed to a user;
and responding to the selection operation of the user on the target mapping phrase in each displayed mapping phrase, and determining the target mapping phrase as the input information.
Optionally, the presentation manner may refer to fig. 5 as an example:
the character code is: dianli, the mapping phrases corresponding to the word stock in the pinyin input method include more than one, which is shown in fig. 3 and at least includes: "electric", "store", "ceremony", "ionization", "classical example". And the rest mapping phrases can be displayed through triggering of the control.
Of course, fig. 5 illustrates only one alternative display manner, and other display manners may be selected in the present application.
Referring to fig. 6, fig. 6 is a flowchart of another input information determining method provided in the embodiment of the present application, and as shown in fig. 6, the method includes:
s600, acquiring coding information which is input by a user and consists of characters;
step S610, judging whether the coding information is an effective English phrase; if not, go to step S320;
step S620, determining a mapping phrase corresponding to the coding information in an input method word stock corresponding to the input method used by the user;
step S630, determining the mapping phrase as input information;
and step S640, responding to the search operation of the user, and searching by taking the input information as a search keyword.
Specifically, the user may perform a search operation by triggering a search icon on the search interface or by a key provided with a search function on the keyboard. In this step, when a search operation by a user is responded, the input information determined in the above step is searched as a search keyword.
The scheme of the embodiment example is suitable for various information search scenarios, typically as follows: a browser search scenario, a computer file system search scenario, a search within file term scenario, a search in email system email scenario, and so forth.
In the following, the conventional input method determination apparatus provided in the embodiment of the present application is described, and the conventional input method determination apparatus described below and the conventional input method determination method described above may be referred to in correspondence with each other.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a conventional input method determination apparatus disclosed in an embodiment of the present application, and as shown in fig. 7, the apparatus includes:
the device comprises a set acquisition unit 11, a storage unit and a display unit, wherein the set acquisition unit is used for acquiring an input behavior data set of a user, the input behavior data set comprises a plurality of pieces of input behavior data, and each piece of input behavior data comprises an actually input phrase and a key combination triggered by the user in the phrase input process;
a key conversion unit 12, configured to determine a character combination corresponding to the key combination in each piece of input behavior data, and obtain edited input behavior data composed of an actually input phrase and the character combination;
the input method accumulation unit 13 is configured to determine, for each piece of edited input behavior data, an input method in which a target coding mapping relationship exists, and set an increment value for increasing the accumulation number of times of the input method; the target coding mapping relation is a coding mapping relation from character combinations contained in the edited input behavior data to word groups;
and a familiar input method determining unit 14, configured to determine, as the input method familiar to the user, an input method for which the cumulative number satisfies a set cumulative number condition, according to the cumulative number of each input method.
According to the device provided by the embodiment of the application, the input method with the target code mapping relation is determined according to the acquired input behavior data of the user, the increment value is added for the determined accumulative times of the input method, and finally the input method meeting the condition of the set accumulative times is determined according to the accumulative times of the input methods and is used as the input method used by the user.
Optionally, the key conversion unit may include:
the first key conversion subunit is used for determining whether the key combination comprises an editing type key;
the second key conversion subunit is used for converting the key combination sequence into a character combination according to the characters corresponding to the keys when the judgment result of the first key conversion subunit is negative;
the third key conversion subunit is used for converting the key combination sequence into a combination of characters and names of editing keys when the judgment result of the first key conversion subunit is yes;
and the fourth key conversion subunit is used for editing the characters in the combination of the characters and the name of the editing key according to the editing function corresponding to the name of the editing key to obtain an edited character combination.
Optionally, the input behavior data set includes a first number of input behavior data, the first number exceeding a set number threshold; the familiar input method determination unit may include:
the first inertial input method determining subunit is used for calculating the ratio of the accumulated times of each input method to the first number;
the second conventional input method determining subunit is used for selecting the input method with the largest ratio and judging whether the ratio of the input method exceeds a set ratio threshold value or not;
and the third habitual input method determining subunit is used for determining the input method with the largest ratio as the habitual input method of the user when the judgment result of the second habitual input method determining subunit is yes.
Further, the input information determination device provided in the embodiment of the present application is described, and the input information determination device described below and the input information determination method described above may be referred to in correspondence with each other.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an input information determining apparatus disclosed in an embodiment of the present application, and as shown in fig. 8, the apparatus includes:
an encoded information acquisition unit 21 for acquiring encoded information composed of characters input by a user;
a valid english phrase determining unit 22, configured to determine whether the encoded information is a valid english phrase;
a mapping phrase query unit 23, configured to determine, when the determination result of the valid english phrase determining unit is negative, a mapping phrase corresponding to the coding information in the input method lexicon corresponding to the input method that is used by the user;
an input information determining unit 24, configured to determine the mapping phrase as input information.
The input information determining apparatus disclosed in the present application may determine that a user has performed a wrong operation if it is determined that the encoding information is not a valid english phrase after acquiring the encoding information composed of the input characters, and therefore, determine a mapping phrase corresponding to the encoding information according to an input method used by the user, and use the mapping phrase as the input information. According to the method and the device, when the user operates the coded information in the character form by mistake, the mapping phrase corresponding to the coded information is determined according to the user familiar input method, the mapping phrase is likely to be the content really expected to be input by the user, the probability of re-input by the user is effectively reduced, and the use of the user is facilitated.
Optionally, the apparatus of the present application may further include:
the target edited input behavior data searching unit is used for searching the edited input behavior data and determining whether the target edited input behavior data exists or not, wherein a character combination contained in the target edited input behavior data is the same as the coding information; if not, executing the mapping phrase query unit, and if so, executing editing and then inputting a phrase determination unit;
and the edited input phrase determining unit is used for determining phrases contained in the target edited input behavior data as input information.
Optionally, the input information determining unit includes:
the first input information determining subunit is used for determining the only mapping phrase as the input information if the number of the mapping phrases is one;
the second input information determining subunit is used for displaying each mapping phrase to a user if the number of the mapping phrases is more than one;
and the third input information determining subunit is used for responding to the selection operation of the user on the target mapping phrase in each displayed mapping phrase and determining the target mapping phrase as the input information.
Optionally, the apparatus of the present application may further include:
and the searching unit is used for responding to the searching operation of the user and searching by taking the input information as a searching keyword.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. An input information determination method, based on a customary input method determination method, comprising:
acquiring coding information which is input by a user and consists of characters;
judging whether the coding information is a valid English phrase;
if not, determining a mapping phrase corresponding to the coding information in an input method word bank corresponding to the input method familiar to the user;
determining the mapping phrase as input information;
the conventional input method determination method comprises the following steps:
acquiring an input behavior data set of a user, wherein the input behavior data set comprises a plurality of pieces of input behavior data, and each piece of input behavior data comprises an actually input phrase and a key combination triggered by the user in the phrase input process;
determining a character combination corresponding to the key combination in each piece of input behavior data to obtain edited input behavior data consisting of actually input phrases and the character combination;
determining an input method with a target coding mapping relation according to each piece of edited input behavior data, and increasing and setting an increment value for the accumulated times of the input method; the target coding mapping relation is a coding mapping relation from character combinations contained in the edited input behavior data to word groups;
according to the accumulated times of each input method, determining the input method of which the accumulated times meets the set accumulated times condition as the input method used by the user;
the determining a character combination corresponding to the key combination in each piece of input behavior data includes:
determining whether the key combination contains an editing type key;
if not, converting the key combination sequence into character combinations according to characters corresponding to the keys;
if yes, converting the key combination sequence into a combination of characters and editing key names;
and editing the characters in the combination of the characters and the name of the editing key according to the editing function corresponding to the name of the editing key to obtain an edited character combination.
2. The method of claim 1, wherein the set of input behavior data comprises a first amount of input behavior data, the first amount exceeding a set amount threshold; the input method which determines the input method of which the accumulated times meet the set accumulated times condition as the input method which is used by the user according to the accumulated times of each input method comprises the following steps:
calculating the ratio of the accumulated times of each input method to the first number;
selecting an input method with the largest ratio, and judging whether the ratio of the input method exceeds a set ratio threshold value or not;
if so, determining the input method with the maximum ratio as the input method used by the user.
3. The method of claim 1, wherein after determining that the coding information is not a valid english word group, the determining that the input method dictionary corresponding to the input method used by the user is prior to the mapping word group corresponding to the coding information further comprises:
searching the edited input behavior data, and determining whether target edited input behavior data exists or not, wherein the character combination contained in the target edited input behavior data is the same as the coding information;
if not, executing the operation of determining the mapping word group corresponding to the coding information in the input method word stock corresponding to the input method used by the user;
and if so, determining the phrases contained in the input behavior data after the target editing as input information.
4. The method of claim 1, wherein determining the mapping phrase as input information comprises:
if the number of the mapping phrases is one, determining the only one mapping phrase as input information;
if the number of the mapping phrases is more than one, displaying each mapping phrase to a user;
and responding to the selection operation of the user on the target mapping phrase in each displayed mapping phrase, and determining the target mapping phrase as the input information.
5. The method of claim 3 or 4, further comprising:
and responding to the search operation of the user, and searching by taking the input information as a search keyword.
6. An input information determination device characterized by comprising, based on a familiar input method, an input information determination device:
the encoding information acquisition unit is used for acquiring encoding information consisting of characters input by a user;
the valid English phrase judging unit is used for judging whether the coding information is a valid English phrase;
a mapping phrase query unit, configured to determine, when the determination result of the valid english phrase determination unit is negative, a mapping phrase corresponding to the coding information in the input method lexicon corresponding to the input method that is used by the user;
an input information determining unit for determining the mapping phrase as input information;
the familiar input method determination device includes:
the device comprises a set acquisition unit, a storage unit and a processing unit, wherein the set acquisition unit is used for acquiring an input behavior data set of a user, the input behavior data set comprises a plurality of pieces of input behavior data, and each piece of input behavior data comprises an actually input phrase and a key combination triggered by the user in the phrase input process;
the key conversion unit is used for determining a character combination corresponding to the key combination in each piece of input behavior data to obtain edited input behavior data consisting of actually input phrases and the character combination;
the input method accumulation unit is used for determining an input method with a target coding mapping relation aiming at each piece of edited input behavior data and increasing and setting an increment value for the accumulation times of the input method; the target coding mapping relation is a coding mapping relation from character combinations contained in the edited input behavior data to word groups;
the habitual input method determining unit is used for determining the input method of which the accumulated times meet the set accumulated times condition as the habitual input method of the user according to the accumulated times of each input method;
the key conversion unit includes:
the first key conversion subunit is used for determining whether the key combination comprises an editing type key;
the second key conversion subunit is used for converting the key combination sequence into a character combination according to the characters corresponding to the keys when the judgment result of the first key conversion subunit is negative;
the third key conversion subunit is used for converting the key combination sequence into a combination of characters and names of editing keys when the judgment result of the first key conversion subunit is yes;
and the fourth key conversion subunit is used for editing the characters in the combination of the characters and the name of the editing key according to the editing function corresponding to the name of the editing key to obtain an edited character combination.
CN201611220339.8A 2016-12-26 2016-12-26 Conventional input method determining method and device and input information determining method and device Active CN106610733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611220339.8A CN106610733B (en) 2016-12-26 2016-12-26 Conventional input method determining method and device and input information determining method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611220339.8A CN106610733B (en) 2016-12-26 2016-12-26 Conventional input method determining method and device and input information determining method and device

Publications (2)

Publication Number Publication Date
CN106610733A CN106610733A (en) 2017-05-03
CN106610733B true CN106610733B (en) 2020-03-06

Family

ID=58636749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611220339.8A Active CN106610733B (en) 2016-12-26 2016-12-26 Conventional input method determining method and device and input information determining method and device

Country Status (1)

Country Link
CN (1) CN106610733B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108037875B (en) * 2017-12-12 2020-06-02 北京小米移动软件有限公司 Method, device and storage medium for switching input modes

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556508A (en) * 2009-05-08 2009-10-14 腾讯科技(深圳)有限公司 Candidate phrase generating method, equipment, system and device in input method
CN101739143A (en) * 2009-12-03 2010-06-16 腾讯科技(深圳)有限公司 Character inputting method and character inputting system
CN102830924A (en) * 2012-08-08 2012-12-19 北京小米科技有限责任公司 Method and device for adjusting input method keyboards
CN103440046A (en) * 2013-09-02 2013-12-11 百度在线网络技术(北京)有限公司 Japanese language input method and system
CN104317416A (en) * 2014-10-10 2015-01-28 北京搜狗科技发展有限公司 Input method and input device
CN105302332A (en) * 2014-07-25 2016-02-03 中国移动通信集团公司 Pinyin input method and realization apparatus thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034403A (en) * 2007-04-06 2007-09-12 华南理工大学 Intelligent search method of small keyboard electronic dictionary
CN101398715B (en) * 2007-09-24 2010-06-02 普天信息技术研究院有限公司 Multi-type character mixing input method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556508A (en) * 2009-05-08 2009-10-14 腾讯科技(深圳)有限公司 Candidate phrase generating method, equipment, system and device in input method
CN101739143A (en) * 2009-12-03 2010-06-16 腾讯科技(深圳)有限公司 Character inputting method and character inputting system
CN102830924A (en) * 2012-08-08 2012-12-19 北京小米科技有限责任公司 Method and device for adjusting input method keyboards
CN103440046A (en) * 2013-09-02 2013-12-11 百度在线网络技术(北京)有限公司 Japanese language input method and system
CN105302332A (en) * 2014-07-25 2016-02-03 中国移动通信集团公司 Pinyin input method and realization apparatus thereof
CN104317416A (en) * 2014-10-10 2015-01-28 北京搜狗科技发展有限公司 Input method and input device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"中英文免切换 百度手机输入法3.6版抢鲜看";本刊编辑;《计算机与网络》;20130612(第11期);正文第2-5段 *

Also Published As

Publication number Publication date
CN106610733A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US7809719B2 (en) Predicting textual candidates
US8539350B2 (en) Automatic language selection for improving text accuracy
US7974979B2 (en) Inquiry-oriented user input apparatus and method
US9170706B2 (en) Query box polymorphism
CN111444705A (en) Error correction method, device, equipment and readable storage medium
US10152473B2 (en) English input method and input device
US20070237310A1 (en) Alphanumeric data entry apparatus and method using multicharacter keys of a keypad
CN106610733B (en) Conventional input method determining method and device and input information determining method and device
RU2510524C2 (en) WuBi INPUT SYSTEM AND METHOD
EP2202612B1 (en) Automatic language selection for improving text accuracy
JP5271526B2 (en) Trademark search system and trademark search server
CN106774981B (en) Usual input method determines that method, apparatus and input information determine method, apparatus
CN110010131B (en) Voice information processing method and device
KR20180007183A (en) sentence input method and devices using the Representative of alphabet with the spaces
CN110807322A (en) Method, device, server and storage medium for identifying new words based on information entropy
CN106610732A (en) Input information determination method and device
JP6549441B2 (en) INPUT SUPPORT DEVICE, PROGRAM, AND INPUT SUPPORT METHOD
CN109085932B (en) Candidate entry adjustment method, device, equipment and readable storage medium
CN106648144A (en) Quick vocabulary input method and device based on numeric keyboard
CN109144290B (en) Candidate entry adjustment method, device, equipment and readable storage medium
KR100921770B1 (en) Address input system and method thereof
KR101910491B1 (en) A method and apparatus for efficient string similarity search based on generating inverted list of variable length grams
KR100608786B1 (en) Telephone directory searching method using wild card in mobile communication terminal
JP2005107614A (en) User dictionary registration program, system and method
CN117850636A (en) Dictionary pen input method, dictionary pen input device, electronic equipment and storage medium

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