CN105334952A - Input method and device of text information - Google Patents

Input method and device of text information Download PDF

Info

Publication number
CN105334952A
CN105334952A CN201410332496.2A CN201410332496A CN105334952A CN 105334952 A CN105334952 A CN 105334952A CN 201410332496 A CN201410332496 A CN 201410332496A CN 105334952 A CN105334952 A CN 105334952A
Authority
CN
China
Prior art keywords
text message
occurrence
upper screen
history frequency
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410332496.2A
Other languages
Chinese (zh)
Other versions
CN105334952B (en
Inventor
任尚昆
张扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201410332496.2A priority Critical patent/CN105334952B/en
Priority to KR1020167031676A priority patent/KR102327418B1/en
Priority to PCT/CN2015/083756 priority patent/WO2016004893A1/en
Priority to JP2016564625A priority patent/JP6667452B2/en
Publication of CN105334952A publication Critical patent/CN105334952A/en
Application granted granted Critical
Publication of CN105334952B publication Critical patent/CN105334952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

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)
  • Machine Translation (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the invention provides an input method and device of text information. The method comprises the following steps: when a monitoring result shows that all current or parts of current text information which is displayed on a screen are deleted, determining first text information and second text information, wherein the first text information comprises key input strings corresponding to all text information which is displayed on the screen, all text information which is displayed on the screen, and backspace frequencies used by deletion, and the second text information comprises the text information which is input again after the first text information appears; on the basis of the first text information, calculating a selection probability that the second text information is selected to be displayed on the screen; and when the selection probability is greater than a preset probability threshold value, displaying the second text information on an appointed position. The embodiment of the invention can effectively lower a key pressing rate of a user, improve input efficiency, realize quick and convenient input, improve user experience and reduce system resource consumption.

Description

A kind of input method of text message and device
Technical field
The present invention relates to the technical field of input method, particularly relate to a kind of input method of text message and a kind of input media of text message.
Background technology
Along with extensively popularizing of mobile device, user often uses mobile device process this or that, such as, chat, surf the Net, send out microblogging etc., and user often needs to use input method system input characters content thereupon.
According to mobile device input use habit, user often uses input method nine grids keyboard to input, and it has comfortable generous thumb key, can input characters content fast, and error rate when reducing input.
User, when input characters, may occur diverting attention or position is clicked the reasons such as mistake and caused maloperation, and have selected is not required word.Such as, suppose required for user be " you dare " or other, but carry out inputting upper screen because maloperation have selected " hello ".
After user needs to delete " hello ", then re-enter other words, and, user also just may will can find by modes such as page turnings the word wanted, this not only makes user operation extremely bother, and reduces input efficiency, and re-enters the consumption that can increase mobile device resource.
Summary of the invention
Embodiment of the present invention technical matters to be solved is to provide a kind of input method of text message, in order to improve input efficiency.
Accordingly, the embodiment of the present invention additionally provides a kind of input media of text message, in order to ensure the implementation and application of said method.
In order to solve the problem, the embodiment of the invention discloses a kind of input method of text message, comprising:
When monitor delete current all or part of upper screen text message time, determine the first text message and the second text message; Wherein, described first text message comprises key-press input string, all upper screen text message that all upper screen text message is corresponding and deletes backspace number of times used; Described second text message comprises the text message re-entered after described first text message occurs;
Calculate described second text message according to described first text message and selected the select probability of upper screen;
When described select probability is greater than default probability threshold value, in the position of specifying, show described second text message.
Preferably, described according to described first text message calculate described second text message comprised by the step of the select probability selecting upper screen:
Search the first history frequency of occurrence of described first text message;
Search the second history frequency of occurrence of described second text message;
Candidate second text message carrying out showing is determined in described second text message;
The second text message described in following formulae discovery is adopted to be selected the select probability of upper screen:
p = Σ i = 1 n count ( Py - A - c - B i ) count ( Py - A - c )
Wherein, p is described select probability, and Py-A-c is described first text message, and Py is the described key-press input string that all upper screen text message is corresponding, A be described all on shield text message, c is described backspace number of times, B ifor described second text message, count (Py-A-c) is described first history frequency of occurrence, count (Py-A-c-B i) be described second history frequency of occurrence, n is the quantity of described candidate second text message, and i is positive integer.
Preferably, described first history frequency of occurrence and described second history frequency of occurrence obtain in the following manner:
When monitor deletion formerly all or part of upper screen text message time, by key-press input string corresponding for all upper screen text messages, all upper screen text message with delete backspace number of times used and be recorded as the first text message;
Being recorded in the text message inputted after described first text message occurs is the second text message;
Add up the first history frequency of occurrence of described first text message;
Add up the second history frequency of occurrence of described second text message.
Preferably, describedly in described second text message, determine that the step of carrying out candidate second text message shown in head screen comprises:
Calculate the frequency of occurrences of described second text message; The described frequency of occurrences comprises the ratio of described second history frequency of occurrence and described first history frequency of occurrence;
Extract maximum one or more second text messages of described probability of occurrence as candidate second text message carrying out showing in head screen.
Preferably, describedly in the position of specifying, show that the step of described second text message comprises:
Described candidate second text message is shown in the position of specifying.
The embodiment of the invention also discloses a kind of input media of text message, it is characterized in that, comprising:
Text message determination module, for monitor delete current all or part of on shield text message time, determine the first text message and the second text message; Wherein, described first text message comprises key-press input string, all upper screen text message that all upper screen text message is corresponding and deletes backspace number of times used; Described second text message comprises the text message re-entered after described first text message occurs;
Select probability computing module, is selected the select probability of upper screen for calculating described second text message according to described first text message;
Display module, for when described select probability is greater than default probability threshold value, shows described second text message in the position of specifying.
Preferably, described select probability computing module comprises:
First searches submodule, for searching the first history frequency of occurrence of described first text message;
Second searches submodule, for searching the second history frequency of occurrence of described second text message;
Candidate determines submodule, for determining candidate second text message carrying out showing in described second text message;
Formulae discovery submodule, selected the select probability of upper screen for adopting the second text message described in following formulae discovery:
p = Σ i = 1 n count ( Py - A - c - B i ) count ( Py - A - c )
Wherein, p is described select probability, and Py-A-c is described first text message, and Py is the described key-press input string that all upper screen text message is corresponding, A be described all on shield text message, c is described backspace number of times, B ifor described second text message, count (Py-A-c) is described first history frequency of occurrence, count (Py-A-c-B i) be described second history frequency of occurrence, n is the quantity of described candidate second text message, and i is positive integer.
Preferably, described first history frequency of occurrence and described second history frequency of occurrence obtain in the following manner:
When monitor deletion formerly all or part of upper screen text message time, by key-press input string corresponding for all upper screen text messages, all upper screen text message with delete backspace number of times used and be recorded as the first text message;
Being recorded in the Textual information inputted after described first text message occurs is the second text message;
Add up the first history frequency of occurrence of described first text message;
Add up the second history frequency of occurrence of described second text message.
Preferably, described candidate determines that submodule comprises:
Probability of occurrence calculating sub module, for calculating the frequency of occurrences of described second text message; The described frequency of occurrences comprises the ratio of described second history frequency of occurrence and described first history frequency of occurrence;
Extract submodule, for extracting maximum one or more second text messages of described probability of occurrence as candidate second text message carrying out showing in head screen.
Preferably, described display module comprises:
Candidate shows submodule, for showing described candidate second text message in the position of specifying.
Compared with prior art, the embodiment of the present invention comprises following advantage:
The embodiment of the present invention monitor delete current all or part of on shield text message time, determine the first text message and the second text message, calculate the second text message according to described first text message and selected the select probability of screen at head screen, when select probability is greater than default probability threshold value, the second text message is shown in head screen, take full advantage of this attribute of text message repeated code, this feedack of text message is deleted after the upper screen of user, by carrying out the mode of association to the text message that will input after user's backspace, the text message that direct displaying may input, user is avoided to repeat input key input string, the operations such as page turning, on the one hand, effectively can reduce the keying speed of user, improve input efficiency, realize inputting quickly and easily, improve Consumer's Experience, on the other hand, equipment can be reduced to user's input key input string, the response of the operation such as page turning, reduce the consumption of apparatus system resource.
The embodiment of the present invention sorts by probability from high to low to the text message that may input after backspace behavior, conveniently makes user again select text message, improves the simplicity of operation.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the input method embodiment of a kind of text message of the present invention;
Fig. 2 is a kind of flow example figure of normal input text information;
Fig. 3 is the flow example figure of input text information in a kind of technology of formerly reducing scene;
Fig. 4 is the input flow process exemplary plot of a kind of text message of the present invention;
Fig. 5 is a kind of flow example figure of normal input text information;
Fig. 6 is the input flow process exemplary plot of a kind of text message of the present invention;
Fig. 7 is a kind of flow example figure of normal input text information;
Fig. 8 is the flow example figure of input text information in a kind of technology of formerly reducing scene;
Fig. 9 is the input flow process exemplary plot of a kind of text message of the present invention;
Figure 10 is the structured flowchart of the input media embodiment of a kind of text message of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
User is often due to input error or wrong choice text message being shielded in text message input process, and backspace of having to deletes by mistake defeated part and re-start input, so that reduces input efficiency and reduce user and input experience.
In actual applications, find through further investigation, there is certain rule in the text message that user inputs before and after backspace behavior, therefore one of core idea proposing the embodiment of the present invention, utilize the behavior of user's backspace to carry out analyzing and need the text message re-entered to be supplied to user user, thus effectively utilize the input feedback information of user to promote user's input efficiency, namely the embodiment of the present invention can provide the active association of a kind of text message when backspace deletion behavior occurs upper screen afterwards, and based on the backspace behavioural analysis of user, when user deletes some text message, initiatively shield at head and show that next user probably can continue the text message inputted.
Certainly, one of core idea of the invention described above embodiment, can be applied in the situation of the upper screen of text message, and also can be applied in the situation of the not upper screen of text message, the embodiment of the present invention is not limited this.
With reference to Fig. 1, show the flow chart of steps of the input method embodiment of a kind of text message of the present invention, can comprise the steps:
Step 101, when monitor delete current all or part of upper screen text message time, determine the first text message and the second text message;
Wherein, described first text message can comprise key-press input string, all upper screen text message that all upper screen text message is corresponding and delete backspace number of times used; Described second text message can comprise the text message re-entered after described first text message occurs;
It should be noted that, upper screen can be that after user's input key input string obtains candidate's text message, click the behavior of candidate's text message, backspace can delete the behavior of the text message of input for user.This key-press input string can be phonetic, five, key-press input string corresponding to stroke, the input mode such as English, and the embodiment of the present invention is not limited this; Text information can be word, and also can be numeral, can also be that such as " symbol such as " ", " % ", the embodiment of the present invention is not also limited this.
In specific implementation, user can by backspace event delete current all or part of on shield text message, this backspace event can be triggered by backspace key.Backspace key, also claims Hui Gejian, may be used for making cursor left one lattice, deletes the character in cursor left position simultaneously.Usually, the mark of backspace key on keyboard (comprising keyboard and the dummy keyboard of reality) is " ← ", and English alphabet is BackSpace.
The application embodiment of the present invention, can by the first text message Py-A-c, (Py be the described key-press input string that all upper screen text message is corresponding in advance, A be described all on shield text message, c is described backspace number of times) and the second text message B of correspondence istore in a database.First text message Py-A-c can be tlv triple data, and the second text message for the event occurred under the condition that occurs in these tlv triple data, can form four-tuple data Py-A-c-B with these tlv triple data i.
In specific implementation, may repeated code be there is in text message in input process, namely the key-press input string form of two candidate's text messages is the same, such as, 26 button full forms in keyboard consistent (the button character string as the phonetic spelling of " I " and " holding " is all " wo "), 26 button simplicity forms in real keyboard consistent (the button character string as the phonetic simplicity of " owner " and " director " is all " zr "), 9 button full forms in nine grids keyboard consistent (the button character string as the spelling of " result " and " marriage " is all " 543486 "), 9 button simplicity forms in nine grids keyboard consistent (the button character string as the phonetic simplicity of " owner " and " director " is all " 97 ") etc.
And the key-press input string Py that all upper screen text message is corresponding may be used for determining repeated code.Such as, the key-press input string inputted under the environment of 26 buttons of user in keyboard is " woyou ", on shielded " I has ", this time, the text message of repeated code had " I again " etc., but there will not be " I walks "; Again such as, and the key-press input string inputted under the environment of 9 buttons in nine grids keyboard is " 96968 ", and the text message of repeated code is just likely " I walks ", and the text message therefore associated after backspace also may be different.
In actual applications, input method possibly cannot know the text message that user deletes, and therefore, all upper screen text message A and backspace number of times c can concur, and knows the text message deleted by user.Such as: user's input key input string " woyou ", " I has " upper screen is selected, if c=1, namely backspace once, then can judge that deleted text message is " having ", if c=2, i.e. backspace twice, i.e. backspace twice, then can judge that deleted text message is " I has ".
When monitor delete current all or part of upper screen text message time, the current key-press input string Py that all upper screen text message is corresponding can be determined by the current all or part of upper screen text message of this deletion, current all upper screen text message A, the backspace number of times c that current deletion is used, obtain tlv triple data Py-A-c, i.e. the first text message, at the four-tuple data Py-A-c-B occurred according to this tlv triple data search i, the second text message B can be determined i.
Wherein, all above text message A and the second text message B is shielded imay be identical, such as, a lot of user can be able to continue to input " I " after deleting " I ".
Step 102, calculates described second text message according to described first text message and is selected the select probability of upper screen;
It should be noted that, first screen can for carrying out the interface of input method of candidate's text message selection without the need to carrying out the candidate operations such as page turning and slip.
In one preferred embodiment of the invention, step 102 can comprise following sub-step:
Sub-step S11, searches the first history frequency of occurrence of described first text message;
Sub-step S12, searches the second history frequency of occurrence of described second text message;
In specific implementation, the number of times that the first history frequency of occurrence can occur in log history for the first text message, the number of times that the second history frequency of occurrence can occur in log history for the second text message.
In a kind of preferred exemplary of the embodiment of the present invention, described first history frequency of occurrence and described second history frequency of occurrence can obtain in the following manner:
Sub-step S21, when monitor deletion formerly all or part of upper screen text message time, by key-press input string corresponding for all upper screen text messages, all upper screen text message with delete backspace number of times used and be recorded as the first text message;
Sub-step S22, is recorded in the second text message inputted after described first text message occurs;
Sub-step S23, adds up the first history frequency of occurrence of described first text message;
Sub-step S24, adds up the second history frequency of occurrence of described second text message.
Preferably, the custom of the input text information of each user is not quite similar, therefore in order to meet the demand of user individual, the probability of further raising second text message hit user's request, the first history frequency of occurrence and the second history frequency of occurrence can input the first history frequency of occurrence of the first text message and the second history frequency of occurrence of input the second text message for the active user of record.
Certainly, uneven situation may be there is in the first text message that user inputs in different situations and the second text message, the text message of class of such as chatting is larger, but the text message of shopping class may be less, easily there is the problem of Sparse, therefore in order to avoid the situation of Sparse, the first history frequency of occurrence and the second history frequency of occurrence can input the first history frequency of occurrence of the first text message and the second history frequency of occurrence of input the second text message for the total user of record; First history frequency of occurrence and the second history frequency of occurrence can also for the total user of record input the first history frequency of occurrence of the first text message and the second history frequency of occurrence of input the second text message, input the first history frequency of occurrence of the first text message with active user and input the second history frequency of occurrence of the second text message, mix according to a certain percentage, the embodiment of the present invention is not limited this.
In specific implementation, if user clicks the text message that backspace key deletes upper screen, then cumulative backspace number of times c, during to user's action next time, if c is not 0, then enter the training process of backspace association, namely add up the first history frequency of occurrence count (Py-A-c) of the first text message and the second history frequency of occurrence count (Py-A-c-B of the second text message i), otherwise think the normal input text information of user, do not carry out the training process of backspace association.
Sub-step S13, determines candidate second text message carrying out showing in described second text message;
In actual applications, because the position for showing is limited, therefore need candidate second text message determining to carry out showing.
In a kind of preferred exemplary of the embodiment of the present invention, sub-step S13 can comprise following sub-step further:
Sub-step S131, calculates the frequency of occurrences of described second text message; The described frequency of occurrences can comprise the ratio of described second history frequency of occurrence and described first history frequency of occurrence;
Sub-step S132, extracts maximum one or more second text messages of described probability of occurrence as candidate second text message carrying out showing.
In specific implementation, can sort from high to low according to the frequency of occurrences of four-tuple data, then first number of shielding second text message that can hold is determined, such as n, n is positive integer, then before extracting in this sequence n the second text message as candidate second text message carrying out in shielding at head showing.
The embodiment of the present invention sorts by probability from high to low to the text message that may input after backspace behavior, conveniently makes user again select text message, improves the simplicity of operation.
Sub-step S14, adopts the second text message described in following formulae discovery to be selected the select probability of upper screen:
p = Σ i = 1 n count ( Py - A - c - B i ) count ( Py - A - c )
Wherein, p is described select probability, and Py-A-c is described first text message, and Py is the described key-press input string that all upper screen text message is corresponding, A be described all on shield text message, c is described backspace number of times, B ifor described second text message, count (Py-A-c) is described first history frequency of occurrence, count (Py-A-c-B i) be described second history frequency of occurrence, n is the quantity of described candidate second text message, and i is positive integer.
Step 103, when described select probability is greater than default probability threshold value, shows described second text message in the position of specifying.
In specific implementation, the position of specifying can headed by screen, also can be the association region interface of shapes such as generation bubble etc. (such as head shields near), can also be the arbitrary region of equipment current interface, the embodiment of the present invention not be limited this.
In one preferred embodiment of the invention, step 103 can comprise following sub-step:
Sub-step S31, candidate second text message described in the position display of specifying.
If select probability p is greater than probability threshold value, indicate that exceeding certain probability can shield in the second text message of displaying at head the text message hitting user and next will input, then can shield displaying second text message at head; If select probability p is less than or equal to probability threshold value, represents and can shield in the second text message of displaying at head that to hit the text message probability that next user will input too low, then can abandon shielding displaying second text message at head.
The embodiment of the present invention monitor delete current all or part of on shield text message time, determine the first text message and the second text message, calculate the second text message according to described first text message and selected the select probability of screen at head screen, when select probability is greater than default probability threshold value, the second text message is shown in head screen, take full advantage of this attribute of text message repeated code, this feedack of text message is deleted after the upper screen of user, by carrying out the mode of association to the text message that will input after user's backspace, the text message that direct displaying may input, user is avoided to repeat input key input string, the operations such as page turning, on the one hand, effectively can reduce the keying speed of user, improve input efficiency, realize inputting quickly and easily, improve Consumer's Experience, on the other hand, equipment can be reduced to user's input key input string, the response of the operation such as page turning, reduce the consumption of apparatus system resource.
Below by way of the example of several application scenarios, embodiments of the present invention is further illustrated:
Application scenarios one
User is at input method nine grids input through keyboard key-press input string " 543486 ", input method system returns " marriage ", " result ", candidate's text message of the Pinyin Input that the key-press input string " 543486 " such as " raging fire " and " taking over " is corresponding, be presented on input method system interface, suppose that user needs " result " upper screen, but because " marriage " upper screen is selected in maloperation, be presented in application program edit box, such as short message editing frame, chat window of immediate communication tool etc., find input error afterwards, therefore backspace twice, delete " marriage " of upper screen,
In the flow process of normal input, as shown in Figure 2, then the heavy defeated key-press input string " 543486 " of user, obtain the candidate text message the same with result formerly, " marriage ", " result ", " raging fire " and " taking over ", i.e. first-selected " marriage ", secondary choosing " result ", user can select the upper screen of time choosing " result ";
The technology of scene is formerly reduced in application, as shown in Figure 3, user is without the need to input Pinyin string " 543486 " again, input method system represents original candidate's text message automatically, " marriage ", " result ", " raging fire " and " taking over ", still first-selected " marriage ", secondary choosing " result ", user can select the upper screen of time choosing " result ";
The application embodiment of the present invention, as shown in Figure 4, determine that the current all key-press input string Py that upper screen text message is corresponding is " 543486 ", current all upper screen text message A are " marriage ", current deletion backspace number of times c used is " 2 ", determine that deleted text message is for " marriage ", then tlv triple data Py-A-c is " 543486-marries-2 ", inquires about the text message B inputted when tlv triple data " 543486-marries-2 " occur i, " result ", " raging fire ", " taking over " and " connecing goods ", wherein " result " is positioned at first-selection, and user can select the upper screen of first-selection " result ".
With regard to this example, this example is relative to formerly reducing the advantage of technology (hereinafter referred to as " in first technology ") of scene:
1, user can select in first-selection the candidate that wants, and in the result of first technology in secondary choosing, because the input method system band of computer version etc. gives the custom of user space being shielded first candidate, selects first candidate can be much less than other candidate's costs; The situation that another one is extreme: what suppose that user wants is not time choosing " result ", but first candidate being positioned at the second screen (for head screen) " connects goods ", then in first technology, user also needs click page turning key, the text message wanted is selected the second screen candidate, and in this example, because " marriage " has abdicated the valuable position of first screen, " connect goods " and be able to represent at head screen, thus avoid a page turning key.
2, user is when inputting different contents, the probability of makeing mistakes is different, distribution when the input distribution after very possible backspace and normal input has very large difference, so simulate the distribution of the input after backspace with the input distribution of normal input to have larger error, and take the upper text message of screen on after to backspace that distributes that shields of normal input to predict just in first technology, user is by mistake by after screen on text message, click delete key, in fact give input method system some feedback informations, if be really shielded on missing, so just the text message of upper screen can not be transfused to again, thus the limited spacial flex of first screen can not be maximally utilised in first technology, this phenomenon is in text message relatively (such as nearly word form, the nearly word of sound etc.) time can be particularly evident.
Application scenarios two
User is input key input string " niyou " in the keyboard of reality, input method system returns " you again ", " you have ", " you ", " Buddhist nun ", Pinyin Input that the key-press input string " niyou " such as " " and " greasy " is corresponding candidate's text message, be presented on input method system interface, suppose the upper screen of user's request " you have ", but " you again " upper screen due to reason wrong choices such as distractions, be presented in application program edit box, find input error afterwards, therefore backspace once, " again " of the upper screen of deletion;
In the flow process of normally input, as shown in Figure 5, then the heavy defeated key-press input string " you " of user, obtains candidate's text message, " having ", " again ", " oil ", " you ", " trip " and " friend ", and user can select " having " above shields;
Is the text message of the upper screen of part due to what delete, therefore cannot triggers the technology of scene of formerly reducing;
The application embodiment of the present invention, as shown in Figure 6, determine that the current all key-press input string Py that upper screen text message is corresponding is " niyou ", current all upper screen text message A are " you again ", current deletion backspace number of times c used is " 1 ", determine that deleted text message is for " again ", although a lot of with the text message of " again " repeated code, such as " by ", " excellent ", " friend " etc., but effectively can remove the lower text message of confidence level with the existence of " you " above, such as " excellent ", " friend " etc., then tlv triple data Py-A-c is " niyou-you again-1 ", inquire about the text message B inputted when tlv triple data " niyou-you again-1 " occur i, " having ", " trip ", " by ", " friend ", " right side " and " postal ", user can select " having " upper screen.
Application scenarios three
Even if user chats at use communication tool and other users, input key input string " 96 " in nine grids input keyboard, input method system returns candidate's text message of Pinyin Input corresponding to the key-press input string " 96 " such as " I ", " ", " ", " nest " and " holding ", be presented on input method system interface, active user selects " I " upper screen, and be presented in application program edit box, chat environment changes afterwards, therefore backspace once, deletes " I " of upper screen;
In the flow process of normal input, as shown in Figure 7, then the heavy defeated key-press input string " 64 " of user, obtains candidate's text message, " you ", " plan ", " mud ", " Buddhist nun " and " greasy ", and user can select " you " upper screen;
The technology of scene is formerly reduced in application, and as shown in Figure 8, input method system represents original candidate's text message again, " I ", " ", " ", " nest " and " holding ", does not have " you " needed for user;
The application embodiment of the present invention, as shown in Figure 9, determine that the current all key-press input string Py that upper screen text message is corresponding is " wo ", current all upper screen text message A are " I ", current deletion backspace number of times c used is " 1 ", determine that deleted text message is for " I ", then tlv triple data Py-A-c is " wo-I-1 ", inquires about the text message B inputted when tlv triple data " wo-I-1 " occur i, " you ", " I ", " having ", " " and " that ", user can select the upper screen of first-selection " you ".
The chat window of user in immediate communication tool conversates and thinking conversion often occurs, and thinking conversion occurs between the word such as " I " and " you ".
Such as, user A and user B conversated at night, and user A intends to think " I has been stranded ", after having inputted " I ", feel to think word not too courtesy, therefore wanted to change another saying " you are stranded " into, namely after needing to delete " I ", then input " you ".
Again such as, user A and user B conversated at night, user A intends to think " I has been stranded ", after having inputted " I ", feels to think word not too courtesy, therefore want to change another saying " you are stranded " into, delete " I " immediately, but user A feels again to say so mild and indirect in the face of friend, therefore still thinks " I has been stranded ", namely, after deleting " I ", again " I " is inputted.
And in fact, even if in the application of communication tool and so on, concentrate most user's input behavior, user surmises language, the situation of wish to speaking but not to do so on a second thought often occurs, the situation relating to " I " and " you " such extremely high frequency text message generation thinking conversion is a lot, and the text message of redirect also comparatively disperses, it is not exclusively the text message of repeated code part.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Figure 10, show the structured flowchart of the input media embodiment of a kind of text message of the present invention, specifically can comprise as lower module:
Text message determination module 1001, for monitor delete current all or part of on shield text message time, determine the first text message and the second text message; Wherein, described first text message can comprise key-press input string, all upper screen text message that all upper screen text message is corresponding and delete backspace number of times used; Described second text message can comprise the text message re-entered after described first text message occurs;
Select probability computing module 1002, is selected the select probability of upper screen for calculating described second text message according to described first text message;
Display module 1003, for when described select probability is greater than default probability threshold value, shows described second text message in the position of specifying.
In one preferred embodiment of the invention, described select probability computing module 1002 can comprise following submodule:
First searches submodule, for searching the first history frequency of occurrence of described first text message;
Second searches submodule, for searching the second history frequency of occurrence of described second text message;
Candidate determines submodule, for determining candidate second text message carrying out showing in described second text message;
Formulae discovery submodule, selected the select probability of upper screen for adopting the second text message described in following formulae discovery:
p = Σ i = 1 n count ( Py - A - c - B i ) count ( Py - A - c )
Wherein, p is described select probability, and Py-A-c is described first text message, and Py is the described key-press input string that all upper screen text message is corresponding, A be described all on shield text message, c is described backspace number of times, B ifor described second text message, count (Py-A-c) is described first history frequency of occurrence, count (Py-A-c-B i) be described second history frequency of occurrence, n is the quantity of described candidate second text message, and i is positive integer.
In a kind of preferred exemplary of the embodiment of the present invention, described first history frequency of occurrence and described second history frequency of occurrence can obtain in the following manner:
When monitor deletion formerly all or part of upper screen text message time, by key-press input string corresponding for all upper screen text messages, all upper screen text message with delete backspace number of times used and be recorded as the first text message;
Being recorded in the Textual information inputted after described first text message occurs is the second text message;
Add up the first history frequency of occurrence of described first text message;
Add up the second history frequency of occurrence of described second text message.
In a kind of preferred exemplary of the embodiment of the present invention, described candidate determines that submodule can comprise following submodule further:
Probability of occurrence calculating sub module, for calculating the frequency of occurrences of described second text message; The described frequency of occurrences comprises the ratio of described second history frequency of occurrence and described first history frequency of occurrence;
Extract submodule, for extracting maximum one or more second text messages of described probability of occurrence as candidate second text message carrying out showing in head screen.
In one preferred embodiment of the invention, described display module 1003 can comprise following submodule:
Candidate shows submodule, for showing described candidate second text message in the position of specifying.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The embodiment of the present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, terminal device (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing terminal equipment produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computing machine or other programmable terminal equipment, thus the instruction performed on computing machine or other programmable terminal equipment is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal device comprising described key element and also there is other identical element.
Above to the input method of a kind of text message provided by the present invention and a kind of input media of text message, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. an input method for text message, is characterized in that, comprising:
When monitor delete current all or part of upper screen text message time, determine the first text message and the second text message; Wherein, described first text message comprises key-press input string, all upper screen text message that all upper screen text message is corresponding and deletes backspace number of times used; Described second text message comprises the text message re-entered after described first text message occurs;
Calculate described second text message according to described first text message and selected the select probability of upper screen;
When described select probability is greater than default probability threshold value, in the position of specifying, show described second text message.
2. method according to claim 1, is characterized in that, described according to described first text message calculate described second text message comprised by the step of the select probability selecting upper screen:
Search the first history frequency of occurrence of described first text message;
Search the second history frequency of occurrence of described second text message;
Candidate second text message carrying out showing is determined in described second text message;
The second text message described in following formulae discovery is adopted to be selected the select probability of upper screen:
p = Σ i = 1 n count ( Py - A - c - B i ) count ( Py - A - c )
Wherein, p is described select probability, and Py-A-c is described first text message, and Py is the described key-press input string that all upper screen text message is corresponding, A be described all on shield text message, c is described backspace number of times, B ifor described second text message, count (Py-A-c) is described first history frequency of occurrence, count (Py-A-c-B i) be described second history frequency of occurrence, n is the quantity of described candidate second text message, and i is positive integer.
3. method according to claim 2, is characterized in that, described first history frequency of occurrence and described second history frequency of occurrence obtain in the following manner:
When monitor deletion formerly all or part of upper screen text message time, by key-press input string corresponding for all upper screen text messages, all upper screen text message with delete backspace number of times used and be recorded as the first text message;
Being recorded in the text message inputted after described first text message occurs is the second text message;
Add up the first history frequency of occurrence of described first text message;
Add up the second history frequency of occurrence of described second text message.
4. method according to claim 2, is characterized in that, describedly in described second text message, determines that the step of carrying out candidate second text message shown in head screen comprises:
Calculate the frequency of occurrences of described second text message; The described frequency of occurrences comprises the ratio of described second history frequency of occurrence and described first history frequency of occurrence;
Extract maximum one or more second text messages of described probability of occurrence as candidate second text message carrying out showing in head screen.
5. method according to claim 2, is characterized in that, describedly in the position of specifying, shows that the step of described second text message comprises:
Described candidate second text message is shown in the position of specifying.
6. an input media for text message, is characterized in that, comprising:
Text message determination module, for monitor delete current all or part of on shield text message time, determine the first text message and the second text message; Wherein, described first text message comprises key-press input string, all upper screen text message that all upper screen text message is corresponding and deletes backspace number of times used; Described second text message comprises the text message re-entered after described first text message occurs;
Select probability computing module, is selected the select probability of upper screen for calculating described second text message according to described first text message;
Display module, for when described select probability is greater than default probability threshold value, shows described second text message in the position of specifying.
7. device according to claim 6, is characterized in that, described select probability computing module comprises:
First searches submodule, for searching the first history frequency of occurrence of described first text message;
Second searches submodule, for searching the second history frequency of occurrence of described second text message;
Candidate determines submodule, for determining candidate second text message carrying out showing in described second text message;
Formulae discovery submodule, selected the select probability of upper screen for adopting the second text message described in following formulae discovery:
p = Σ i = 1 n count ( Py - A - c - B i ) count ( Py - A - c )
Wherein, p is described select probability, and Py-A-c is described first text message, and Py is the described key-press input string that all upper screen text message is corresponding, A be described all on shield text message, c is described backspace number of times, B ifor described second text message, count (Py-A-c) is described first history frequency of occurrence, count (Py-A-c-B i) be described second history frequency of occurrence, n is the quantity of described candidate second text message, and i is positive integer.
8. device according to claim 7, is characterized in that, described first history frequency of occurrence and described second history frequency of occurrence obtain in the following manner:
When monitor deletion formerly all or part of upper screen text message time, by key-press input string corresponding for all upper screen text messages, all upper screen text message with delete backspace number of times used and be recorded as the first text message;
Being recorded in the Textual information inputted after described first text message occurs is the second text message;
Add up the first history frequency of occurrence of described first text message;
Add up the second history frequency of occurrence of described second text message.
9. device according to claim 7, is characterized in that, described candidate determines that submodule comprises:
Probability of occurrence calculating sub module, for calculating the frequency of occurrences of described second text message; The described frequency of occurrences comprises the ratio of described second history frequency of occurrence and described first history frequency of occurrence;
Extract submodule, for extracting maximum one or more second text messages of described probability of occurrence as candidate second text message carrying out showing in head screen.
10. device according to claim 9, is characterized in that, described display module comprises:
Candidate shows submodule, for showing described candidate second text message in the position of specifying.
CN201410332496.2A 2014-07-11 2014-07-11 A kind of input method and device of text information Active CN105334952B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201410332496.2A CN105334952B (en) 2014-07-11 2014-07-11 A kind of input method and device of text information
KR1020167031676A KR102327418B1 (en) 2014-07-11 2015-07-10 Text information input method and device
PCT/CN2015/083756 WO2016004893A1 (en) 2014-07-11 2015-07-10 Text information input method and device
JP2016564625A JP6667452B2 (en) 2014-07-11 2015-07-10 Method and apparatus for inputting text information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410332496.2A CN105334952B (en) 2014-07-11 2014-07-11 A kind of input method and device of text information

Publications (2)

Publication Number Publication Date
CN105334952A true CN105334952A (en) 2016-02-17
CN105334952B CN105334952B (en) 2018-12-18

Family

ID=55063602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410332496.2A Active CN105334952B (en) 2014-07-11 2014-07-11 A kind of input method and device of text information

Country Status (4)

Country Link
JP (1) JP6667452B2 (en)
KR (1) KR102327418B1 (en)
CN (1) CN105334952B (en)
WO (1) WO2016004893A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306253A (en) * 2019-07-30 2021-02-02 北京搜狗科技发展有限公司 Method, device and equipment for determining input object
CN112445349A (en) * 2019-09-05 2021-03-05 北京搜狗科技发展有限公司 Input method and device and electronic equipment
CN113534973A (en) * 2020-04-16 2021-10-22 北京搜狗科技发展有限公司 Input method, input device and input device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221603B (en) * 2019-10-30 2024-08-13 深圳前海微众银行股份有限公司 Information input method and device based on input box

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382866A (en) * 2008-09-26 2009-03-11 腾讯科技(深圳)有限公司 System and method for correcting input characters
CN101387919A (en) * 2008-10-17 2009-03-18 腾讯科技(深圳)有限公司 System and method for resuming deleted characters
CN101989128A (en) * 2009-08-03 2011-03-23 北京搜狗科技发展有限公司 Method and device for showing candidate words in fixed position
CN102193645A (en) * 2010-03-16 2011-09-21 腾讯科技(深圳)有限公司 Character inputting method and system
US8630847B2 (en) * 2007-06-25 2014-01-14 Google Inc. Word probability determination

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3003605B2 (en) * 1996-12-25 2000-01-31 日本電気株式会社 Word correction device and word correction method
JP2003131776A (en) * 2001-10-29 2003-05-09 Sony Corp Information-processing device, character string-inputting device and confirmed history-controlling method
KR100736561B1 (en) * 2005-12-28 2007-07-09 엘지전자 주식회사 Mobile communication terminal and device for wrong word correction and correction method thereof
CN101241514B (en) * 2008-03-21 2014-11-05 北京搜狗科技发展有限公司 Method for creating error-correcting database, automatic error correcting method and system
CN101350004B (en) * 2008-09-11 2010-08-11 北京搜狗科技发展有限公司 Method for forming personalized error correcting model and input method system of personalized error correcting
CN102156551B (en) * 2011-03-30 2014-04-23 北京搜狗科技发展有限公司 Method and system for correcting error of word input
CN103049458B (en) * 2011-10-17 2016-06-08 北京搜狗科技发展有限公司 A kind of method and system revising user thesaurus
US8881005B2 (en) * 2012-04-20 2014-11-04 King Abdulaziz City For Science And Technology Methods and systems for large-scale statistical misspelling correction
JP5931627B2 (en) * 2012-07-23 2016-06-08 京セラ株式会社 Portable terminal device, program, and input correction method
JP2014191355A (en) * 2013-03-26 2014-10-06 Oki Data Corp Character input device, and character input method
CN104461042B (en) * 2013-09-16 2017-12-26 百度在线网络技术(北京)有限公司 Based on the Japanese input method and system for retracting key and carrying out automatically error correction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8630847B2 (en) * 2007-06-25 2014-01-14 Google Inc. Word probability determination
CN101382866A (en) * 2008-09-26 2009-03-11 腾讯科技(深圳)有限公司 System and method for correcting input characters
CN101387919A (en) * 2008-10-17 2009-03-18 腾讯科技(深圳)有限公司 System and method for resuming deleted characters
CN101989128A (en) * 2009-08-03 2011-03-23 北京搜狗科技发展有限公司 Method and device for showing candidate words in fixed position
CN102193645A (en) * 2010-03-16 2011-09-21 腾讯科技(深圳)有限公司 Character inputting method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306253A (en) * 2019-07-30 2021-02-02 北京搜狗科技发展有限公司 Method, device and equipment for determining input object
CN112445349A (en) * 2019-09-05 2021-03-05 北京搜狗科技发展有限公司 Input method and device and electronic equipment
CN113534973A (en) * 2020-04-16 2021-10-22 北京搜狗科技发展有限公司 Input method, input device and input device
CN113534973B (en) * 2020-04-16 2024-08-02 北京搜狗科技发展有限公司 Input method, device and device for inputting

Also Published As

Publication number Publication date
KR102327418B1 (en) 2021-11-17
CN105334952B (en) 2018-12-18
JP2017528777A (en) 2017-09-28
WO2016004893A1 (en) 2016-01-14
KR20170028875A (en) 2017-03-14
JP6667452B2 (en) 2020-03-18

Similar Documents

Publication Publication Date Title
CN108352003B (en) Method and apparatus for single or multiple choice data presentation through a collaborative database service
US8959109B2 (en) Business intelligent in-document suggestions
CN110837369A (en) Form generation method and device, electronic equipment and storage medium
CN112136127B (en) Action indicator for search operation output element
US20180268053A1 (en) Electronic document generation using data from disparate sources
Fourney et al. InterTwine: creating interapplication information scent to support coordinated use of software
US20180300058A1 (en) Supplementing a virtual input keyboard
JP2021101361A (en) Method, device, apparatus and storage medium for generating event topics
CN108353018B (en) Method, device and system for sending message
JPWO2020204144A1 (en) Business analysis method
CN113039539A (en) Extending search engine capabilities using AI model recommendations
EP3214827B1 (en) Application session recording and replaying
CN110222194A (en) Data drawing list generation method and relevant apparatus based on natural language processing
JP6162134B2 (en) Social page trigger
CN105094603A (en) Method and device for related inputting
KR101413987B1 (en) Electronic device including mind-map user interface, and method for manipulating mind-map using the same
KR102180487B1 (en) Text mining method, text mining program, and text mining device
US11874893B2 (en) Modularizing and embedding supplemental textual and visual content in different environments
CN105334952A (en) Input method and device of text information
WO2015006595A1 (en) Systems and methods for knowledge management
CN108255963A (en) A kind of control method and device of the News Retrieval based on internet
KR100751276B1 (en) System and method for supplying patent map be able to grasp correlation degree between data
CN103941979A (en) Method and device for inputting characters into mobile device
CN104978047A (en) Cross-keyboard association method and apparatus
CN112416212A (en) Program access method, device, electronic equipment and readable storage medium

Legal Events

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