CN112684910A - Input method candidate word display method and device and electronic equipment - Google Patents

Input method candidate word display method and device and electronic equipment Download PDF

Info

Publication number
CN112684910A
CN112684910A CN202011592963.7A CN202011592963A CN112684910A CN 112684910 A CN112684910 A CN 112684910A CN 202011592963 A CN202011592963 A CN 202011592963A CN 112684910 A CN112684910 A CN 112684910A
Authority
CN
China
Prior art keywords
input
character string
character
candidate
key
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.)
Pending
Application number
CN202011592963.7A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011592963.7A priority Critical patent/CN112684910A/en
Publication of CN112684910A publication Critical patent/CN112684910A/en
Priority to PCT/CN2021/140475 priority patent/WO2022143341A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • 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
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

The application discloses a method and a device for displaying candidate words of an input method and electronic equipment, belongs to the technical field of communication, and can solve the problem that the accuracy of the candidate words displayed by the electronic equipment is low under the condition that a user mistakenly touches keys in an input method keyboard. The method comprises the following steps: receiving a first input of a first character string input on an input method keyboard; responding to the first input, and under the condition that the first character string meets a first preset condition, displaying at least one candidate item according to the first character string and N second character strings, wherein the N second character strings are determined according to input coordinates of the first input on the input method keyboard, and N is a positive integer. Wherein the first preset condition comprises at least one of the following: the semantics of the candidate items corresponding to the first character string are incomplete, and the initial consonant and the final sound in the first character string are not matched; the at least one candidate item comprises at least one of: the candidate corresponding to the first character string and the candidate corresponding to each second character string in the N second character strings.

Description

Input method candidate word display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for displaying candidate words of an input method and electronic equipment.
Background
Currently, in the process of inputting characters through an input method keyboard of an electronic device, the electronic device may display a character string indicated by keys and some candidate words corresponding to the character string according to the keys in the input method keyboard clicked by a user, and then the user may select a desired word from the candidate words.
However, in the above process, there is a case where the character string input by the user does not meet the user's expectation due to an input error or a false touch of another key, so that the candidate word displayed by the electronic device may not coincide with the word intended by the user. Therefore, the accuracy of the candidate words displayed by the electronic equipment is low.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for displaying candidate words of an input method and electronic equipment, and the problem that the accuracy of the candidate words displayed by the electronic equipment is low can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for displaying candidate words of an input method, where the method includes: receiving a first input of a first character string input on an input method keyboard; responding to the first input, and under the condition that the first character string meets a first preset condition, displaying at least one candidate item according to the first character string and N second character strings, wherein the N second character strings are determined according to input coordinates of the first input on the input method keyboard, and N is a positive integer. Wherein the first preset condition comprises at least one of the following: the semantics of the candidate items corresponding to the first character string are incomplete, and the initial consonant and the final sound in the first character string are not matched; the at least one candidate item includes at least one of: the candidate corresponding to the first character string and the candidate corresponding to each second character string in the N second character strings.
In a second aspect, an embodiment of the present application provides an input method candidate word display apparatus, including: the device comprises a receiving module and a display module. The receiving module is used for receiving a first input of a first character string input on the input method keyboard. And the display module is used for responding to the first input received by the receiving module, and displaying at least one candidate item according to the first character string and N second character strings under the condition that the first character string meets a first preset condition, wherein the N second character strings are determined according to the input coordinates of the first input on the input method keyboard, and N is a positive integer. Wherein the first preset condition comprises at least one of the following: the semantics of the candidate items corresponding to the first character string are incomplete, and the initial consonant and the final sound in the first character string are not matched; the at least one candidate item includes at least one of: the candidate corresponding to the first character string and the candidate corresponding to each second character string in the N second character strings.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method as in the first aspect described above.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method as in the first aspect.
In the embodiment of the application, a first input of inputting a first character string on an input method keyboard can be received; and responding to the first input, and under the condition that the first character string meets a first preset condition, displaying at least one candidate item according to the first character string and N second character strings, wherein the N second character strings are determined according to input coordinates of the first input on the input method keyboard, and N is a positive integer. Wherein the first preset condition comprises at least one of the following: the semantics of the candidate items corresponding to the first character string are incomplete, and the initial consonant and the final sound in the first character string are not matched; the at least one candidate item includes at least one of: the candidate corresponding to the first character string and the candidate corresponding to each second character string in the N second character strings. Through the scheme, under the condition that a user clicks a key of the input method keyboard to trigger the input of the first character string, the first character string can be judged to meet the first preset condition when the user mistakenly touches the key of the input method keyboard, so that N second character strings can be determined according to input coordinates input on the input method keyboard, and at least one candidate item which possibly meets the actual requirement of the user can be displayed according to the first character string and the N second character strings. Therefore, the accuracy of the candidate words displayed by the electronic equipment is improved.
Drawings
Fig. 1 is a schematic diagram of a process of predicting a character string out of a word according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a method for displaying candidate words in an input method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a keyboard layout according to an embodiment of the present application;
fig. 4 is a schematic diagram of a keyboard key display provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a device for displaying candidate words in an input method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a hardware schematic diagram of an electronic device 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 some, but not all, embodiments of the present application. 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 terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," should not be construed as advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise specified, "a plurality" means two or more, for example, a plurality of letters means two or more letters, and the like.
The embodiment of the application provides a method, a device and electronic equipment for displaying candidate words of an input method, wherein a first input of a first character string input on an input method keyboard is received; responding to the first input, and under the condition that the first character string meets a first preset condition, displaying at least one candidate item according to the first character string and N second character strings, wherein the N second character strings are determined according to input coordinates of the first input on the input method keyboard, and N is a positive integer. Wherein the first preset condition comprises at least one of the following: the semantics of the candidate items corresponding to the first character string are incomplete, and the initial consonant and the final sound in the first character string are not matched; the at least one candidate item includes at least one of: the candidate corresponding to the first character string and the candidate corresponding to each second character string in the N second character strings. Through the scheme, when a user clicks an input method keyboard to input a first character string, if the user mistakenly touches a key, the first character string can be judged to meet a first preset condition, so that at least two candidate items can be jointly obtained and displayed according to the first character string and N second character strings determined by input coordinates on the input method keyboard, and the at least two candidate items possibly comprise candidate items actually wanted by the user. Therefore, the accuracy of the candidate words displayed by the electronic equipment is improved.
The method, the apparatus, and the electronic device for displaying candidate words of an input method according to the embodiments of the present application are described in detail below with reference to the accompanying drawings.
It should be noted that the input method candidate word display method provided in the embodiment of the present application is applied to electronic devices. As shown in fig. 1, the electronic device includes an input method client, a prediction model, and a word model. The input method client is used for providing different types of input methods and input method keyboards corresponding to the input methods; the prediction model is used for predicting character strings which are possibly input by a user according to the key positions of the user on an input method keyboard provided by the input method client; the word extraction model is used for retrieving and acquiring words or sentences, such as candidate words, corresponding to the predicted character strings from the word stock according to the character strings predicted by the prediction model.
Specifically, under the condition that the electronic equipment displays an input method keyboard, a user can click some keys on the input method keyboard according to actual needs; then the input method client side can send the key position information of the user on the input method keyboard and the layout information of the input method keyboard to the prediction model; then, under the condition that the prediction model judges that the original character strings (namely the first character strings) corresponding to the keys input by the user have mistaken touch characters, the prediction character strings (namely the second character strings) can be obtained according to the key information of the user on the input method keyboard and the layout information of the input method keyboard, and are sent to the word output model; and finally, the word output model searches from a word stock according to the original character string and the predicted character string to obtain a candidate item corresponding to the original character string and the predicted character string, and displays the candidate item in a candidate item display area of the input method client.
As shown in fig. 2, an embodiment of the present application provides a method for displaying candidate words of an input method, where the method includes the following steps S101 and S102.
S101, the input method candidate word display device receives a first input of a first character string input on an input method keyboard.
It should be noted that, in the embodiment of the present application, the electronic device supports different types of input methods, so that the electronic device may store different types of input method keyboards. It is to be understood that the input method keyboard may be any type of input method keyboard in an electronic device, which may be determined according to practical situations, and the embodiment of the present application is not limited thereto. For example, the input method keyboard is a 9-key keyboard of a pinyin input method; for another example, the input method keyboard is a pinyin input method 26-key keyboard.
Optionally, the first character string may be any one of the following types of character strings: a hanyupinyin character string, an english alphabet character string, a radical character string or a character string under other possible input method schemes. The method can be determined according to practical application, and the embodiment of the application is not limited to the method.
Further, in the case that the first character string is a hanyu pinyin character string, the hanyu pinyin character string may be a full pinyin character string, a simple pinyin character string, a fuzzy pinyin character string, a custom character string, or the like. The method can be determined according to practical application, and the embodiment of the application is not limited to the method.
It will be appreciated that for different types of input method keyboards, the type of string entered on the input method keyboard will vary accordingly. Namely, the first character string has a corresponding relation with the input method keyboard.
For example, assume that the input method keyboard is a pinyin input method keyboard, and accordingly, the first character string is a chinese pinyin string composed of a plurality of letters. The input method keyboard is assumed to be an English input method keyboard, and accordingly, the first character string is an English letter string composed of a plurality of letters. Assuming that the input method keyboard is a stroke input method keyboard, accordingly, the first character string is a plurality of radical components.
Optionally, the first input may be a touch input, a voice input, or other possible inputs on an input method keyboard. For example, the touch input is a click input of a key on the input method keyboard by a user. Of course, the first input may also be other possible inputs, which is not limited in this embodiment of the application.
S102, the input method candidate word display device responds to the first input, and displays at least one candidate according to the first character string and the N second character strings under the condition that the first character string meets a first preset condition.
And the N second character strings are determined according to the input coordinates of the first input on the input method keyboard, and N is a positive integer. The first preset condition includes at least one of: the semantics of the candidate items corresponding to the first character string are incomplete, and the initial consonant and the final sound in the first character string are not matched. The at least one candidate item comprises at least one of: the candidate corresponding to the first character string and the candidate corresponding to each second character string in the N second character strings.
It should be noted that, if it is determined that the semantics of the candidate corresponding to the first character string are incomplete, or the initial consonant and the final sound in the first character string are not matched, that is, the first character string satisfies the first preset condition, the input method candidate word display apparatus may determine that, when the user inputs the first character string, the user may mistakenly touch a key in the input method keyboard, so that the N second character strings may be determined according to the input coordinates of the first input on the input method keyboard. That is, the N second character strings are predicted character strings determined according to the input coordinates of the input first character string.
Specifically, the semantic error of the candidate corresponding to the first character string may include the following possible cases:
(1) the first candidate corresponding to the first character string is not a sentence with complete sentence meaning or a word with complete semantic meaning.
(2) And the semantic contradiction of the candidate item corresponding to the first character string is solved.
(3) The semantics of the candidate corresponding to the first character string generate ambiguity.
It is understood that the description of semantic error of the candidate corresponding to the first character string in the foregoing embodiments is only provided for some possible cases in the embodiments of the present application. Of course, the semantic error of the candidate corresponding to the first character string may also include other possible situations, which is not limited in this embodiment of the application.
Optionally, assuming that the candidates corresponding to the first character string include S candidates, and the candidates corresponding to the N second character strings include T candidates, in one case, the candidates of the partial candidates in the S candidates and the candidates of the partial candidates in the T candidates may be the same; in another case, the S candidates and the T candidates are completely different. Wherein S and T are both positive integers.
It should be noted that, in the embodiment of the present application, the candidate of the character string may be a word or a sentence. The method is determined according to actual conditions, and the embodiment of the application is not limited to the method.
Optionally, the S102 may specifically include: the input method candidate word display device responds to a first input, acquires a plurality of candidate items matched with a first character string and N second character strings from a word stock according to the first character string and the N second character strings under the condition that the first character string meets a first preset condition, and displays at least one of the candidate items.
Further, after the input method candidate word display apparatus obtains, from the lexicon, a plurality of candidate words matched with the first character string and the N second character strings according to the first character string and the N second character strings, the input method candidate word display method provided in the embodiment of the present application may further include: the input method candidate word display device performs duplication removal and sorting processing on the candidate items; and sequentially displaying the candidate items in a candidate window of the input method keyboard according to the sorted sequence. It should be noted that the ranking order of the multiple candidates may be determined according to the user history data, or according to the frequency of use of each candidate of big data statistics, or according to other possible methods. The method can be determined according to actual conditions, and is not limited in the embodiment of the application.
Specifically, for a plurality of candidates obtained according to the first character string and the N second character strings, the embodiment of the present application may provide the following two possible display manners:
(1) in the case where a plurality of candidates can be all displayed, the plurality of candidates are displayed. I.e. at least one candidate is the plurality of candidates.
(2) And displaying partial candidates in the plurality of candidates, wherein at least one candidate is a partial candidate. Thus, after S102, the method for displaying candidate words in an input method according to the embodiment of the present application may further include: receiving input of a user; in response to the input, displaying candidates of the plurality of candidates other than at least one candidate. For example, the user may trigger the display of a candidate other than at least one of the plurality of candidates by clicking on a drop-down button.
Optionally, before "displaying at least one candidate according to the first character string and the N second character strings" in S102, the method for displaying candidate words for an input method provided in the embodiment of the present application may further include S102A and S102B described below.
S102A, the input method candidate word display device obtains the key layout information of the input method keyboard.
Optionally, in this embodiment of the application, the key layout information of the input method keyboard may include information such as a keyboard type of the input method keyboard, a keyboard size, and a position coordinate of each key in the input method keyboard. Further, the input method candidate word display apparatus may generate a keyboard layout table from the keyboard type, the keyboard size, and the position coordinates, store the keyboard layout table in a database of the electronic device, and transmit the keyboard layout table to the prediction model in the electronic device.
Illustratively, the keyboard type may be a pinyin full key or a pinyin nine key; the keyboard size may include a width of the keyboard and a height of the keyboard; the position coordinates of each key may be the upper left corner coordinates or the lower right corner coordinates of each key.
Such as the input method keypad shown in fig. 3. The keyboard type is a full-spelling keyboard, the keyboard size can comprise the width of the full-spelling keyboard and the height of the full-spelling keyboard, and the coordinates of the upper left corner and the lower right corner are determined by each key. Take the key "F" corresponding to the letter "F" as an example. Assuming that the coordinate of the upper left corner of the key "F" is (480,240) and the coordinate of the lower right corner is (600,435), then by addition it can be found that: key width: 600-; the height of the key is as follows: 435-.
It should be noted that, in the embodiment of the present application, the input method candidate word display device acquires the key layout information of the input method keyboard in real time, so that when a user triggers switching of the keyboard type of the input method keyboard, the key layout information of the input method keyboard after switching may be acquired in real time again, and the key layout information acquired in real time is sent to the prediction model in the electronic device.
And S102B, determining input coordinates by the input method candidate word display device according to the key layout information and the input position of the first input on the input method keyboard.
Specifically, S102 may include: the input method candidate word display device responds to the first input, acquires key layout information of an input method keyboard under the condition that the first character string meets a first preset condition, determines input coordinates according to the key layout information and the input position of the first input on the input method keyboard, and displays at least one candidate item according to the first character string and the N second character strings.
Alternatively, in the embodiment, the input coordinates may include an abscissa and an ordinate. In addition, the input coordinate may be a specific coordinate value, or a coordinate interval. The method is determined according to actual conditions, and the embodiment of the application is not limited to the method.
It can be understood that, since the key layout information includes specific coordinate information of each key in the input method keyboard, according to the input position of a certain key of the first input on the input method keyboard, the coordinate value of the input coordinate or the coordinate interval of the first input on the input method keyboard can be calculated. In this way, preparation conditions are provided for determining the adjacent key of the key corresponding to the target character in the first character string.
Illustratively, as shown in fig. 3, assuming that the input position of the first input is the upper left corner position of the key "F", the input coordinate is (480,240); assuming that the input position of the first input is the middle position of the key "F", the abscissa of the input coordinates belongs to the interval (480, 600) and the ordinate belongs to the interval (240, 435).
Alternatively, S102 may be specifically implemented by S102C to S102E described below.
S102C, the input method candidate word display device responds to the first input, and under the condition that the first character string meets a first preset condition, the target key is determined according to the input coordinate and the key layout information of the input method keyboard.
The target key is an adjacent key of a key corresponding to a target character in the first character string.
Optionally, in this embodiment of the application, the target character is a character in the first character string that results in incomplete semantics of the candidate corresponding to the first character string, or a character in the first character string that an initial consonant and a final sound are unmatched. In addition, the number of the target characters may be plural or one. It should be noted that one target character corresponds to one target key.
Optionally, under the condition that the number of the target characters is one, the number of the target keys is also one; in the case that the number of the target characters is multiple, each of the target characters corresponds to one target key, that is, multiple target characters correspond to multiple target keys.
Optionally, in this embodiment of the application, the key layout information of the input method keyboard may further include that each key corresponds to a preset region, and the preset region includes a plurality of sub-regions. Wherein different sub-regions correspond to different adjacent keys. Therefore, different sub-regions in the key are fallen into according to different input coordinates, so that different sub-regions correspond to different adjacent keys, and the obtained adjacent keys are different, namely target keys are different.
For example, the input method keyboard is taken as a full-spelling input method keyboard. As shown in fig. 4, a key "K" in the full-spelling input method corresponds to a preset area: region 01. The area 01 is a hot area of the key "K", i.e. when the user clicks the area 1, it means that the key "K" is clicked. This area 01 is comprised of sub-area 02, sub-area 03, … … and sub-area 07. After the user clicks the key "K", if the input coordinate of the click input falls in the sub-region 02, it indicates that the adjacent key of the key "K" is the key "O", that is, the target key is the key "O"; if the input coordinate of the click input falls in the sub-region 03, the adjacent key of the key K is the key I, namely the target key is the key I; if the input coordinate of the click input falls in the sub-area 04, the adjacent key is not calculated; if the input coordinate of the click input falls in the sub-region 05, the adjacent key of the key K is the key M, namely the target key is the key M; if the input coordinate of the click input falls in the sub-area 06, the adjacent key indicating the key "K" is the key "L", that is, the target key is the key "L". If the input coordinate of the click input falls in the sub-region 07, the adjacent key indicating the key "K" is the key "J", that is, the target key is the key "J".
S102D, the input method candidate word display device obtains N second character strings according to the characters corresponding to the target keys and the characters except the target characters in the first character string.
Optionally, the step S102D may specifically include: and according to the character arrangement sequence in the first character string, arranging and combining the characters corresponding to the target keys and the characters except the target characters in the first character string to obtain N second character strings.
It can be understood that, under the condition that the first character string satisfies the first preset condition, since the target key can be determined according to the input coordinate and the key layout information of the input method keyboard, N second character strings can be obtained according to the character corresponding to the target key and the characters, except the target character, in the first character string, so that the candidate items can be obtained through the N second character strings in addition to the first character string. Thus, more choices are provided for the user.
Optionally, for the above S102D, the embodiment of the present application provides the following two possible implementation manners:
one possible implementation:
alternatively, the above S102D may be specifically realized by a1 and a2 described below.
A1, the input method candidate word display device obtains M second character strings according to the characters corresponding to the target keys and the characters of the first character string except the target characters.
Wherein M is an integer greater than 1.
And A2, filtering the second character strings meeting a second preset condition in the M second character strings by the input method candidate word display device to obtain N second character strings.
Wherein the second preset condition includes at least one of the following: the initial consonant and the final in the second character string are not matched, and the semantic meaning of the candidate item corresponding to the second character string is incomplete.
It should be noted that the prediction model of the electronic device includes a set of grammar model, so that the grammar model can filter out the second character strings that do not meet the grammar condition from the M second character strings, that is, filter out the second character strings that meet the second preset condition from the M second character strings, to obtain the N second character strings.
Optionally, for the incomplete description of the semantics of the candidate item corresponding to the second character string, reference may be made to the detailed description of the incomplete semantics of the candidate item corresponding to the first character string in the foregoing embodiment, and details of this description are not repeated in this embodiment of the application.
It can be understood that, since the second character strings meeting the second preset condition can be filtered out from the M second character strings, the efficiency of retrieving the candidate items from the lexicon is improved; furthermore, the initial consonants and the vowels of each second character string in the obtained N second character strings are matched, and the semantic meaning of the candidate item corresponding to each second character string is complete, so that the accuracy of the obtained candidate item is improved.
Another possible implementation:
alternatively, the above S102D may be specifically realized by the following B1 and B2.
And B1, the input method candidate word display device obtains K second character strings according to the characters corresponding to the target keys and the characters of the first character string except the target characters.
Wherein K is an integer greater than 1.
B2, the input method candidate word display device selects N second character strings with the highest weight level from the K second character strings according to the weight level.
The weight level is used for indicating the use probability of the candidate item corresponding to the second character string. The weight level is determined according to at least one of the grammar of the second character string and the semantic meaning of the candidate item corresponding to the second character string.
It should be noted that different weight levels correspond to different usage probabilities. The higher the weight level of the second character string is, the higher the use probability corresponding to the second character string is; the lower the weight level of the second character string, the lower the probability of use corresponding to the second character string.
Optionally, for determining the weight level according to at least one of the syntax of the second character string and the semantics of the candidate corresponding to the second character string, several possible manners may be provided in the embodiment of the present application:
(1) and judging the grammatical rationality of each second character string in the K second character strings. A weight level for each second string is obtained.
Exemplarily, whether the initial consonant and the final in each second character string are matched or not is judged, and if the initial consonant and the final in one second character string are matched, the grammar of the one second character string is reasonable; if the initial consonant and the final sound in a second character string are not matched, the grammar of the second character string is unreasonable. In this manner, the grammatical rationality of each second string can be determined.
It should be noted that the syntax of a second string reasonably corresponds to the weight level of the second string. The higher the reasonable degree of grammar is, the higher the weight level is; the lower the grammatical degree, the lower the weight level.
(2) And judging the semantic integrity of the candidate item corresponding to each second character string to obtain the weight level of each second character string.
Illustratively, whether the candidate corresponding to each second character string is a word or a sentence with complete semantics is judged, so that the semantic completeness of the candidate corresponding to each second character string is determined.
It should be noted that the semantic completeness of the candidate corresponding to a second string corresponds to the weight level of the second string. The higher the semantic integrity degree is, the higher the weight level is; the lower the semantic integrity, the lower the weight level.
(3) And judging the universality of the candidate item corresponding to each second character string to obtain the weight level of each second character string.
For example, whether the candidate corresponding to one second character string is a candidate of a common collocation or a hot word collocation is determined, so that the generality degree of the candidate corresponding to each second character string can be determined.
It should be noted that the degree of generality of the candidate corresponding to one second string corresponds to the weight level of the corresponding second string. The higher the popularity, the higher the weight level; the lower the degree of commonality, the lower the weight level.
Further, after determining the weight levels of the second character strings of the K second character strings, the weight levels of the K second character strings may be sorted from high to low, and the N second character strings with the highest weight level may be selected from the K second character strings.
It can be understood that after K second character strings are obtained according to the character corresponding to the target key and the characters, except the target character, in the first character string, since N second character strings with the highest weight level can be selected from the K second character strings according to the weight level, candidates with higher use probabilities corresponding to the N second character strings can be obtained, and thus a user can select a word or a sentence that is more desirable from the candidates.
S102E, the input method candidate word display device displays at least one candidate according to the first character string and the N second character strings.
It is understood that, when the obtained plurality of second character strings (i.e., predicted character strings) cannot be filtered through the implementation of a1 and a2 in the above embodiments, the user may filter the obtained plurality of second character strings through the weight level of each second character string, i.e., the above B1 and B2 may be performed.
Alternatively, when the first character in the character string input by the user is touched by mistake and whether the key touched by mistake exists cannot be determined by a syntax error of the character string, the target key may be determined according to the input coordinates and the key layout information of the input method keyboard, and then the above S102D may be executed. Therefore, the number of the predicted second character strings is increased, and the probability that the candidate items corresponding to the second character strings are correct is improved.
For example, when the user clicks the button to input "bu" and the user actually wants to input "bi", the input method candidate word display device cannot determine whether the button is touched by mistake through the grammar, words and sentence meanings of pinyin. For another example, when the user clicks the key input "jib" and the user actually wants to input "jin", the input method candidate display device cannot determine that "b" input is a false touch of "n" or "b" is the next initial.
For example, the input method candidate word display device is taken as a mobile phone as an example. Suppose that a user triggers the electronic device to display a full keyboard of a pinyin input method. If the user wants to send information to the friend that the user has to eat the submarine fishing bar today, the user clicks a key in the full keyboard of the pinyin input method. When the user clicks a key to input 'jinianquchi' (the first character string), the predicted pinyin string output by the mobile phone is consistent with the original pinyin string. Then, when the user can continue to click the key to input the 'jinianquchi' character, the mobile phone judges that grammar errors exist in the character string 'jinianquchi' (namely the first character string), namely the user can mistakenly touch the key, so that the mobile phone can determine that the adjacent key of the key 'u' is the 'key i' (namely the target key) according to the keyboard layout information of the full keyboard of the pinyin input method and the input coordinate obtained when the 'key u' is clicked, and the mobile phone can predict that the key 'i' is input by the user. Then, when the user continues to click the button to input the "jinianquchuhauudo", because there is a grammar error in the character string "jinianquchuhauudo", the mobile phone can determine that the adjacent button of the button "o" is the button "i" in the same manner as the above process, that is, the mobile phone can predict that the button "i" the user wants to input. By analogy, when the user continues to click the key to input the "jinianquchi haudolaobs", the mobile phone can determine that the adjacent key of the key "s" is the key "a", that is, the mobile phone can predict that the key "a" the user wants to input, so that the predicted pinyin string (i.e., the second character string) "can be obtained. Because the predicted character string "jinianquchiahalidooba" conforms to the grammar model condition, the mobile phone can simultaneously input the predicted character string "jinianquhalidooba" and the first character string "jinianquhalidooba" into the word output model for word output, so that the mobile phone obtains the candidate item corresponding to the predicted character string and the candidate item corresponding to the first character string by searching in the word stock, and arranges the candidate item "go to eat the seabed fishing bar" which best conforms to the expectation of the user at the top.
The embodiment of the application provides a method for displaying candidate words of an input method, under the condition that a user clicks a key of an input method keyboard to trigger input of a first character string, since the first character string can be judged to meet a first preset condition when the user mistakenly touches the key of the input method keyboard, N second character strings can be determined according to input coordinates input on the input method keyboard, and at least one candidate item which possibly meets actual requirements of the user can be displayed according to the first character string and the N second character strings. Therefore, the accuracy of the candidate words displayed by the electronic equipment is improved.
It should be noted that, in the input method candidate word display method provided in the embodiment of the present application, the execution main body may be an input method candidate word display device (for example, the input method candidate word display device is an electronic device or a function module in the electronic device), or a control module in the input method candidate word display device for executing the input method candidate word display method. In the embodiment of the present application, an example in which the input method candidate word display apparatus executes the input method candidate word display method is taken as an example, and the input method candidate word display apparatus provided in the embodiment of the present application is described.
As shown in fig. 5, an input method candidate word display apparatus 200 according to an embodiment of the present disclosure may include a receiving module 201 and a display module 202. The receiving module 201 may be configured to receive a first input for inputting a first character string on an input method keyboard. The display module 202 may be configured to, in response to the first input received by the receiving module 201, display at least one candidate item according to the first character string and N second character strings when the first character string satisfies a first preset condition, where the N second character strings are determined according to input coordinates of the first input on the input method keyboard, and N is a positive integer. Wherein the first preset condition comprises at least one of the following: the semantics of the candidate items corresponding to the first character string are incomplete, and the initial consonant and the final sound in the first character string are not matched; the at least one candidate item includes at least one of: the candidate corresponding to the first character string and the candidate corresponding to each second character string in the N second character strings.
Optionally, the input method candidate word display apparatus may further include a determining module 203. The determining module 203 may be configured to determine a target key according to the input coordinate and the key layout information of the input method keyboard, where the target key is an adjacent key of a key corresponding to a target character in the first character string; and obtaining N second character strings according to the characters corresponding to the target key and the characters of the first character string except the target character.
Optionally, the determining module 203 may be specifically configured to obtain M second character strings according to the character corresponding to the target key and the character in the first character string except the target character, where M is an integer greater than 1; and filtering the second character strings meeting a second preset condition in the M second character strings to obtain N second character strings. Wherein the second preset condition comprises at least one of: the initial consonant and the final in the second character string are not matched, and the semantic meaning of the candidate item corresponding to the second character string is incomplete.
Optionally, the determining module 203 may be specifically configured to obtain K second character strings according to the character corresponding to the target key and the character in the first character string except the target character, where K is an integer greater than 1; and selecting N second character strings with the highest weight level from the K second character strings according to the weight level, wherein the weight level is used for indicating the use probability of the candidate corresponding to the second character strings. Wherein the weight level is determined according to at least one of: the grammar reasonableness of the second character string, the semantic completeness of the candidate item corresponding to the second character string and the semantic universality of the candidate item corresponding to the second character string.
Optionally, the input method candidate word display apparatus may further include an obtaining module 204 and a determining module 203. The obtaining module 204 may be configured to obtain the key layout information of the input method keyboard before the displaying module 202 displays at least one candidate item according to the first character string and the N second character strings. A determining module 203, configured to determine input coordinates according to the key layout information and the input position of the first input on the input method keyboard, which are acquired by the acquiring module 204.
The embodiment of the application provides an input method candidate word display device, and under the condition that a user clicks a key of an input method keyboard to trigger input of a first character string, when the user mistakenly touches the key of the input method keyboard, the input method candidate word display device can judge that the first character string meets a first preset condition, so that N second character strings can be determined according to input coordinates input on the input method keyboard, and at least one candidate item which possibly meets actual requirements of the user can be displayed according to the first character string and the N second character strings. Therefore, the accuracy of the candidate words displayed by the electronic equipment is improved.
The input method candidate word display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The input method candidate word display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The input method candidate word display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 4, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and executable on the processor 301, where the program or the instruction is executed by the processor 301 to implement the processes of the foregoing embodiment of the method for displaying candidate words of an input method, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 407 may be configured to receive a first input for inputting a first character string on the input method keyboard. The display unit 406 may be configured to, in response to the first input received by the user input unit 407, in a case where the first character string satisfies a first preset condition, display at least one candidate item according to the first character string and N second character strings, where the N second character strings are determined according to input coordinates of the first input on the input method keyboard, and N is a positive integer. Wherein the first preset condition comprises at least one of the following: the semantics of the candidate items corresponding to the first character string are incomplete, and the initial consonant and the final sound in the first character string are not matched; the at least one candidate item includes at least one of: the candidate corresponding to the first character string and the candidate corresponding to each second character string in the N second character strings.
Optionally, the processor 410 may be configured to determine a target key according to the input coordinate and the key layout information of the input method keyboard, where the target key is an adjacent key of a key corresponding to a target character in the first character string; and obtaining N second character strings according to the characters corresponding to the target key and the characters of the first character string except the target character.
Optionally, the processor 410 may be specifically configured to obtain M second character strings according to the character corresponding to the target key and the characters in the first character string except for the target character, where M is an integer greater than 1; and filtering the second character strings meeting a second preset condition in the M second character strings to obtain N second character strings. Wherein the second preset condition comprises at least one of: the initial consonant and the final in the second character string are not matched, and the semantic meaning of the candidate item corresponding to the second character string is incomplete.
Optionally, the processor 410 may be specifically configured to obtain K second character strings according to the character corresponding to the target key and the characters in the first character string except for the target character, where K is an integer greater than 1; and selecting N second character strings with the highest weight level from the K second character strings according to the weight level, wherein the weight level is used for indicating the use probability of the candidate corresponding to the second character strings. Wherein the weight level is determined according to at least one of: the grammar reasonableness of the second character string, the semantic completeness of the candidate item corresponding to the second character string and the semantic universality of the candidate item corresponding to the second character string.
Optionally, the processor 410 may be further configured to obtain key layout information of the input method keyboard before the display unit 406 displays at least one candidate item according to the first character string and the N second character strings; and determining input coordinates according to the key layout information and the input position of the first input on the input method keyboard.
The embodiment of the application provides electronic equipment, and under the condition that a user clicks a key of an input method keyboard to trigger input of a first character string, the electronic equipment can determine that the first character string meets a first preset condition when the user mistakenly touches the key of the input method keyboard, so that the electronic equipment can determine N second character strings according to input coordinates input on the input method keyboard, and at least one candidate item which possibly meets the actual requirement of the user can be displayed according to the first character string and the N second character strings. Therefore, the accuracy of the candidate words displayed by the electronic equipment is improved.
It should be understood that, in the embodiment of the present application, the input unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned method for displaying candidate words of an input method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media such as a computer-read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and so forth.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the method for displaying candidate words in an input method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method in the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method for displaying candidate words of an input method is characterized by comprising the following steps:
receiving a first input of a first character string input on an input method keyboard;
responding to the first input, and under the condition that the first character string meets a first preset condition, displaying at least one candidate item according to the first character string and N second character strings, wherein the N second character strings are determined according to input coordinates of the first input on the input method keyboard, and N is a positive integer;
wherein the first preset condition comprises at least one of: semantic errors of candidate items corresponding to the first character string, wherein initials and finals in the first character string are not matched; the at least one candidate item comprises at least one of: a candidate corresponding to the first character string, a candidate corresponding to each of the N second character strings.
2. The method of claim 1, wherein before displaying at least one candidate item based on the first string and the N second strings, the method further comprises:
determining a target key according to the input coordinate and the key layout information of the input method keyboard, wherein the target key is an adjacent key of a key corresponding to a target character in the first character string;
and obtaining the N second character strings according to the characters corresponding to the target keys and the characters of the first character string except the target characters.
3. The method according to claim 2, wherein the obtaining the N second character strings according to the character corresponding to the target key and the characters of the first character string except the target character comprises:
obtaining M second character strings according to the characters corresponding to the target keys and the characters in the first character string except the target characters, wherein M is an integer larger than 1;
filtering the predicted character strings meeting a second preset condition in the M second character strings to obtain the N second character strings;
wherein the second preset condition comprises at least one of: the initial consonant and the final sound in the second character string are not matched, and the semantic meaning of the candidate item corresponding to the second character string is not wrong.
4. The method according to claim 2, wherein the obtaining the N second character strings according to the character corresponding to the target key and the characters of the first character string except the target character comprises:
obtaining K second character strings according to the characters corresponding to the target keys and the characters in the first character string except the target characters, wherein K is an integer larger than 1;
selecting the N second character strings with the highest weight level from the K second character strings according to the weight level, wherein the weight level is used for indicating the use probability of the candidate items corresponding to the second character strings;
wherein the weight level is determined according to at least one of the syntax of the second character string and the semantics of the candidate item corresponding to the second character string.
5. The method of claim 1, wherein before displaying at least one candidate item based on the first string and the N second strings, the method further comprises:
acquiring key layout information of the input method keyboard;
and determining the input coordinate according to the key layout information and the input position of the first input on the input method keyboard.
6. The input method candidate word display device is characterized by comprising a receiving module and a display module;
the receiving module is used for receiving a first input of a first character string input on the input method keyboard;
the display module is configured to, in response to the first input received by the receiving module, display at least one candidate item according to the first character string and N second character strings when the first character string satisfies a first preset condition, where the N second character strings are determined according to input coordinates of the first input on the input method keyboard, and N is a positive integer;
wherein the first preset condition comprises at least one of: the semantics of the candidate items corresponding to the first character string are incomplete, and the initial consonant and the final sound in the first character string are not matched; the at least one candidate item comprises at least one of: a candidate corresponding to the first character string, a candidate corresponding to each of the N second character strings.
7. The apparatus of claim 6, wherein the input method candidate word display apparatus further comprises a determination module;
the determining module is used for determining a target key according to the input coordinate and the key layout information of the input method keyboard, wherein the target key is an adjacent key of a key corresponding to a target character in the first character string; and obtaining the N second character strings according to the characters corresponding to the target keys and the characters of the first character string except the target characters.
8. The apparatus according to claim 7, wherein the determining module is specifically configured to obtain M second character strings according to the character corresponding to the target key and the characters in the first character string except for the target character, where M is an integer greater than 1; filtering second character strings meeting a second preset condition in the M second character strings to obtain N second character strings;
wherein the second preset condition comprises at least one of: the initial consonant and the final in the second character string are not matched, and the semantic meaning of the candidate item corresponding to the second character string is incomplete.
9. The apparatus of claim 7,
the determining module is specifically configured to obtain K second character strings according to the character corresponding to the target key and the characters in the first character string except the target character, where K is an integer greater than 1; and are
Selecting the N second character strings with the highest weight level from the K second character strings according to the weight level, wherein the weight level is used for indicating the use probability of the candidate items corresponding to the second character strings;
and determining the weight level according to at least one of the grammar of the second character string and the semantic of the candidate item corresponding to the second character string.
10. The device of claim 6, wherein the input method candidate word display device further comprises an acquisition module and a determination module;
the obtaining module is configured to obtain the key layout information of the input method keyboard before the display module displays the at least one candidate item according to the first character string and the N second character strings;
the determining module is configured to determine the input coordinate according to the key layout information acquired by the acquiring module and the input position of the first input on the input method keyboard.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the input method candidate word display method according to any one of claims 1-5.
12. A readable storage medium storing thereon a program or instructions which, when executed by a processor, implement the steps of the input method candidate word display method according to any one of claims 1 to 5.
CN202011592963.7A 2020-12-29 2020-12-29 Input method candidate word display method and device and electronic equipment Pending CN112684910A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011592963.7A CN112684910A (en) 2020-12-29 2020-12-29 Input method candidate word display method and device and electronic equipment
PCT/CN2021/140475 WO2022143341A1 (en) 2020-12-29 2021-12-22 Input method candidate word display method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011592963.7A CN112684910A (en) 2020-12-29 2020-12-29 Input method candidate word display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112684910A true CN112684910A (en) 2021-04-20

Family

ID=75453796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011592963.7A Pending CN112684910A (en) 2020-12-29 2020-12-29 Input method candidate word display method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112684910A (en)
WO (1) WO2022143341A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022143341A1 (en) * 2020-12-29 2022-07-07 维沃移动通信有限公司 Input method candidate word display method and apparatus, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184028A (en) * 2011-04-11 2011-09-14 百度在线网络技术(北京)有限公司 Method and equipment for acquiring candidate character strings corresponding to input key sequence
CN103136196A (en) * 2008-04-18 2013-06-05 上海触乐信息科技有限公司 Methods used for inputting text into electronic device and correcting error
WO2016107344A1 (en) * 2014-12-30 2016-07-07 北京奇虎科技有限公司 Method and device for screening on-screen candidate items of input method
CN107229348A (en) * 2016-03-23 2017-10-03 北京搜狗科技发展有限公司 A kind of input error correction method, device and the device for inputting error correction
CN107340880A (en) * 2016-05-03 2017-11-10 北京搜狗科技发展有限公司 A kind of association-feeding method, device and the electronic equipment for realizing association's input
CN110488990A (en) * 2019-08-12 2019-11-22 腾讯科技(深圳)有限公司 Input error correction method and device
CN111665956A (en) * 2020-04-17 2020-09-15 北京百度网讯科技有限公司 Processing method and device of candidate character string, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010465B2 (en) * 2008-02-26 2011-08-30 Microsoft Corporation Predicting candidates using input scopes
CN101710262B (en) * 2009-12-11 2015-09-30 北京搜狗科技发展有限公司 The character error correction method of coded string and device in input method
CN112684910A (en) * 2020-12-29 2021-04-20 维沃移动通信有限公司 Input method candidate word display method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136196A (en) * 2008-04-18 2013-06-05 上海触乐信息科技有限公司 Methods used for inputting text into electronic device and correcting error
CN102184028A (en) * 2011-04-11 2011-09-14 百度在线网络技术(北京)有限公司 Method and equipment for acquiring candidate character strings corresponding to input key sequence
WO2016107344A1 (en) * 2014-12-30 2016-07-07 北京奇虎科技有限公司 Method and device for screening on-screen candidate items of input method
CN107229348A (en) * 2016-03-23 2017-10-03 北京搜狗科技发展有限公司 A kind of input error correction method, device and the device for inputting error correction
CN107340880A (en) * 2016-05-03 2017-11-10 北京搜狗科技发展有限公司 A kind of association-feeding method, device and the electronic equipment for realizing association's input
CN110488990A (en) * 2019-08-12 2019-11-22 腾讯科技(深圳)有限公司 Input error correction method and device
CN111665956A (en) * 2020-04-17 2020-09-15 北京百度网讯科技有限公司 Processing method and device of candidate character string, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022143341A1 (en) * 2020-12-29 2022-07-07 维沃移动通信有限公司 Input method candidate word display method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2022143341A1 (en) 2022-07-07

Similar Documents

Publication Publication Date Title
US7555732B2 (en) Apparatus method and system for a data entry interface
CN100334529C (en) Reduced keyboard disambiguating system
CN104718543B (en) A kind of method and computing system for suggestion corrections
US9026428B2 (en) Text/character input system, such as for use with touch screens on mobile phones
CN101436110B (en) Method and device for performing ideogram and phonography input
US20040223644A1 (en) System and method for chinese input using a joystick
US8375058B2 (en) Process and apparatus for selecting an item from a database
EP2109046A1 (en) Predictive text input system and method involving two concurrent ranking means
EP2909741A2 (en) Incremental multi-word recognition
WO2009127168A1 (en) System capable of accomplishing flexible keyboard layout
US10664658B2 (en) Abbreviated handwritten entry translation
US7376938B1 (en) Method and system for disambiguation and predictive resolution
CN104123012A (en) Gesture keyboard input of non-dictionary character strings using substitute scoring
CN105074643A (en) Gesture keyboard input of non-dictionary character strings
CN112269475A (en) Character display method and device and electronic equipment
CN101369209B (en) Hand-written input device and method for complete mixing input
CN106354276A (en) Hybrid input method and device suitable for multiple input methods and electronic equipment
US9298276B1 (en) Word prediction for numbers and symbols
EP2410405A2 (en) Methods and apparatuses for statistically sorting characters for multi-tap keyboards
CN112684910A (en) Input method candidate word display method and device and electronic equipment
CN102292695A (en) Input device, information processing device, input method, and program
CN103279192A (en) Method and device for conducting input by using multi-meaning keyboard
JP4936650B2 (en) Similar word search device, method thereof, program thereof, and information search device
CN113126780A (en) Input method, input device, electronic equipment and readable storage medium
CN111966267A (en) Application comment method and device and electronic equipment

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