WO2016004893A1 - 一种文本信息的输入方法和装置 - Google Patents
一种文本信息的输入方法和装置 Download PDFInfo
- Publication number
- WO2016004893A1 WO2016004893A1 PCT/CN2015/083756 CN2015083756W WO2016004893A1 WO 2016004893 A1 WO2016004893 A1 WO 2016004893A1 CN 2015083756 W CN2015083756 W CN 2015083756W WO 2016004893 A1 WO2016004893 A1 WO 2016004893A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- text information
- screen
- appearance frequency
- candidate
- text
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0236—Character input methods using selection techniques to select from displayed items
Definitions
- the embodiment of the present invention claims the priority of the Chinese patent application filed on July 11, 2014, the Chinese Patent Office, the application number is 201410332496.2, and the invention name is "a method and device for inputting text information", the entire contents of which are incorporated by reference. In the embodiment of the invention.
- the present invention relates to the technical field of input methods, and in particular to a method for inputting text information and an input device for text information.
- the technical problem to be solved by the embodiments of the present invention is to provide a method for inputting text information to improve input efficiency.
- the embodiment of the invention further provides an input device for text information, which is used to ensure the implementation and application of the above method.
- an embodiment of the present invention discloses a method for inputting text information, including:
- the first text information includes all the key input strings corresponding to the on-screen text information, all of which are on Screen text information and the number of backspaces used for deletion;
- the second text information includes text information that is re-screened after the first text information appears in the input record history;
- the second text information is displayed in a specified location.
- the step of calculating, according to the first text information, the selection probability that the second text information is selected on the screen comprises:
- the selection probability that the candidate second text information is selected on the screen is calculated by using the following formula:
- Py-Ac is the first text information
- Py is a key input string corresponding to all the upper screen text information
- A is the all-on-screen text information
- c is The number of backspaces
- B i is the second text information
- count(Py-Ac) is the first historical appearance frequency
- count(Py-AcB i ) is the second historical appearance frequency
- n is the The number of candidate second text information
- i is a positive integer.
- the first historical appearance frequency and the second historical appearance frequency are obtained by:
- All screened text will be displayed when it is detected that all or part of the on-screen text information has been deleted.
- the key input string corresponding to the information, all the on-screen text information, and the number of backspaces used for deletion are recorded as the first text information;
- the second historical appearance frequency of the second text information occurs after the occurrence of the first text information.
- the step of determining the candidate second text information to be displayed in the second text information comprises:
- the appearance frequency includes a ratio of the second historical appearance frequency to the first historical appearance frequency
- the step of displaying the second text information in the specified location comprises:
- the candidate second text information is displayed in the specified location.
- the embodiment of the invention further discloses an input device for text information, comprising:
- a text information determining module configured to determine the first text information and the second text information when detecting that all or part of the already-on-screen text information is deleted; wherein the first text information includes all the corresponding on-screen text information Key input string, all on-screen text information, and number of backspaces used for deletion; the second text information includes text information that is re-screened after the first text information appears in the input record history;
- the selection probability calculation module is configured to calculate, according to the first text information, a selection probability that the second text information is selected on the screen;
- a display module configured to display the second text information in the specified location when the selection probability is greater than a preset probability threshold.
- the selection probability calculation module comprises:
- a first searching module configured to search for a first historical appearance frequency of the first text information
- a second search module configured to search for the occurrence of the first text message The second historical frequency of occurrence of the second text message
- a candidate determining module configured to determine, in the second text information, candidate second text information to be displayed
- the formula calculation module is configured to calculate a selection probability that the candidate second text information is selected on the screen by using the following formula:
- Py-Ac is the first text information
- Py is a key input string corresponding to all the upper screen text information
- A is the all-on-screen text information
- c is The number of backspaces
- B i is the second text information
- count(Py-Ac) is the first historical appearance frequency
- count(Py-AcB i ) is the second historical appearance frequency
- n is the The number of candidate second text information
- i is a positive integer.
- the device further comprises:
- the first recording module is configured to: when it is detected that all or part of the on-screen text information is deleted, the key input string corresponding to all the on-screen text information, all the on-screen text information, and the number of backspace records used for deletion For the first text message;
- a second recording module configured to record the information of the text that is re-screened after the occurrence of the first text information is the second text information
- a first statistic module configured to count a first historical appearance frequency of the first text information
- the second statistic module is configured to count the second historical appearance frequency of the second text information after the occurrence of the first text information.
- the candidate determining module comprises:
- a frequency calculation sub-module configured to calculate an appearance frequency of the second text information; the appearance frequency includes a ratio of the second historical appearance frequency to the first historical appearance frequency;
- an extraction submodule configured to extract the one or more second text information having the highest frequency of occurrence as the candidate second text information displayed in the first screen.
- the display module comprises:
- a candidate display sub-module configured to display the candidate second text message in a specified location interest.
- the embodiment of the invention further discloses a computer program comprising computer readable code, when the computer readable code is run on the terminal, causing the terminal to execute the aforementioned input method of the text information.
- the embodiment of the invention also discloses a computer readable medium, wherein the aforementioned computer program is stored.
- the embodiments of the invention include the following advantages:
- the first text information and the second text information are determined, and the second text information is calculated according to the first text information, and the screen is selected on the first screen. Selecting the probability, when the selection probability is greater than the preset probability threshold, displaying the second text information in the first screen, fully utilizing the attribute of the text information re-code, and the feedback information of the user deleting the text information after the screen is uploaded, by using the user After the backspace, the text information of the upper screen will be associated with the text, and the text information that may be input is directly displayed, thereby avoiding the user repeatedly inputting the key input string, turning the page, etc., on the one hand, effectively reducing the user's key rate and improving Input efficiency, fast and convenient input, improve user experience, on the other hand, can reduce the response of the device to the user input key input string, page turning, etc., reducing the consumption of equipment system resources.
- the text information that may be input after the backspace behavior is sorted according to the probability from high to low, which is convenient for the user to select the text information again, thereby improving the simplicity of the operation.
- FIG. 1 is a flow chart showing the steps of an embodiment of a method for inputting text information according to the present invention
- FIG. 2 is a diagram showing an example of a flow of normally inputting text information
- FIG. 3 is a diagram showing an example of a process of inputting text information in a technique of restoring a scene first;
- FIG. 4 is a diagram showing an example of an input flow of text information according to the present invention.
- FIG. 5 is a diagram showing an example of a flow of normally inputting text information
- FIG. 6 is a diagram showing an example of an input flow of text information according to the present invention.
- FIG. 7 is a diagram showing an example of a flow of normal input text information
- FIG. 8 is a diagram showing an example of a flow of inputting text information in a technique of restoring a scene first;
- FIG. 9 is a diagram showing an example of an input flow of text information according to the present invention.
- FIG. 10 is a structural block diagram of an embodiment of an input device for text information according to the present invention.
- Figure 11 is a block diagram showing the structure of a terminal for executing an input method of text information according to an embodiment of the present invention
- Figure 12 is a storage unit of the present invention for holding or carrying program code for implementing an input method of text information according to an embodiment of the present invention.
- the user often selects the text information to be screened due to an input error or an error, and has to re-delete the mis-transmission portion and re-enter the input, thereby reducing input efficiency and reducing the user input experience.
- the embodiment of the present invention uses the user's backspace behavior to analyze and the user needs
- the text information of the re-screening is provided to the user, thereby effectively utilizing the input feedback information of the user to improve the user input efficiency, that is, the embodiment of the present invention can provide an active association of the text information when the backspace deletion behavior occurs after the screen is displayed, and is based on The analysis of the user's backspace behavior, when the user deletes some text information, actively displays the text information that the user is likely to continue to input in the first screen.
- one of the core concepts of the foregoing embodiments of the present invention may be applied to the case where the text information is on the screen, and may also be applied to the case where the text information is not on the screen, which is not limited by the embodiment of the present invention.
- FIG. 1 a flow chart of steps of an embodiment of a method for inputting text information according to the present invention is shown, which may include the following steps:
- Step 101 When it is detected that all or part of the on-screen text information is deleted, determining the first text information and the second text information;
- the first text information may include a key input string corresponding to all the on-screen text information, all the on-screen text information, and a number of backspaces used for deletion; the second text information may include the input record history. a text message that is re-screened after the first text message appears interest;
- the upper screen can select the behavior of the candidate text information after the user inputs the key input string to obtain the candidate text information, and the backspace can delete the input text information for the user.
- the key input string may be a key input string corresponding to an input mode such as pinyin, five strokes, a stroke, and an English.
- the embodiment of the present invention does not limit this; the text information may be a text, a number, or a The symbol "", "%” and the like are not limited in this embodiment of the present invention.
- the user may delete all or part of the currently on-screen text information by using a backspace event, and the backspace event may be triggered by a backspace key.
- the backspace key also known as the backspace key, can be used to move the cursor one space to the left and delete the character at the left of the cursor.
- the backspace key on the keyboard is labeled " ⁇ " and the English letter is BackSpace.
- the first text information Py-Ac appearing in the input record history may be input in advance (Py is a key input string corresponding to all the upper screen text information, and A is the all-screen text information. c is the number of backspaces and its corresponding second text information Bi is stored in a database.
- the first text information Py-Ac may be triple data, and the second text information may be an event that occurs under the condition that the triple data appears, and may form quad data Py-AcB with the triple data. i .
- the text information may have a re-code in the input process, that is, the key input string form of the two candidate text information is the same, for example, the 26 keys in the keyboard are all in the same form (such as "I” and " The key string of the pinyin spelling is "wo"), and the 26 keys in the real keyboard are in the same form (such as the "master” and “director” pinyin spelling string is "zr "), the nine buttons in the Jiugongge keyboard are all in the same form (such as the “results” and “married” full-press keystroke strings are "543486"), the nine buttons in the Jiugongge keyboard are in the same form (such as "master” and “director” Pinyin spelling key string is "97") and so on.
- the key input string Py corresponding to all the on-screen text information can be used to determine the re-code.
- the user inputs a key input string of "woyou" in the environment of 26 keys in the keyboard. I have “I have” on the screen.
- the text information of the recode has "I am” and so on, but there is no "I go”; for example, the key input is input in the environment of 9 buttons in the 9-square grid keyboard.
- the string is "96968", and the text information of the re-code may be "I am going", so the text information of Lenovo may be different after the backspace.
- the key input string Py corresponding to all the currently-on-screen text information may be determined by deleting all or part of the currently-on-screen text information, and all the currently-on-screen text information is A, currently deleting the number of backspace c used, obtaining the triplet data Py-Ac, that is, the first text information, and then searching for all the quad data of the Py-AcB i according to the triplet data, thereby determining the first Two text information B i .
- all of the on-screen text information A and the second text information B i may be the same. For example, many users will continue to input "I” after deleting "I".
- Step 102 Calculate, according to the first text information, a selection probability that the second text information is selected on the screen;
- the first screen may be an input method interface for selecting candidate text information without performing candidate operations such as page turning and sliding.
- the first text information there may be multiple second text information acquired from the history input record saved in the database, and each of the second text information is respectively calculated according to the first text information in the input record history. Select the selection probability of the upper screen.
- step 102 may include the following sub-steps:
- Sub-step S11 searching for a first historical appearance frequency of the first text information
- Sub-step S12 searching for the second historical appearance frequency of the second text information after the occurrence of the first text information
- the first historical appearance frequency may be an event in which the first text information appears.
- the number of occurrences in the recording history, that is, the first historical frequency is the input of the key input string corresponding to all the on-screen text information, and the selection of all the on-screen text information is performed on the screen, and the execution is performed.
- the frequency of the occurrence of the grid backspace in the history of the record; the second history frequency may be the number of times the event of the second text message appears after the first text message appears in the record history, that is,
- the second historical frequency is a key input string corresponding to all the input upper screen text information, selecting all the upper screen text information upper screens, and performing the backspace of the backspace times, and then selecting the The behavior of the screen on which the text information is re-screened appears in the history of the record.
- the first historical appearance frequency and the second historical appearance frequency may be obtained by:
- Sub-step S21 when it is detected that all or part of the on-screen text information is deleted, the key input string corresponding to all the on-screen text information, all the on-screen text information, and the number of backspaces used for deletion are recorded as the first Text information
- Sub-step S22 recording second text information that is re-screened after the first text information appears
- Sub-step S23 counting the first historical appearance frequency of the first text information
- Sub-step S24 counting the second historical appearance frequency of the second text information after the occurrence of the first text information.
- first text information and the corresponding first historical appearance frequency, the second text information, and the corresponding second historical appearance frequency are saved as an input recording history in a database.
- the habit of inputting text information of each user is different, so in order to meet the user's personalized needs, the probability of the second text information hitting the user's demand is further improved, and the first historical appearance frequency and the second historical appearance frequency may be The first historical appearance frequency of the first text information input for the recorded current user and the second historical appearance frequency of the second text information of the current user after re-screening the first text information.
- the first text information and the second text information input by the same user in different situations may have unevenness, for example, the text information of the chat class is large, but the text message of the shopping class The information may be less, and the problem of sparse data is prone to occur. Therefore, in order to avoid data sparseness, the first historical frequency of occurrence may be determined based on the first text information input by all users in the present application, or may be based on all users. The second history occurrence frequency is determined by inputting the first text information and then re-screening the second text information.
- the first historical appearance frequency may be the historical appearance frequency of the first text information input by the recorded entire users.
- the second historical appearance frequency may be the historical appearance frequency of the second text information that is re-screened by the entire user of the record after inputting the first text information.
- the first historical appearance frequency may also be a historical appearance frequency of the first text information input by the recorded all users, and the historical appearance frequency of the first text information input by the current user is mixed according to a certain ratio.
- the second historical appearance frequency may also be the historical appearance frequency of the second text information after all the users input the first text information, and the history of the second text information is re-screened after the current user inputs the first text information. Frequency, mixed according to a certain proportion.
- the embodiment of the invention does not limit this.
- the first text information and the second text information input by the current user are not separately considered, but the information input by the entire user is more uniform, and the information input by the current user can be avoided. Unevenness results in a situation in which the first historical appearance frequency and the second historical appearance frequency are inaccurate.
- the training process of the backspace association is entered. That is, counting the first historical appearance frequency count(Py-Ac) of the first text information and the second historical appearance frequency count(Py-AcB i ) of the second text information after the occurrence of the first text information, otherwise the user is considered
- the text information is normally input, and the training process of the backspace association is not performed.
- Sub-step S13 determining, in the second text information, candidate second text information to be displayed
- the sub-step S13 may further include the following Substeps:
- Sub-step S131 calculating an appearance frequency of the second text information; the appearance frequency may include a ratio of the second historical appearance frequency to the first historical appearance frequency;
- Sub-step S132 extracting one or more second text information with the highest frequency of occurrence as the candidate second text information displayed in the first screen.
- the frequency of occurrence of the quaternion data may be sorted from high to low, and then the number of second text information that the first screen can accommodate, for example, n, n is a positive integer, and then in the sorting.
- the first n second text information is extracted as the candidate second text information displayed in the first screen.
- the text information that may be on the screen after the backspace behavior is sorted according to the probability from high to low, which is convenient for the user to select the text information again, thereby improving the simplicity of the operation.
- Sub-step S14 calculating the selection probability that the candidate second text information is selected on the screen by using the following formula:
- Py-Ac is the first text information
- Py is a key input string corresponding to all the upper screen text information
- A is the all-on-screen text information
- c is The number of backspaces
- B i is the second text information
- count(Py-Ac) is the first historical appearance frequency
- count(Py-AcB i ) is the second historical appearance frequency
- n is the The number of candidate second text information
- i is a positive integer.
- Step 103 When the selection probability is greater than a preset probability threshold, displaying the second text information at a specified location.
- the specified location may be the first screen, or may be an association area (for example, an interface that generates a shape such as a bubble in the vicinity of the first screen), or may be an arbitrary area of the current interface of the device, which is not limited by the embodiment of the present invention. .
- step 103 may comprise the following sub-steps:
- Sub-step S31 displaying the candidate second text information at the specified position.
- the selection probability p is greater than the probability threshold, indicating that the probability exceeds a certain probability and can be displayed on the first screen.
- the text information of the user who wants to go on the screen next may be displayed, and the candidate second text information may be displayed on the first screen; if the selection probability p is less than or equal to the probability threshold, it indicates that the second text information can be hit in the first screen. If the probability that the text information of the user is going to be on the screen is too low, the second text information of the candidate can be discarded on the first screen.
- the first text information and the second text information are determined, and the second text information is calculated according to the first text information, and the screen is selected on the first screen. Selecting the probability, when the selection probability is greater than the preset probability threshold, displaying the second text information in the first screen, fully utilizing the attribute of the text information re-code, and the feedback information of the user deleting the text information after the screen is uploaded, by using the user After the backspace, the text information of the upper screen will be associated with the text, and the text information that may be input is directly displayed, thereby avoiding the user repeatedly inputting the key input string, turning the page, etc., on the one hand, effectively reducing the user's key rate and improving Input efficiency, fast and convenient input, improve user experience, on the other hand, can reduce the response of the device to the user input key input string, page turning, etc., reducing the consumption of equipment system resources.
- the user inputs the key input string "543486" in the input method, and the input method returns the candidate text information of the pinyin input corresponding to the key input string "543486” such as “marriage”, “result”, “fire” and “taken”.
- the input method system interface suppose the user needs the "result” screen, but because of the wrong operation, select “married” on the screen, displayed in the application edit box, such as SMS edit box, chat window of instant messaging tool, etc. After that, I found that the input was wrong, so I retired twice and deleted the "married” that was already on the screen;
- the frequency of occurrence of the data Py-AcB i such as the calculation result
- the selection probability that the "result” is selected on the upper screen is P 1
- the selection probability of the "fire” selected on the upper screen is P 2
- the selection of the "taken over” is selected on the screen.
- the user can select the desired candidate in the preferred way, and the result of the prior art is in the second selection. Since the input method system of the computer version brings the user the habit of the first candidate on the screen, the first candidate is selected more than the other. The candidate cost is much smaller; the other extreme case: suppose the user wants not the second choice "result", but the first candidate "received” on the second screen (relative to the first screen), then at In the prior art, the user also needs to click the page flip button once to select the desired text information on the second screen candidate. In this example, since “marriage” gives up the valuable position of the first screen, "receiving goods” can be first. The screen is displayed, thus avoiding a page flip key.
- the user inputs the key input string "niyou” in the actual keyboard, and the input method returns the key input string “niyou” such as “you again”, “you have”, “you", “ni”, “he” and “greasy”.
- the candidate text information of the corresponding pinyin input is displayed on the input method system interface, assuming that the user needs “you have” the upper screen, but the "you are” upper screen is incorrectly selected due to lack of concentration, etc., and is displayed in the application edit box. In the middle, I found that the input error, so backspace once, delete some of the "again” that has been on the screen;
- B i to give "Yes”, “travel”, “from”, “Friends”, “right”, “mail” six B i; B i and, for each, B i are calculated in step 102 in the manner occurrence frequency is selected on the screen selection probability, i.e., i is calculated corresponding to the B quadruple of data Py-AcB i
- the calculated "yes" selection probability screen on the selection of P 1 is calculated "yes” selection probability screen on the selection of P 1
- "travel” selection probability screen on the selection of P 2 selected “by the” selection probability screen on the selection of P 3, "Friends”
- the selection probability of the upper screen is P 4
- the selection probability of the "right” selected upper screen is P 5
- the selection probability of "mail” selected upper screen is P 6 , where P 1 >P 2 >P 3 >P 4 > P 5 >P 6 , sorted from high to low according to the selection probability of selecting the upper screen as “Yes”, “Swim”, “Yes”, “Friend”, “Right”, “Post”;
- the user is using the instant messaging tool to chat with other users, inputting the key input string "96" in the Jiugong grid input keyboard, and the input method system returns key inputs such as "I”, " ⁇ ", “ ⁇ ”, “ ⁇ ” and "grip".
- the candidate text information of the pinyin input corresponding to the string "96" is displayed on the input method system interface, and the current user selects "I” on the screen, which is displayed in the application editing box, and then the chat environment changes, so the backspace is deleted once. "I” that has been on the screen;
- the selection probability of " ⁇ " being selected on the upper screen is P 4
- the selection probability of "that” being selected on the upper screen is P 5
- P 1 >P 2 >P 3 >P 4 >P 5 sorted according to the selection probability of the upper screen from high to low as “you”, “me”, “have”, “ ⁇ ”, “
- P 5 is greater than the probability threshold p described in step 103 (that is, the selection probabilities of the five B i are greater than the preset probability threshold)
- the five texts are displayed on the first screen according to the above sorting result.
- the user can choose the preferred "you” upper screen.
- User A and User B have a conversation at night.
- User A intends to say “I am sleepy.”
- I feel that it is not polite to say something, so I want to change to another saying "You “I am not sleepy,” and then deleted “I”, but User A feels that there is no need to face such a friend's sway, so I still want to say “I am sleepy”, that is, after deleting "I", enter “I” again. ".
- FIG. 10 a structural block diagram of an embodiment of an input device for text information according to the present invention is shown, which may specifically include the following modules:
- the text information determining module 1001 is configured to determine the first text information and the second text information when detecting that all or part of the on-screen text information is deleted; wherein the first text information may include all the on-screen text information Corresponding key input string, all on-screen text information and the number of backspaces used for deletion; the second text information may include text information that is re-screened after the first text information appears;
- the selection probability calculation module 1002 is configured to calculate, according to the first text information, a selection probability that the second text information is selected on the upper screen;
- the display module 1003 is configured to display the second text information in the specified location when the selection probability is greater than a preset probability threshold.
- the selection probability calculation module 1002 may include the following modules:
- a first searching module configured to search for a first historical appearance frequency of the first text information
- a second search module configured to search for a second historical appearance frequency of the second text information after the occurrence of the first text information
- a candidate determining module configured to determine, in the second text information, candidate second text information that is being displayed
- the formula calculation module is configured to calculate a selection probability that the candidate second text information is selected on the screen by using the following formula:
- Py-Ac is the first text information
- Py is a key input string corresponding to all the upper screen text information
- A is the all-on-screen text information
- c is The number of backspaces
- B i is the second text information
- count(Py-Ac) is the first historical appearance frequency
- count(Py-AcB i ) is the second historical appearance frequency
- n is the The number of candidate second text information
- i is a positive integer.
- the apparatus may further include: a first recording module, a second recording module, a first statistic module, and a second statistic module.
- the first recording module is configured to: when it is detected that all or part of the on-screen text information is deleted, the key input string corresponding to all the on-screen text information, all the on-screen text information, and the number of backspace records used for deletion For the first text message;
- a second recording module configured to record the information of the text that is re-screened after the occurrence of the first text information is the second text information
- a first statistic module configured to count a first historical appearance frequency of the first text information
- the second statistic module is configured to count the second historical appearance frequency of the second text information after the occurrence of the first text information.
- the candidate determining module may further include the following modules:
- a frequency calculation sub-module configured to calculate an appearance frequency of the second text information; the appearance frequency includes a ratio of the second historical appearance frequency to the first historical appearance frequency;
- an extraction submodule configured to extract the one or more second text information having the highest frequency of occurrence as the candidate second text information displayed in the first screen.
- the display module 1003 may include the following modules:
- a candidate presentation sub-module configured to display the candidate second text information in a specified location.
- the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
- embodiments of the embodiments of the invention may be provided as a method, apparatus, or computer program product.
- embodiments of the invention may be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
- embodiments of the invention may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
- These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
- Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.
- FIG. 11 shows a structural block diagram of a terminal for executing an input method of text information according to an embodiment of the present invention.
- the terminal conventionally includes a processor 1110 and a computer program product or computer readable medium in the form of a memory 1120.
- the memory 1120 can be, for example, a flash memory, Electronic memory such as EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk or ROM.
- Memory 1120 has a memory space 1130 for program code 1131 for performing any of the method steps described above.
- the storage space 1130 for program code may include respective program codes 1131 for implementing various steps in the above methods, respectively.
- the program code can be read from or written to one or more computer program products.
- Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
- Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
- the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1120 in the terminal of FIG.
- the program code can be compressed, for example, in an appropriate form.
- the storage unit includes computer readable code 1131', i.e., code that can be read by, for example, a processor such as 1110, which when executed by a server causes the server to perform various steps in the methods described above.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Input From Keyboards Or The Like (AREA)
- Document Processing Apparatus (AREA)
- Machine Translation (AREA)
Abstract
Description
Claims (12)
- 一种文本信息的输入方法,包括:当监测到删除当前全部或部分已上屏文本信息时,确定第一文本信息和第二文本信息;其中,所述第一文本信息包括全部已上屏文本信息对应的按键输入串、全部已上屏文本信息和删除所用的退格次数;所述第二文本信息包括输入记录历史中所述第一文本信息出现之后所重新上屏的文本信息;依据所述第一文本信息计算所述第二文本信息被选择上屏的选择概率;当所述选择概率大于预设的概率阈值时,在指定的位置中展示所述第二文本信息。
- 根据权利要求1所述的方法,其中,所述依据所述第一文本信息计算所述第二文本信息被选择上屏的选择概率的步骤包括:查找所述第一文本信息的第一历史出现频次;查找出现所述第一文本信息之后再出现所述第二文本信息的第二历史出现频次;在所述第二文本信息中确定进行展示的候选第二文本信息;采用以下公式计算所述候选第二文本信息被选择上屏的选择概率:其中,p为所述选择概率,Py-A-c为所述第一文本信息,Py为所述全部已上屏文本信息对应的按键输入串,A为所述全部已上屏文本信息,c为所述退格次数,Bi为所述第二文本信息,count(Py-A-c)为所述第一历史出现频次,count(Py-A-c-Bi)为所述第二历史出现频次,n为所述候选第二文本信息的数量,i为正整数。
- 根据权利要求2所述的方法,其中,所述第一历史出现频次和所述第二历史出现频次通过以下方式获得:当监测到删除在先全部或部分已上屏文本信息时,将全部已上屏文本 信息对应的按键输入串、全部已上屏文本信息和删除所用的退格次数记录为第一文本信息;记录在所述第一文本信息出现之后所重新上屏的文本信息为第二文本信息;统计所述第一文本信息的第一历史出现频次;统计出现所述第一文本信息之后再出现所述第二文本信息的第二历史出现频次。
- 根据权利要求2所述的方法,其中,所述在所述第二文本信息中确定进行展示的候选第二文本信息的步骤包括:计算所述第二文本信息的出现频率;所述出现频率包括所述第二历史出现频次与所述第一历史出现频次的比值;提取所述出现频率最大的一个或多个第二文本信息作为在首屏中进行展示的候选第二文本信息。
- 根据权利要求2所述的方法,其中,所述在指定的位置中展示所述第二文本信息的步骤包括:在指定的位置中展示所述候选第二文本信息。
- 一种文本信息的输入装置,包括:文本信息确定模块,配置为在监测到删除当前全部或部分已上屏文本信息时,确定第一文本信息和第二文本信息;其中,所述第一文本信息包括全部已上屏文本信息对应的按键输入串、全部已上屏文本信息和删除所用的退格次数;所述第二文本信息包括输入记录历史中所述第一文本信息出现之后所重新上屏的文本信息;选择概率计算模块,配置为依据所述第一文本信息计算所述第二文本信息被选择上屏的选择概率;展示模块,配置为在所述选择概率大于预设的概率阈值时,在指定的位置中展示所述第二文本信息。
- 根据权利要求6所述的装置,其中,所述选择概率计算模块包括:第一查找模块,配置为查找所述第一文本信息的第一历史出现频次;第二查找模块,配置为查找出现所述第一文本信息之后再出现所述第二文本信息的第二历史出现频次;候选确定模块,配置为在所述第二文本信息中确定进行展示的候选第二文本信息;公式计算模块,配置为采用以下公式计算所述候选第二文本信息被选择上屏的选择概率:其中,p为所述选择概率,Py-A-c为所述第一文本信息,Py为所述全部已上屏文本信息对应的按键输入串,A为所述全部已上屏文本信息,c为所述退格次数,Bi为所述第二文本信息,count(Py-A-c)为所述第一历史出现频次,count(Py-A-c-Bi)为所述第二历史出现频次,n为所述候选第二文本信息的数量,i为正整数。
- 根据权利要求7所述的装置,其中,所述装置还包括:第一记录模块,配置为当监测到删除在先全部或部分已上屏文本信息时,将全部已上屏文本信息对应的按键输入串、全部已上屏文本信息和删除所用的退格次数记录为第一文本信息;第二记录模块,配置为记录在所述第一文本信息出现之后所重新上屏的本文信息为第二文本信息;第一统计模块,配置为统计所述第一文本信息的第一历史出现频次;第二统计模块,配置为统计出现所述第一文本信息之后再出现所述第二文本信息的第二历史出现频次。
- 根据权利要求7所述的装置,其中,所述候选确定模块包括:出现频率计算子模块,配置为计算所述第二文本信息的出现频率;所述出现频率包括所述第二历史出现频次与所述第一历史出现频次的比值;提取子模块,配置为提取所述出现频率最大的一个或多个第二文本信息作为在首屏中进行展示的候选第二文本信息。
- 根据权利要求9所述的装置,其中,所述展示模块包括:候选展示子模块,配置为在指定的位置中展示所述候选第二文本信息。
- 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在终端上运行时,导致所述终端执行根据权利要求1-5中的任一个所述的文本信息的输入方法。
- 一种计算机可读介质,其中存储了如权利要求11所述的计算机程序。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016564625A JP6667452B2 (ja) | 2014-07-11 | 2015-07-10 | テキスト情報の入力方法及び装置 |
KR1020167031676A KR102327418B1 (ko) | 2014-07-11 | 2015-07-10 | 텍스트 정보의 입력 방법 및 장치 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410332496.2 | 2014-07-11 | ||
CN201410332496.2A CN105334952B (zh) | 2014-07-11 | 2014-07-11 | 一种文本信息的输入方法和装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016004893A1 true WO2016004893A1 (zh) | 2016-01-14 |
Family
ID=55063602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/083756 WO2016004893A1 (zh) | 2014-07-11 | 2015-07-10 | 一种文本信息的输入方法和装置 |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP6667452B2 (zh) |
KR (1) | KR102327418B1 (zh) |
CN (1) | CN105334952B (zh) |
WO (1) | WO2016004893A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111221603A (zh) * | 2019-10-30 | 2020-06-02 | 深圳前海微众银行股份有限公司 | 一种基于输入框的信息输入方法及装置 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306253A (zh) * | 2019-07-30 | 2021-02-02 | 北京搜狗科技发展有限公司 | 一种确定输入对象的方法、装置及设备 |
CN112445349A (zh) * | 2019-09-05 | 2021-03-05 | 北京搜狗科技发展有限公司 | 一种输入方法、装置和电子设备 |
CN113534973B (zh) * | 2020-04-16 | 2024-08-02 | 北京搜狗科技发展有限公司 | 输入方法、装置和用于输入的装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241514A (zh) * | 2008-03-21 | 2008-08-13 | 北京搜狗科技发展有限公司 | 一种生成纠错数据库的方法、自动纠错的方法和系统 |
CN101350004A (zh) * | 2008-09-11 | 2009-01-21 | 北京搜狗科技发展有限公司 | 形成个性化纠错模型的方法及个性化纠错的输入法系统 |
CN102156551A (zh) * | 2011-03-30 | 2011-08-17 | 北京搜狗科技发展有限公司 | 一种字词输入的纠错方法及系统 |
CN103049458A (zh) * | 2011-10-17 | 2013-04-17 | 北京搜狗科技发展有限公司 | 一种修正用户词库的方法和系统 |
EP2653982A1 (en) * | 2012-04-20 | 2013-10-23 | King Abdulaziz City for Science & Technology (KACST) | Method and system for statistical misspelling correction |
CN104461042A (zh) * | 2013-09-16 | 2015-03-25 | 百度在线网络技术(北京)有限公司 | 基于退回键自动进行纠错的日文输入方法及系统 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3003605B2 (ja) * | 1996-12-25 | 2000-01-31 | 日本電気株式会社 | 単語修正装置および単語修正方法 |
JP2003131776A (ja) * | 2001-10-29 | 2003-05-09 | Sony Corp | 情報処理装置、文字列入力装置、および確定履歴制御方法 |
KR100736561B1 (ko) * | 2005-12-28 | 2007-07-09 | 엘지전자 주식회사 | 오타수정장치와 그 방법 및 이동통신단말기 |
KR101465770B1 (ko) * | 2007-06-25 | 2014-11-27 | 구글 인코포레이티드 | 단어 확률 결정 |
CN100555203C (zh) * | 2008-09-26 | 2009-10-28 | 腾讯科技(深圳)有限公司 | 修正已输入文字的系统及方法 |
CN100559332C (zh) * | 2008-10-17 | 2009-11-11 | 腾讯科技(深圳)有限公司 | 恢复已删文字的系统及方法 |
CN101989128B (zh) * | 2009-08-03 | 2014-07-23 | 北京搜狗科技发展有限公司 | 一种在固定位置展现候选词的方法及装置 |
CN102193645B (zh) * | 2010-03-16 | 2017-07-18 | 深圳市世纪光速信息技术有限公司 | 文字输入方法和文字输入系统 |
JP5931627B2 (ja) * | 2012-07-23 | 2016-06-08 | 京セラ株式会社 | 携帯端末装置、プログラムおよび入力訂正方法 |
JP2014191355A (ja) * | 2013-03-26 | 2014-10-06 | Oki Data Corp | 文字入力装置及び文字入力方法 |
-
2014
- 2014-07-11 CN CN201410332496.2A patent/CN105334952B/zh active Active
-
2015
- 2015-07-10 JP JP2016564625A patent/JP6667452B2/ja active Active
- 2015-07-10 WO PCT/CN2015/083756 patent/WO2016004893A1/zh active Application Filing
- 2015-07-10 KR KR1020167031676A patent/KR102327418B1/ko active IP Right Grant
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241514A (zh) * | 2008-03-21 | 2008-08-13 | 北京搜狗科技发展有限公司 | 一种生成纠错数据库的方法、自动纠错的方法和系统 |
CN101350004A (zh) * | 2008-09-11 | 2009-01-21 | 北京搜狗科技发展有限公司 | 形成个性化纠错模型的方法及个性化纠错的输入法系统 |
CN102156551A (zh) * | 2011-03-30 | 2011-08-17 | 北京搜狗科技发展有限公司 | 一种字词输入的纠错方法及系统 |
CN103049458A (zh) * | 2011-10-17 | 2013-04-17 | 北京搜狗科技发展有限公司 | 一种修正用户词库的方法和系统 |
EP2653982A1 (en) * | 2012-04-20 | 2013-10-23 | King Abdulaziz City for Science & Technology (KACST) | Method and system for statistical misspelling correction |
CN104461042A (zh) * | 2013-09-16 | 2015-03-25 | 百度在线网络技术(北京)有限公司 | 基于退回键自动进行纠错的日文输入方法及系统 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111221603A (zh) * | 2019-10-30 | 2020-06-02 | 深圳前海微众银行股份有限公司 | 一种基于输入框的信息输入方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
JP2017528777A (ja) | 2017-09-28 |
JP6667452B2 (ja) | 2020-03-18 |
CN105334952A (zh) | 2016-02-17 |
CN105334952B (zh) | 2018-12-18 |
KR20170028875A (ko) | 2017-03-14 |
KR102327418B1 (ko) | 2021-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6431119B2 (ja) | 携帯式端末設備における摺接操作による入力補助制御のシステム及び方法 | |
US10156981B2 (en) | User-centric soft keyboard predictive technologies | |
CN108370347B (zh) | 对传入通信的预测响应方法和系统 | |
US9424668B1 (en) | Session-based character recognition for document reconstruction | |
JP5706137B2 (ja) | 複数の投稿(データのグループ)を複数の軸に沿ってリアルタイムにコンピュータ画面に表示する方法およびコンピュータ・プログラム | |
US10417492B2 (en) | Conversion of static images into interactive maps | |
US20150234938A1 (en) | Method and electronic terminal for searching for contact in directory | |
EP3262529A1 (en) | Topically aware word suggestions | |
US20140160032A1 (en) | Swipe Stroke Input and Continuous Handwriting | |
WO2016004893A1 (zh) | 一种文本信息的输入方法和装置 | |
CN104199607A (zh) | 一种基于输入法的候选选择方法和装置 | |
WO2016095645A1 (zh) | 笔画输入方法、装置和系统 | |
CN105094603B (zh) | 一种关联输入的方法与装置 | |
KR20150023151A (ko) | 전자 장치 및 이의 어플리케이션 실행 방법 | |
WO2023061276A1 (zh) | 数据推荐方法、装置、电子设备及存储介质 | |
CN105589570B (zh) | 一种处理输入错误的方法和装置 | |
WO2016131425A1 (zh) | 滑行输入方法及装置 | |
CN104240107B (zh) | 社群数据筛选系统及其方法 | |
CN104076945A (zh) | 用于在终端中显示输入键盘的装置和方法 | |
WO2016184353A1 (zh) | 一种在表单中检索定位信息的方法和装置 | |
CN113805708A (zh) | 信息显示方法、装置、电子设备和存储介质 | |
CN113010072A (zh) | 搜索方法、装置、电子设备及可读存储介质 | |
CN111367424A (zh) | 信息候选项智能化调整方法、装置及计算机可读存储介质 | |
CN113126781A (zh) | 信息显示方法、装置、设备和存储介质 | |
CN114356118A (zh) | 字符输入方法、装置、电子设备及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15819220 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2016564625 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20167031676 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15819220 Country of ref document: EP Kind code of ref document: A1 |