CN110286776A - Input method, device, electronic equipment and the storage medium of character combination information - Google Patents

Input method, device, electronic equipment and the storage medium of character combination information Download PDF

Info

Publication number
CN110286776A
CN110286776A CN201910509235.6A CN201910509235A CN110286776A CN 110286776 A CN110286776 A CN 110286776A CN 201910509235 A CN201910509235 A CN 201910509235A CN 110286776 A CN110286776 A CN 110286776A
Authority
CN
China
Prior art keywords
key message
key
text
character combination
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910509235.6A
Other languages
Chinese (zh)
Inventor
陈小帅
刘正阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910509235.6A priority Critical patent/CN110286776A/en
Publication of CN110286776A publication Critical patent/CN110286776A/en
Pending legal-status Critical Current

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

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)

Abstract

The disclosure proposes a kind of input method of character combination information, device, electronic equipment and storage medium, wherein, method includes: the content of text for obtaining user and inputting in current interactive interface predeterminable area, and obtain the first key message in content of text, and the second key message of acquisition and the first key information match, and first key message and second key message be combined according to preset rules, to generate character combination information, and the character combination information after combination is supplied to user, thus, it is rapidly input by the character combination information realization of displaying, reduce the trouble that user oneself is manually entered character combination information, reduce the input cost of user, improve the input experience of user.

Description

Input method, device, electronic equipment and the storage medium of character combination information
Technical field
This disclosure relates to field of computer technology more particularly to a kind of input method of character combination information, device, electronics Equipment and storage medium.
Background technique
Currently, sometimes user can pass through the table for body formula of transferring during user delivers state and makes comments The sense of reality of oneself is expressed up to mode, that is, by text comparison, oneself sense of reality is reversely expressed, for example, user needs To need to input " Combinational Mathematics very simple (no) is single (understanding) " in the copy editor region of comment or issued state, alternatively, you Text informations such as complete (hao) complete (wu) positive (dao) true (li) for saying.In the related technology, the text of above-mentioned example is inputted in user When information, general process are as follows: user first inputs surface meaning word, such as " completely correct ", is then inserted between every two word The word of bracket and true intention word needs user to be manually entered bracket, and true intention word needs to split into individual character input, splits Individual character input than inputting entire entry is difficult to that entry is accurately positioned.Thus, it is possible to find out, in the text information of input above-mentioned example When, need the input of user to operate, the input cost of user is higher, it has not been convenient to which user, which rapidly inputs, to give expression to one's sentiment.
Summary of the invention
The disclosure provides input method, device, electronic equipment and the storage medium of a kind of character combination information, passes through displaying Character combination information realization rapidly input, reduce user oneself and be manually entered the trouble of character combination information, reduce user Input cost, improve user input experience.
Disclosure first aspect embodiment proposes a kind of input method of character combination information, comprising: to current interaction The predeterminable area at interface is monitored, to obtain the first content of text that user inputs in the predeterminable area;Described in acquisition The first key message in first content of text;Obtain the second key message with first key information match, wherein institute Stating has incidence relation between the first key message and second key message;By first key message and described second Key message is combined according to preset rules, to generate character combination information;The character combination letter is shown to the user Breath.
In one embodiment of the present disclosure, it is described by first key message and second key message according to Preset rules are combined, before generating character combination information, further includes: determine opened in the current interactive interface it is pre- If input pattern, wherein the default input pattern is used to indicate the second key obtained with first key information match Information, and processing is combined to first key message and second key message.
In one embodiment of the present disclosure, default input pattern is opened in the determination in the current interactive interface, Include: when there is second key message with first key information match in determining first content of text, The current interactive interface is controlled, the default input pattern is opened;Alternatively, according to preset intention analysis model, to described First content of text carries out intention analysis, and as a result, determining first content of text, there are character combinations according to analysis is intended to It when input is intended to, controls in the current interactive interface, opens the default input pattern.
In one embodiment of the present disclosure, the second key message of the acquisition and first key information match, It include: to obtain second key message with first key information match from first content of text.
In one embodiment of the present disclosure, the second key message of the acquisition and first key information match, It include: that the candidate key information with first key information match is obtained according to preset key message library;To the user Show the candidate key information;The candidate key information that the user is chosen is as second key message.
In one embodiment of the present disclosure, further includes: if receiving the selection operation for the character combination information, Then according to the character combination information and first content of text, the second content of text is generated;In the current interactive interface The predeterminable area in show second content of text.
Disclosure second aspect embodiment proposes a kind of input unit of character combination information, comprising: monitoring module is used It is monitored in the predeterminable area to current interactive interface, to obtain in the first text that user inputs in the predeterminable area Hold;First obtains module, for obtaining the first key message in first content of text;Second obtains module, for obtaining Take the second key message with first key information match, wherein first key message and the second crucial letter There is incidence relation between breath;Composite module is used for first key message and second key message according to default Rule is combined, to generate character combination information;Display module, for showing the character combination information to the user.
In one embodiment of the present disclosure, further includes: determining module is opened in the current interactive interface for determining Open default input pattern, wherein the default input pattern is used to indicate second obtained with first key information match Key message, and processing is combined to first key message and second key message.
In one embodiment of the present disclosure, the determining module, is specifically used for: in determining first content of text When in the presence of second key message with first key information match, the current interactive interface is controlled, described in unlatching Default input pattern;Alternatively, carrying out intention analysis, and root to first content of text according to preset intention analysis model According to intention analysis as a result, control is in the current interaction when determining that first content of text is intended to there are character combination input In interface, the default input pattern is opened.
In one embodiment of the present disclosure, described first module is obtained, be specifically used for: from first content of text In, obtain second key message with first key information match.
In one embodiment of the present disclosure, described first module is obtained, be specifically used for: according to preset key message Library obtains the candidate key information with first key information match;The candidate key information is shown to the user;It will The candidate key information that the user chooses is as second key message.
In one embodiment of the present disclosure, further includes: generation module, if believing for receiving for the character combination The selection operation of breath generates the second content of text then according to the character combination information and first content of text;Show mould Block, for showing second content of text in the predeterminable area of the current interactive interface.
It is pre- in current interactive interface to obtain user for the input method and device of the character combination information of the embodiment of the present disclosure If the content of text inputted in region, and the first key message in content of text is obtained, and obtain and the first key message The second key message and the first key message and second key message matched are combined according to preset rules, with life It is supplied to user at character combination information, and by the character combination information after combination, as a result, the character combination information by showing Realization is rapidly input, and is reduced the trouble that user oneself is manually entered character combination information, is reduced the input cost of user, improves The input experience of user.
In order to achieve the above object, disclosure third aspect embodiment proposes a kind of electronic equipment, including memory, processor And it is stored in the computer program that can be run on the memory and on the processor, the processor executes the journey Sequence, to be used for: the predeterminable area of current interactive interface is monitored, with obtain that user inputs in the predeterminable area One content of text;Obtain the first key message in first content of text;It obtains and first key information match Second key message, wherein there is incidence relation between first key message and second key message;By described One key message and second key message are combined according to preset rules, to generate character combination information;To the use Family shows the character combination information.
In order to achieve the above object, disclosure fourth aspect embodiment proposes a kind of non-transitory computer-readable storage medium Matter is stored thereon with computer program, which is executed by processor, to be used for: to the predeterminable area of current interactive interface into Row monitoring, to obtain the first content of text that user inputs in the predeterminable area;It obtains in first content of text First key message;Obtain and the second key message of first key information match, wherein first key message and There is incidence relation between second key message;By first key message and second key message according to default Rule is combined, to generate character combination information;The character combination information is shown to the user.
The additional aspect of the disclosure and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the disclosure.
Detailed description of the invention
The disclosure is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of the input method of character combination information provided by the embodiment of the present disclosure;
Fig. 2 is the flow diagram of the input method of another kind character combination information provided by the embodiment of the present disclosure;
Fig. 3 is the flow diagram of the input method of another kind character combination information provided by the embodiment of the present disclosure;
Fig. 4 is the flow diagram of the input method of another kind character combination information provided by the embodiment of the present disclosure;
Fig. 5 is a kind of structural schematic diagram of the input unit of character combination information provided by the embodiment of the present disclosure;
Fig. 6 is the structural schematic diagram of the input unit of another kind character combination information provided by the embodiment of the present disclosure;
Fig. 7 is the structural schematic diagram of the input unit of another kind character combination information provided by the embodiment of the present disclosure;
Fig. 8 is that the structure of the electronic equipment of the input method of execution character combined information provided by the embodiment of the present disclosure is shown It is intended to.
Specific embodiment
Embodiment of the disclosure is described below in detail, the example of embodiment is shown in the accompanying drawings, wherein identical from beginning to end Or similar label indicates same or similar element or element with the same or similar functions.It is retouched below with reference to attached drawing The embodiment stated is exemplary, it is intended to for explaining the disclosure, and should not be understood as the limitation to the disclosure.
Below with reference to the accompanying drawings describe the input method of the character combination information of the embodiment of the present disclosure, device, electronic equipment and Storage medium.
Fig. 1 is a kind of flow diagram of the input method of character combination information provided by the embodiment of the present disclosure.
As shown in Figure 1, the input method of the character combination information includes:
Step 101, the predeterminable area of current interactive interface is monitored, is inputted in predeterminable area with to obtain user First content of text.
The input method of the character combination information of the embodiment of the present disclosure is executed by the input unit of character combination information, the word The input unit of symbol combined information can be only fitted in electronic equipment or server, which is not construed as limiting this.
Wherein, electronic equipment can include but is not limited to mobile phone, tablet computer, wearable device etc., and the embodiment is to this It is not construed as limiting.
It is understood that predeterminable area can be arranged, for example, predeterminable area can be to work as according to practical application request Comment region in preceding interactive interface, or the copy editor region in current interactive interface is (such as in publication interface Copy editor region) etc..
The embodiment of the present disclosure is described so that predeterminable area is comment region as an example.It is understood that in comment region Middle user can be with inputting word information to issue comment.
Step 102, the first key message in the first content of text is obtained.
First key message refers to the key message in the first content of text.
Wherein, key message can include but is not limited to keyword and crucial phonetic etc..
The embodiment of the present disclosure is illustrated using the first key message as keyword.
In the embodiments of the present disclosure, the first key message in the first content of text is obtained, can be accomplished in the following manner:
It, can be according to preset key message library, in text in the first content of text as a kind of possible implementation Appearance is matched, and according to matching result, obtains the first key message in the first content of text.
For example, it is assumed that preset key message library include it is characteristically brilliant, the first content of text for you be really it is characteristically brilliant, lead to It crosses and compares the content of text in the first content of text with preset key message library, can determine the first content of text packet " characteristically brilliant " in key message library is included, accordingly, it is determined that the first key message in the first content of text is that " talent is horizontal out It overflows ".
It wherein, may include sample keyword and sample key phonetic etc. in preset key message library.
It, can also be according to preset key message model, to the first content of text as alternatively possible implementation It is analyzed, to determine the key message in the first content of text.
Step 103, the second key message with the first key information match is obtained.
Wherein, there is incidence relation between the first key message and the second key message.
Wherein, incidence relation can include but is not limited to semantic inverse relationship, homophonic relationship and semantic similarity relation etc..
There is semantic inverse relationship to refer to the first key message and second between first key message and the second key message Semanteme expressed by key message is opposite.
Having homophonic relationship between first key message and the second key message is the first key message and the second crucial letter There is homophonic relationship in the phonetic of breath.
There is semantic similarity relation to refer to the first key message and second between first key message and the second key message Semanteme expressed by key message is more similar.For example, the first key message be it is happy, the second key message is happy, alternatively, First key message be it is very talented, the second key message be it is characteristically brilliant
In the embodiments of the present disclosure, with the first relation information there is the second key message of incidence relation can be from first What content of text obtained, it can be according to preset key message library, obtained from preset key message library and the first key Second key message of information matches can also be obtained by key message analysis model trained in advance.
It is understood that preserving in preset key message library has the associations such as semantic inverse relationship harmony sound relationship The first sample key message of relationship and the second sample key message.
The embodiment of property as an example, by taking incidence relation is semantic inverse relationship as an example, it is assumed that the first crucial letter Breath is that the first keyword can obtain after obtaining the first keyword in the first content of text for analyzing semantic inverse relationship Key message analysis model, and keyword will be got from the first content of text, and be input to key message analysis model, with By key message analysis model, obtaining has semantic the second opposite keyword with first keyword.
Wherein, key message analysis model is based on a large amount of first sample keywords and second with semantic inverse relationship Sample keyword is trained.
The substantially process of training key message analysis model are as follows: closed first sample by the encoder section of initial model Keyword (first sample keyword look like for surface word) is encoded to the hidden vector of certain dimension, then, to passing through initial model Decoder has the hidden vector decoding of encoder to target keyword by comparing target keyword and with the first crucial sample word There is the difference between the second semantic opposite sample keyword (the second sample keyword is true intention word), and by difference gradient It propagates to update and arrives model parameter, by fixed wheel number training, key message analysis model trained in advance can be obtained.
It is understood that first sample keyword and the second sample keyword are by semantic opposite to having in network Mass data analyzed obtained from.
Step 104, the first key message and the second key message are combined according to preset rules, to generate character group Close information.
Wherein, preset rules are the pre-set rules for generating character combination information.
The first example, preset rules can be with are as follows: by separator will in the first key message and the second key message it is every A word separates, at the same again to the word of two entries reconfigure sequence, add preset kind bracket construct character Combined information.
Wherein, the bracket of preset kind can include but is not limited to braces, round bracket and bracket etc., the embodiment pair This is not construed as limiting.
For example, the first key message be it is characteristically brilliant, the second key message be milli inconstancy, with above-mentioned exemplary default rule For then, the first key message and the second key message are combined according to above-mentioned preset rules, the character combination letter of generation Breath overflows (behaviour) for (milli) magnificent (nothing) horizontal (section).
Second of example, preset rules can be with are as follows: each word in the first key message separated by separator, Then, when determining the second key message is key words, the corresponding Pinyin information of the second key message can be obtained, according to segmentation Symbol is split with the corresponding phonetic unit of each word, later, is added one after each word in the first key message and is preset The bracket of type, and added in corresponding bracket and correspond to phonetic corresponding to word in the second key message, to generate character group Close information.
In another example the first key message is completely correct, the second key by taking above-mentioned second exemplary preset rules as an example Information be it is utterly unjustifiable, after being combined by the preset rules to the second key message and the second key message, resulting word According with combined information is " complete (hao) complete (wu) positive (dao) is true (li) ".
Step 105, character combination information is shown to user.
The input method of the character combination information of the embodiment of the present disclosure obtains user in current interactive interface predeterminable area The content of text of input, and the first key message in content of text is obtained, and acquisition and the second of the first key information match Key message and the first key message and the second key message are combined according to preset rules, to generate character combination letter Breath, and the character combination information after combination is supplied to user, it is quickly defeated by the character combination information realization shown as a result, Enter, reduces the trouble that user oneself is manually entered character combination information, reduce the input cost of user, improve the defeated of user Enter experience.
On the basis of based on the above embodiment, in order to avoid directly carrying out group to the first key message and the second key message Conjunction impacts the normal use of user, as an example the embodiment of property, closes by the first key message and second Key information is combined according to preset rules, before generating character combination information, can be determined and be opened in current interactive interface Open default input pattern.That is, determining current hand over before being combined to the first key message and the second key message Default input pattern is opened in mutual interface, that is, is only opened default input pattern in current interactive interface, can just be triggered First key message and the second key message, which are combined, generates character combination information.
Wherein, preset input pattern, be used to indicate obtain with the second key message of the first key information match, and to the One key message and the second key message are combined processing.That is, presetting input mould only in current interactive interface After formula is opened, just the first key message and the second key message is combined to be combined according to preset rules, generates character combination letter Breath.
In the embodiments of the present disclosure, it in different application scene, determines and opens default input mould in current interactive interface The mode of formula is different, is exemplified below:
As an example, there is the second key message with the first key information match in determining the first content of text When, current interactive interface is controlled, default input pattern is opened.
Specifically, there is semantic opposite the first key message and the second key message in determining the first content of text When, it can be controlled in current interactive interface and opens default input pattern.
For example, the two isometric character strings separated there are blank separator or punctuate, and two isometric character strings Semanteme on the contrary, for example, the first content of text is " you say complete correct, utterly unjustifiable ", at this time, it may be determined that current input is deposited The intention of default input pattern is being opened, is presetting input pattern at this point, can open in current interactive interface, subsequent is being to facilitate User shows character combination information, facilitates the subsequent input of user.
As another example, according to preset intention analysis model, intention analysis, and root are carried out to the first content of text According to intention analysis as a result, control is opened in current interactive interface when determining that the first content of text is intended to there are character combination input Open default input pattern.
As another example, the display preset control corresponding with default input pattern is opened on current interactive interface, The trigger action to preset control is received, according to trigger action, current interactive interface is controlled and opens default input pattern.As a result, User is facilitated to preset by the preset control unlatching corresponding with default input pattern is opened of setting on the current interactive interface of triggering defeated Enter mode, facilitating user, quick start presets input pattern according to demand.
Wherein, according to trigger action, the example for controlling the mode that current interactive interface opens default input pattern is as follows:
As an example, when determining that the touch-control pressure value to preset control is more than preset pressure threshold value, control is being worked as Default input pattern is opened in preceding interactive interface.
As another example, when determining that the touch-control duration to preset control is more than predetermined time period, controllably It makes and opens default input pattern in current interactive interface.
On the basis of based on the above embodiment, on the basis of shown in Fig. 1, as shown in Fig. 2, this method can also include:
Step 106, if receiving the selection operation for character combination information, according to character combination information and the first text This content generates the second content of text.
In the embodiments of the present disclosure, after showing character combination information to user in current interactive interface, if received User then obtains character combination information corresponding to selection operation to the selection operation of character combination information, and according to selecting Character combination information and the first content of text generate the second content of text.
As a kind of possible implementation, it may be determined that go out in the first content of text, mesh corresponding with character combination information Text information is marked, and is obtained in the first content of text, in addition to other text informations before target text information, and according to other Text information and character combination information generate the second content of text.
As alternatively possible implementation, it may be determined that go out mesh corresponding with character combination information in the first content of text Text information is marked, and the target text information in the first content of text is replaced with into character combination information, to generate the second text Content.
Step 107, the second content of text is shown in the predeterminable area of current interactive interface.
The input method of the character combination information of the embodiment of the present disclosure is showing character to user by current interactive interface After combined information, and according to user to the selection operation of character combination information, in conjunction with character combination information and the first content of text, The second content of text is automatically generated, and shows the second content of text in the predeterminable area of current interactive interface.It combines and uses as a result, The input of the second content of text is rapidly completed to the selection operation of character combination information in family.
The embodiment of the present disclosure provides the input method of another character combination information, and this method is to method shown in FIG. 1 Further expand and optimize.
Fig. 3 is the flow diagram of the input method of another kind character combination information provided by the embodiment of the present disclosure.Its In, the embodiment of the present disclosure is to have the first key message of incidence relation and the second key message is simultaneously in the first content of text Example is described.
As shown in figure 3, the input method of the character combination information includes:
Step 301, it determines and opens default input pattern in current interactive interface.
Wherein, it should be noted that aforementioned to determining, the default input pattern of unlatching is explained in current interactive interface Bright to be also applied for the embodiment of the present disclosure, details are not described herein again.
Step 302, the predeterminable area of current interactive interface is monitored, is inputted in predeterminable area with to obtain user First content of text.
Step 303, the first key message in the first content of text is obtained.
Wherein, it should be noted that aforementioned to determining, the default input pattern of unlatching is explained in current interactive interface Bright to be also applied for the embodiment of the present disclosure, details are not described herein again.
Step 304, from the first content of text, the second key message with the first key information match is obtained.
Wherein, the first key message and the second key message have incidence relation.
Wherein, incidence relation can include but is not limited to semantic inverse relationship harmony sound relationship etc..
Step 305, the first key message and the second key message are combined according to preset rules, to generate character group Close information.
Step 306, character combination information is shown to user.
Step 307, if receiving the selection operation for character combination information, according to character combination information and the first text This content generates the second content of text.
Specifically, when receiving the selection operation for character combination information, first in the first content of text is closed Key information replaces with character combination information corresponding to selection operation, to generate the second content of text.
For example, the first text information is " you say complete correct, utterly unjustifiable ", at this point, passing through analysis, it may be determined that first It include the first key message (completely correct) and the second key message (utterly unjustifiable) on the contrary with semanteme in text information, this When the first key message and the second key message can be combined according to preset rules, to obtain character combination information, character Combined information is " complete (hao) complete (wu) positive (dao) is true (li) ".Accordingly, it when user selects the character combination information, can incite somebody to action " completely correct, utterly unjustifiable " in first text information replaces with " complete (hao) complete (wu) positive (dao) is true (li) ", to generate Second content of text, the second content of text are " complete (hao) complete (wu) positive (dao) that you say is really (li) ".
Step 308, the second content of text is shown in the predeterminable area of current interactive interface.
The input method of the character combination information of the embodiment of the present disclosure obtains user in current interactive interface predeterminable area The content of text of input, and the first key message in content of text is obtained, and obtain and the first key from text content The second key message and the first key message of information matches and the second key message are combined according to preset rules, with Character combination information is generated, and the character combination information after combination is supplied to user, as a result, the character combination letter by showing Breath is realized and is rapidly input, and is reduced the trouble that user oneself is manually entered character combination information, is reduced the input cost of user, mention The high input experience of user.
Fig. 4 is the flow diagram of the input method of another kind character combination information provided by the embodiment of the present disclosure.
As shown in figure 4, the input method of the character combination information includes:
Step 401, it determines and opens default input pattern in current interactive interface.
Wherein, it should be noted that the explanation of default input pattern is opened in aforementioned determination in current interactive interface It is also applied for the embodiment, details are not described herein again.
Step 402, the predeterminable area of current interactive interface is monitored, is inputted in predeterminable area with to obtain user First content of text.
Step 403, according to preset key message library, the candidate key information with the first key information match is obtained.
In the embodiments of the present disclosure, before executing step 403, can also judge in the first content of text, if exist With the second key message of the first key information match, that is, judge it is to have to close with the first key message in the first content of text Join the second key message of information, if it does not exist, then executing step 403.
If it is present obtaining the second key message with the first key information match directly from the first content of text.
It include that there is the first sample key message of incidence relation and the second sample to close in above-mentioned preset key message library Key information.
Wherein, incidence relation can include but is not limited to semantic inverse relationship harmony sound relationship etc..
For example, the first key message be it is very talented, pass through preset key message library, it may be determined that with " very talented " with The matching degree highest of " characteristically brilliant " in key message library, at this point, can by " characteristically brilliant " as with the first key message The candidate key information matched.
It is understood that above-mentioned key message library and is constructed in advance by analyzing mass data on network Out.Wherein, key message library includes the first sample key message and the second sample key message with incidence relation.
Step 404, candidate key information is shown to user.
It is understood that above-mentioned candidate key information may include one or more.
The embodiment of property as an example can be combined with candidate key when candidate key information is multiple The frequency that information and the collocation of the first key message occur, is ranked up the displaying of candidate key information sequence, and to user's exhibition Candidate key information after showing sequence, the candidate key information often arranged in pairs or groups with facilitating user to quickly select.
For example, after determining that the first key message is characteristically brilliant, being so that incidence relation is semantic inverse relationship as an example The candidate key information of user's displaying can be to have no section is grasped, level is inferior etc., it is assumed that by statistics, determine characteristically brilliant and milli The frequency that inconstancy collocation uses, higher than the characteristically brilliant frequency used with horizontal inferior collocation, at this point, the time shown to user The sequence for selecting key message is milli inconstancy, horizontal inferior.
Step 405, candidate key information user chosen is as the second key message.
Step 406, the second key message with the first key information match is obtained.
Step 407, the first key message and the second key message are combined according to preset rules, to generate character group Close information.
Step 408, character combination information is shown to user.
Step 409, if receiving the selection operation for character combination information, according to character combination information and the first text This content generates the second content of text.
The embodiment of property as an example, when receiving the selection operation for character combination information, by first The first key message in content of text replaces with character combination information corresponding to selection operation, to generate in the second text Hold.
For example, the first text information is really characteristically brilliant for you, it is assumed that the first key message is " characteristically brilliant ", and second closes Key information is " horizontal inferior ", it is assumed that the character combination information combined is that " (shui) magnificent (ping) horizontal (di) overflows (lie) ", when user selects the character combination information, " the ability in the first content of text can be replaced by the character combination information China overflows ", to generate the second content of text.Wherein, the second content of text generated is that " you are really that (shui) is magnificent (ping) Horizontal (di) overflows (lie) ".
Step 410, the second content of text is shown in the predeterminable area of current interactive interface.
The input method of the character combination information of the embodiment of the present disclosure obtains user in current interactive interface predeterminable area The content of text of input, and obtain the first key message in content of text, and according to preset key message library obtains and the The candidate key information of one key information match, and the candidate key information that user is chosen is as the second key message, and First key message and the second key message are combined according to preset rules, to generate character combination information, and will be after combination Character combination information be supplied to user, as a result, by show character combination information realization rapidly input, reduce user oneself It is manually entered the trouble of character combination information, reduces the input cost of user, improves the input experience of user.
To realize above-described embodiment, the embodiment of the present disclosure also proposes a kind of input unit of character combination information.
Fig. 5 is a kind of structural schematic diagram of the input unit of character combination information provided by the embodiment of the present disclosure.
As shown in figure 5, the input unit of the character combination information may include that monitoring module 110, first obtains module 120, second module 130, composite module 140 and display module 150 are obtained, in which:
Monitoring module 110 is monitored for the predeterminable area to current interactive interface, to obtain user in predeterminable area First content of text of middle input.
First obtains module 120, for obtaining the first key message in the first content of text.
Second obtains module 130, for obtaining and the second key message of the first key information match, wherein first closes There is incidence relation between key information and the second key message.
Composite module 140, for the first key message and the second key message to be combined according to preset rules, with life At character combination information.
Display module 150, for showing character combination information to user.
In the embodiments of the present disclosure, on the basis of embodiment shown in Fig. 5, as shown in fig. 6, the device can also wrap It includes:
Determining module 160 opens default input pattern for determining in current interactive interface, wherein default input mould Formula is used to indicate the second key message obtained with the first key information match, and believes the first key message and second are crucial Breath is combined processing.
In one embodiment of the present disclosure, determining module 160 are specifically used for: existing in determining the first content of text When with the second key message of the first key information match, current interactive interface is controlled, opens default input pattern;Alternatively, root According to preset intention analysis model, intention analysis is carried out to the first content of text, and according to intention analysis as a result, determining the first text It when this content is intended to there are character combination input, controls in current interactive interface, opens default input pattern.
In one embodiment of the present disclosure, first module 120 is obtained, be specifically used for: from the first content of text, obtained With the second key message of the first key information match.
In one embodiment of the present disclosure, first module 120 is obtained, be specifically used for: according to preset key message library, Obtain the candidate key information with the first key information match;Candidate key information is shown to user;The candidate that user is chosen Key message is as the second key message.
In one embodiment of the present disclosure, on the basis of embodiment shown in Fig. 5, as shown in fig. 7, the device also wraps It includes:
Generation module 170, if for receiving the selection operation for character combination information, according to character combination information With the first content of text, the second content of text is generated;
Display module 180, for showing the second content of text in the predeterminable area of current interactive interface.
Wherein, it should be noted that the generation module 170 of above-mentioned Installation practice shown in Fig. 7 and display module 180 Structure also may be embodied in aforementioned Installation practice shown in fig. 6, to this disclosure without limiting.
Wherein, it should be noted that the explanation of the aforementioned input method embodiment to character combination information is also suitable In the input unit of the character combination information of the embodiment, details are not described herein again.
The input unit of the character combination information of the embodiment of the present disclosure obtains user in current interactive interface predeterminable area The content of text of input, and the first key message in content of text is obtained, and acquisition and the second of the first key information match Key message and the first key message and the second key message are combined according to preset rules, to generate character combination letter Breath, and the character combination information after combination is supplied to user, it is quickly defeated by the character combination information realization shown as a result, Enter, reduces the trouble that user oneself is manually entered character combination information, reduce the input cost of user, improve the defeated of user Enter experience.
In order to realize above-described embodiment, the embodiment of the present disclosure also proposes a kind of electronic equipment, including memory, processor and The computer program that can be run on a memory and on a processor is stored, processor executes program, to be used for: being grounded by chain When location pastes online document, show that choice box, choice box include at least one non-link exhibition method on the online document page; Obtain the intended display mode that user chooses from least one non-link exhibition method;According to intended display mode, it is grounded from chain Respective page content is obtained in the corresponding page in location, and respective page content is being shown in the document areas.
Below with reference to Fig. 8, it illustrates the structural representations for the electronic equipment 1000 for being suitable for being used to realize the embodiment of the present disclosure Figure.Electronic equipment in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electricity shown in Fig. 8 Sub- equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 8, electronic equipment 1000 may include processing unit (such as central processing unit, graphics processor etc.) 1001, it can be loaded at random according to the program being stored in read-only memory (ROM) 1002 or from storage device 1008 It accesses the program in memory (RAM) 1003 and executes various movements appropriate and processing.In RAM 1003, it is also stored with electricity Sub- equipment 1000 operates required various programs and data.Processing unit 1001, ROM 1002 and RAM 1003 pass through bus 1004 are connected with each other.Input/output (I/O) interface 1005 is also connected to bus 1004.
In general, following device can connect to I/O interface 1005: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 1006 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 1007 of dynamic device etc.;Storage device 1008 including such as tape, hard disk etc.;And communication device 1009.Communication Device 1009 can permit electronic equipment 1000 and wirelessly or non-wirelessly be communicated with other equipment to exchange data.Although Fig. 8 shows The electronic equipment 1000 with various devices is gone out, it should be understood that being not required for implementing or having all dresses shown It sets.It can alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 1009, or from storage device 1008 are mounted, or are mounted from ROM 1002.When the computer program is executed by processing unit 1001, the disclosure is executed The above-mentioned function of being limited in the method for embodiment.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: being monitored to the predeterminable area of current interactive interface, to obtain user described The first content of text inputted in predeterminable area;Obtain the first key message in first content of text;Obtain with it is described Second key message of the first key information match, wherein have between first key message and second key message It is relevant;First key message and second key message are combined according to preset rules, to generate word Accord with combined information;The character combination information is shown to the user.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs When being executed by the electronic equipment, so that the electronic equipment: being monitored to the predeterminable area of current interactive interface, to obtain user The first content of text inputted in the predeterminable area;Obtain the first key message in first content of text;It obtains With the second key message of first key information match, wherein first key message and second key message Between have incidence relation;First key message and second key message are combined according to preset rules, with Generate character combination information;The character combination information is shown to the user.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.

Claims (10)

1. a kind of input method of character combination information characterized by comprising
The predeterminable area of current interactive interface is monitored, to obtain the first text that user inputs in the predeterminable area Content;
Obtain the first key message in first content of text;
Obtain the second key message with first key information match, wherein first key message and described second There is incidence relation between key message;
First key message and second key message are combined according to preset rules, to generate character combination letter Breath;
The character combination information is shown to the user.
2. the method as described in claim 1, which is characterized in that described by first key message and described second crucial Information is combined according to preset rules, before generating character combination information, further includes:
It determines and opens default input pattern in the current interactive interface, wherein the default input pattern is used to indicate and obtains The second key message with first key information match is taken, and to first key message and second key message It is combined processing.
3. method according to claim 2, which is characterized in that the determination opened in the current interactive interface preset it is defeated Enter mode, comprising:
When there is second key message with first key information match in determining first content of text, control The current interactive interface is made, the default input pattern is opened;Alternatively,
According to preset intention analysis model, intention analysis carried out to first content of text, and according to being intended to analysis as a result, When determining that first content of text is intended to there are character combination input, control in the current interactive interface, described in unlatching Default input pattern.
4. method according to claim 2, which is characterized in that the acquisition is closed with the second of first key information match Key information, comprising:
From first content of text, second key message with first key information match is obtained.
5. method according to claim 2, which is characterized in that the acquisition is closed with the second of first key information match Key information, comprising:
According to preset key message library, the candidate key information with first key information match is obtained;
The candidate key information is shown to the user;
The candidate key information that the user is chosen is as second key message.
6. the method according to claim 1 to 5, which is characterized in that further include:
If receiving the selection operation for the character combination information, according to the character combination information and first text This content generates the second content of text;
Second content of text is shown in the predeterminable area of the current interactive interface.
7. a kind of input unit of character combination information characterized by comprising
Monitoring module is monitored for the predeterminable area to current interactive interface, to obtain user in the predeterminable area First content of text of input;
First obtains module, for obtaining the first key message in first content of text;
Second obtains module, for obtaining and the second key message of first key information match, wherein described first closes There is incidence relation between key information and second key message;
Composite module, for first key message and second key message to be combined according to preset rules, with Generate character combination information;
Display module, for showing the character combination information to the user.
8. device as claimed in claim 7, which is characterized in that further include:
Determining module opens default input pattern for determining, wherein the default input mould in the current interactive interface Formula is used to indicate the second key message obtained with first key information match, and to first key message and institute It states the second key message and is combined processing.
9. a kind of electronic equipment characterized by comprising
At least one processor;And the memory being connect at least one described processor communication;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, and described instruction is arranged to use In the input method for executing the described in any item character combination information of the claims 1-6.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction is for making the computer perform claim require the described in any item character groups of 1-6 Close the input method of information.
CN201910509235.6A 2019-06-13 2019-06-13 Input method, device, electronic equipment and the storage medium of character combination information Pending CN110286776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910509235.6A CN110286776A (en) 2019-06-13 2019-06-13 Input method, device, electronic equipment and the storage medium of character combination information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910509235.6A CN110286776A (en) 2019-06-13 2019-06-13 Input method, device, electronic equipment and the storage medium of character combination information

Publications (1)

Publication Number Publication Date
CN110286776A true CN110286776A (en) 2019-09-27

Family

ID=68004802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910509235.6A Pending CN110286776A (en) 2019-06-13 2019-06-13 Input method, device, electronic equipment and the storage medium of character combination information

Country Status (1)

Country Link
CN (1) CN110286776A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111310434A (en) * 2020-02-28 2020-06-19 北京金堤科技有限公司 Text generation method and device, electronic equipment and storage medium
CN113407092A (en) * 2021-06-17 2021-09-17 北京达佳互联信息技术有限公司 Text box information processing method and device, electronic equipment and storage medium
CN113765769A (en) * 2020-06-02 2021-12-07 腾讯科技(深圳)有限公司 Message display method, message sending method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100231523A1 (en) * 2009-03-16 2010-09-16 Apple Inc. Zhuyin Input Interface on a Device
CN107145243A (en) * 2017-03-29 2017-09-08 北京百度网讯科技有限公司 Input method, device, equipment and the storage medium of underlying thought
CN109002183A (en) * 2017-06-07 2018-12-14 北京搜狗科技发展有限公司 A kind of method and device of information input
CN109558017A (en) * 2017-09-26 2019-04-02 北京搜狗科技发展有限公司 A kind of input method, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100231523A1 (en) * 2009-03-16 2010-09-16 Apple Inc. Zhuyin Input Interface on a Device
CN107145243A (en) * 2017-03-29 2017-09-08 北京百度网讯科技有限公司 Input method, device, equipment and the storage medium of underlying thought
CN109002183A (en) * 2017-06-07 2018-12-14 北京搜狗科技发展有限公司 A kind of method and device of information input
CN109558017A (en) * 2017-09-26 2019-04-02 北京搜狗科技发展有限公司 A kind of input method, device and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111310434A (en) * 2020-02-28 2020-06-19 北京金堤科技有限公司 Text generation method and device, electronic equipment and storage medium
CN111310434B (en) * 2020-02-28 2024-01-19 北京金堤科技有限公司 Text generation method and device, electronic equipment and storage medium
CN113765769A (en) * 2020-06-02 2021-12-07 腾讯科技(深圳)有限公司 Message display method, message sending method, device, equipment and medium
CN113765769B (en) * 2020-06-02 2023-11-07 腾讯科技(深圳)有限公司 Message display method, message sending device, message display equipment and medium
CN113407092A (en) * 2021-06-17 2021-09-17 北京达佳互联信息技术有限公司 Text box information processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
JP7166322B2 (en) Methods, apparatus, electronics, storage media and computer programs for training models
JP6718828B2 (en) Information input method and device
US8825533B2 (en) Intelligent dialogue amongst competitive user applications
JP2019102063A (en) Method and apparatus for controlling page
WO2020182123A1 (en) Method and device for pushing statement
WO2022001888A1 (en) Information generation method and device based on word vector generation model
CN110286776A (en) Input method, device, electronic equipment and the storage medium of character combination information
WO2022037419A1 (en) Audio content recognition method and apparatus, and device and computer-readable medium
CN108877782A (en) Audio recognition method and device
CN111625645B (en) Training method and device for text generation model and electronic equipment
CN107077638A (en) " letter arrives sound " based on advanced recurrent neural network
CN106601254A (en) Information inputting method, information inputting device and calculation equipment
KR102358012B1 (en) Speech control method and apparatus, electronic device, and readable storage medium
WO2020220824A1 (en) Voice recognition method and device
WO2022126904A1 (en) Voice conversion method and apparatus, computer device, and storage medium
CN110473537A (en) Control method, device, equipment and the storage medium of voice technical ability
CN110880324A (en) Voice data processing method and device, storage medium and electronic equipment
CN107329585A (en) Method and apparatus for inputting word
CN108768824A (en) Information processing method and device
CN109829164A (en) Method and apparatus for generating text
US20240061899A1 (en) Conference information query method and apparatus, storage medium, terminal device, and server
JP7337172B2 (en) Voice packet recommendation method, device, electronic device and program
WO2024099171A1 (en) Video generation method and apparatus
WO2021068493A1 (en) Method and apparatus for processing information
CN115908640A (en) Method and device for generating image, readable medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Tiktok vision (Beijing) Co.,Ltd.

Address before: Room B0035, 2nd floor, No. 3 Courtyard, 30 Shixing Street, Shijingshan District, Beijing, 100041

Applicant before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20190927

RJ01 Rejection of invention patent application after publication