CN109388251A - A kind of input method and device - Google Patents

A kind of input method and device Download PDF

Info

Publication number
CN109388251A
CN109388251A CN201710671910.6A CN201710671910A CN109388251A CN 109388251 A CN109388251 A CN 109388251A CN 201710671910 A CN201710671910 A CN 201710671910A CN 109388251 A CN109388251 A CN 109388251A
Authority
CN
China
Prior art keywords
candidate item
combination
user
new candidate
input
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
CN201710671910.6A
Other languages
Chinese (zh)
Other versions
CN109388251B (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 CN201710671910.6A priority Critical patent/CN109388251B/en
Publication of CN109388251A publication Critical patent/CN109388251A/en
Application granted granted Critical
Publication of CN109388251B publication Critical patent/CN109388251B/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
    • 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)

Abstract

The embodiment of the present invention provides a kind of input method and device, which comprises obtains multiple semantic primitives to described two above candidate items progress deconsolidation process for the selection operation of more than two candidate items in multiple candidate items in response to user;Processing is combined to the multiple semantic primitive, the new candidate item after being combined;New candidate item after the combination is different from the multiple candidate item;New candidate item after showing the combination.The embodiment of the present invention not only can satisfy the input demand of user, it is thus also avoided that the extra deletion of user and input operation, realization are rapidly input, and improve input efficiency.

Description

A kind of input method and device
Technical field
The present embodiments relate to input method technique fields, and in particular to a kind of input method and device.
Background technique
In existing input method technology, user can show the code character with input coding character string, input method application Go here and there corresponding candidate item.After candidate item needed for user selects, input method application can shield the candidate item chosen above.If input method is answered With the candidate item of offer there is no when the content that user it is expected input, user can only be realized by cumbersome operation and be inputted.Citing Illustrate, if user it is expected that the word of input is " phase all one's life ", user's input coding character string " bishixiang ", input method application The candidate item of displaying is " disdaining phase ", " all one's life to ", " than item ", " disdaining ".Since the candidate item that input method provides is not present User it is expected the content of input, and user then can only be deleted manually wherein more by selecting one of candidate item " all one's life to " The mode that remaining " to " word re-enters " phase " word again is completed to input.Alternatively, user can delete the coded string inputted, Segmentation input " all one's life " and " phase ".Both input modes are required to user and execute extra delete operation or input operation, The input speed for influencing user to a certain extent, reduces the efficiency of input.
Summary of the invention
The embodiment of the invention provides a kind of input method and devices, it is intended to solve the input method operation of prior art offer Problem cumbersome, input efficiency is low.
For this purpose, the embodiment of the present invention provides the following technical solutions:
In a first aspect, the embodiment of the invention provides a kind of input methods, comprising: in response to user for a multiple candidates The selection operation of more than two candidate items in carries out deconsolidation process to described two above candidate items, obtains multiple semantemes Unit;Processing is combined to the multiple semantic primitive, the new candidate item after being combined;New candidate item after the combination It is different from the multiple candidate item;New candidate item after showing the combination.
Second aspect, the embodiment of the invention provides a kind of input units, comprising:
Split cells, it is right for the selection operation in response to user for more than two candidate items in multiple candidate items Described two above candidate items carry out deconsolidation process, obtain multiple semantic primitives;
Assembled unit, the new candidate item for being combined processing to the multiple semantic primitive, after being combined;It is described New candidate item after combination is different from the multiple candidate item;
Display unit, for showing the new candidate item after the combination.
The third aspect, the embodiment of the invention provides a kind of device for input, include memory and one or The more than one program of person, one of them perhaps more than one program be stored in memory and be configured to by one or It includes instruction for performing the following operation that more than one processor, which executes the one or more programs: in response to Family carries out at fractionation described two above candidate items for the selection operation of more than two candidate items in multiple candidate items Reason, obtains multiple semantic primitives;Processing is combined to the multiple semantic primitive, the new candidate item after being combined;It is described New candidate item after combination is different from the multiple candidate item;New candidate item after showing the combination.
Fourth aspect, the embodiment of the invention provides a kind of machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that device executes the input method as shown in first aspect.
Input method provided in an embodiment of the present invention and device, can be in response to user for two in multiple candidate items The selection operation of the above candidate item carries out deconsolidation process to described two above candidate items, multiple semantic primitives is obtained, to described Multiple semantic primitives are combined processing, and the new candidate item after being combined simultaneously is shown.Due to the embodiment of the present invention with When the content distribution of family expectation input is in multiple candidate items, the multiple candidate items that can be selected user split at combination Reason, to provide user's candidate item wanted, not only can satisfy the input demand of user, user can also be avoided extra Deletion and input operation, realization rapidly inputs, and improves input efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in invention, for those of ordinary skill in the art, without creative efforts, It is also possible to obtain other drawings based on these drawings.
Fig. 1 is the input method flow chart that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides input method flow chart;
Fig. 3 is the input unit schematic diagram that one embodiment of the invention provides;
Fig. 4 is a kind of block diagram for input unit shown according to an exemplary embodiment;
Fig. 5 is the block diagram of server shown according to an exemplary embodiment.
Specific embodiment
The embodiment of the invention provides a kind of input method and device, the multiple candidate items that can be selected user are torn open Subassembly processing generates new candidate item and selects for user, improves the input speed of user.
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention Range.
It should be noted that being illustrated by taking Chinese as an example in the embodiment of the present invention.Wherein, technical term " user's input " Both it may include the coded string of user's input, and also may include voice input.
Wherein, technical term " coded string editing area " generally refers to the coded string for showing user's input Region.
Technical term " voice edition area " is generally referred to for providing the region of voice input editing.
Wherein, technical term " area character Shang Ping " generally refers to the region for the candidate item that screen output user chooses, such as Input frame.
Technical term " candidate item area " generally refers to the region for showing candidate item, and the candidate item may include candidate Input word and candidate input word.
The input method shown in exemplary embodiment of the present is introduced below in conjunction with attached drawing 1 to attached drawing 2.
Referring to Fig. 1, the input method flow chart provided for one embodiment of the invention.As shown in Figure 1, may include:
S101, in response to user for the selection operation of more than two candidate items in multiple candidate items, to described two The above candidate item carries out deconsolidation process, obtains multiple semantic primitives.
In some embodiments, the multiple candidate item can be multiple candidate items corresponding with user's input.Specifically When realization, user's input can be the coded string of user's input, be also possible to the voice input of user.It illustrates It is bright, upon receipt of user input, multiple candidate items corresponding with user's input can be shown in candidate item area.For example, can connect The coded string " bishixiang " of user's input is received, can show the coded word that user inputs in coded string editing area Symbol string shows multiple candidate items corresponding with coded string " bishixiang " that user inputs in candidate item area: " disdaining Phase ", " all one's life to ", " than item ", " disdaining ".Wherein, the mode of user's input coding character string can be keyboard and input, be hand-written Input or other input modes, do not limit herein.Again for example, user can also input voice, input unit is for connecing The voice input of user is received, and shows candidate item corresponding with voice input.
In some embodiments, the multiple candidate item is also possible in the coded string for not receiving user's input Or the candidate item shown in the case where voice input.For example, the multiple candidate item can be the input exhibition above based on user The association's candidate item shown.For another example, the multiple candidate item can be the candidate item that input method application is actively shown.For example, User is when searching for data, when searching for input frame when the user clicks, but not inputted, can show default in search input frame Search content, such as current most popular search terms.
Certainly, the above is only exemplary illustrations, are not intended as limitation of the present invention.How to obtain and show multiple candidate items Mode be it is very flexible, herein without limiting.
When specific implementation, when user has found the candidate item of current presentation, there is no the content that user it is expected input, but users It is expected that when the content distribution of input is in multiple candidate items, it can by for more than two times in the multiple candidate item Post-processing of the selection operation triggering input method applications client to described two above candidate items of option, the post-processing can be with Including fractionation, combined treatment.
In some embodiments, user can be for the selection operation of more than two candidate items in multiple candidate items For described two above candidate items again by operation.For example, pressure suffered by touch screen can be detected by pressure sensor Force value, when the pressure value meets preset threshold range, it is determined that detect preset input operation, such as again by behaviour Make.When specific implementation, the detection of 3Dtouch technology can be used again by operation to distinguish common selection operation.User can divide It is other that two or more candidate items are realized again by operation, trigger the selection of corresponding candidate item.User can also execute primary weight Multiselect is triggered by operation, at this moment can show user interface such as check box, selects multiple candidate items for user.It needs to illustrate It is that the selection operation of user is also possible to other operations, such as long press operation, as long as common selection operation can be distinguished i.e. It can.
For example, user it is expected to input " phase all one's life ", user is had found after input coding character string " bishixiang ", the phase It hopes the content part of input occur in the candidate item " disdaining phase ", partially occurs in candidate item " all one's life to ", then can By selecting the two candidate items " disdaining phase " and " all one's life to " by operation again.Again for example, if user it is expected to input name " Li Xiaoli ", after user's input coding character string " lixiaoli ", the candidate item that input method application is shown is " Li Xiaoli " " Lee Know beautiful " " Li little Li " " Li Xiaoli ".User can choose candidate item " Li Xiaoli " and candidate item " Li Xiaoli ".It illustrates again Bright, user wants input word " assignor ", if user's input coding character string " zrf ", the candidate item that input application is shown is " Zhou Runfa ", " responsible party ", " transfer fee ", " dried pork slice ".At this moment, user it is expected that the word " assignor " of input partially appears in It in candidate item " transfer fee ", partially appears in " responsible party ", then can be by selecting the two candidate items by operation again " transfer fee " and " responsible party ".Again for example, if the word that user wants input is " Liu Xueming ", if user's input coding word Symbol string " lxm ", the candidate item that input method application is shown are " fellow-villagers " " LI XUEMEI " " connection " " Li Xiaoming " " Liu Xiaomei ", this When can choose 3 candidate items " Liu Xiaomei ", " LI XUEMEI " " Li Xiaoming ".
When specific implementation, deconsolidation process is carried out in more than two candidate items for user's selection and obtains multiple semantic primitives When may include: that deconsolidation process are carried out to described two above candidate items, obtain multiple split cells;It is single to the multiple fractionation Member carries out validity check processing, determines effective semantic primitive.When carrying out validity check processing, can be torn open the multiple Candidate word in sub-unit and dictionary carries out matching treatment, obtains and the matched multiple semantic primitives of the candidate word.Wherein, institute Predicate library can be input method system dictionary, be also possible to user thesaurus.It further, can be right after obtaining split cells After the multiple split cells carries out duplicate removal processing, then with the candidate word in dictionary carry out matching treatment.In another realization side In formula, can also after the candidate word in the multiple split cells and dictionary is carried out matching treatment, to acquisition with it is described The matched multiple semantic primitives of candidate word carry out duplicate removal processing.It should be noted that candidate in the two or more selected user After item carries out deconsolidation process, duplicate removal processing directly can be carried out to the semantic primitive of acquisition, without carrying out validity check, only It needs to carry out validity check to the new candidate item after combination.
It illustrates, it is assumed that candidate item A is " XYZ ", and candidate item B is " XQW ".To what is obtained after candidate item A deconsolidation process Multiple split cells are respectively that " X ", " Y ", " Z ", " XY ", " YZ " are obtained multiple semantic single by carrying out matching treatment with dictionary Member is " X ", " Y ", " Z ", " XY ".Similarly, to obtained after candidate item B deconsolidation process multiple split cells " X ", " Q ", " W ", " XQ ", " QW ", by carrying out matching treatment with dictionary, obtaining multiple semantic primitives is " X ", " Q ", " W ", " XQ ", " QW ".To obtaining Multiple semantic primitives carry out duplicate removal processing, candidate list after being split: " X ", " Y ", " Z ", " Q ", " W ", " XY ", “XQ”、“QW”。
It illustrates again, it is assumed that candidate item C is " transfer fee ", and candidate item D is " responsible party ".Candidate item C is split Multiple semantic primitives that processing obtains may include " turning ", " allowing ", " expense ", " transfer ", " allow expense ".Candidate item D is split Multiple semantic primitives that processing obtains may include " duty ", " appointing ", " side ", " responsibility ", " Ren Fang ".
S102, is combined processing to the multiple semantic primitive, the new candidate item after being combined;After the combination New candidate item is different from the multiple candidate item.
It is described that processing is combined to the multiple semantic primitive when specific implementation, the new candidate item packet after being combined It includes: processing is combined to the multiple semantic primitive, obtain multiple combination candidate items;The multiple combination candidate item is carried out Validity check processing, determines efficient combination candidate item;Efficient combination candidate item is compared with the multiple candidate item, is obtained The candidate item different from the multiple candidate item is obtained, as the new candidate item after combination.To the multiple combination candidate item into When the processing of row validity check, multiple candidate items after combination and the candidate word in dictionary can be subjected to matching treatment, determined With the matched combination candidate item of candidate word in the dictionary;By with the candidate word in the dictionary it is matched combine candidate item with The multiple candidate item is compared, and the candidate item different from the multiple candidate item is obtained, as the new candidate item after combination. Wherein, the dictionary can be input method system dictionary, be also possible to user thesaurus.For example, can be obtained to fractionation multiple Semantic primitive is reconfigured, and by inquiry system dictionary and/or user thesaurus, and the Combination nova being retained in dictionary is waited Choosing.It should be noted that newly-generated candidate item is generally different from multiple candidate items shown in S101, and new candidate item is at least Including non-individual character candidate item.Certainly, there is stylish candidate item that may also only include individual character candidate item.
For example, after carrying out deconsolidation process to candidate item A " XYZ " and candidate item B " XQW ", it is more after being split After a semantic primitive " X ", " Y ", " Z ", " Q ", " W ", " XY ", " XQ ", " QW ", above-mentioned multiple semantic primitives are reconfigured Processing can be combined " XY ", " XZ ", " XQ ", " XW " " XXY ", " XXQ ", " XQW ", " QZ ", " XQZ " etc., it is assumed that with dictionary Matched combination candidate item is " XY " " XZ ", " XQ ", " XW ", " QZ ", " XQZ " etc..By with candidate item shown in S101 into Row compares, wherein " QZ ", " XQZ " they are the candidate items different from candidate item shown in S101, it at this moment, can be by the candidate item It is shown as the new candidate item after combination.
It illustrates again, it is assumed that candidate item C is " transfer fee " and candidate item D is that " responsible party " carries out deconsolidation process acquisition Multiple semantic primitives may include " turning ", " allowing ", " expense ", " transfer ", " allow expense ", " duty ", " appointing ", " side ", " responsibility ", " appoint Side " is can obtaining with the matched candidate of candidate word in candidate dictionary after being combined processing to above-mentioned multiple semantic primitives It is " assignor ", " responsibility take ", " transfer fee ", " turn appoint ", " responsible party ", wherein the multiple candidate items inputted with user are not With new candidate item be " assignor ", " responsibility take ", " turn times ".
Certainly, the above is only exemplary illustration, it is not intended as the limitation to inventive embodiments.
In some embodiments, completion can also be carried out to the new candidate item after the combination to handle to obtain completion candidate , the completion candidate item is shown together with the new candidate item after combination.For example, can be according to two saved in dictionary First relationship or ternary relation obtain the completion candidate item.Assuming that the new candidate item after combination is " QZ ", by inquiring dictionary The binary crelation or ternary relation of middle preservation inquire completion candidate word " QZP ", at this moment can be by " QZP " as new candidate Item is shown.
In other embodiments, selection of the record user for more than two candidate items in the multiple candidate item The operation of operation executes sequence;It is described that processing is combined to the multiple semantic primitive, the new candidate item packet after being combined It includes: processing being combined to the multiple semantic primitive according to the operation execution sequence, the new candidate item after combination includes suitable The connected first part of sequence and second part, wherein first part's candidate item corresponding to the preceding operation of execution sequence is related Connection, second part candidate item corresponding with the posterior operation of execution sequence are associated.For example, user wants input word " assignor ", if user's input coding character string " zrf ", input application show candidate item be " Zhou Runfa ", " responsible party ", " transfer fee ", " dried pork slice ".User can first select " transfer fee ", reselection " responsible party ", can be with when being combined sequence A part of first half as newly-generated candidate item " assignor " is extracted from the candidate item " transfer fee " that user first selects is middle, A part of latter half as newly-generated candidate item " assignor " is extracted from the candidate item " responsible party " selected after user is middle, It is possible thereby to which combined candidate item is made more to meet the wish of user.It is of course also possible to reconfigure out all possible candidate Xiang Hou stands out the character appearance sequence candidate item identical or corresponding with the selecting sequence of user in candidate item.
S103, the new candidate item after showing the combination.
When specific implementation, when showing the new candidate item after combination, the multiple candidates shown in S101 can be shown The lower section or back of item, can also only show new candidate item.
In some embodiments, the new candidate item after showing combination includes: that the new candidate item after the combination is arranged Sequence processing shows sequence treated new candidate item.Wherein, being ranked up processing to the new candidate item after the combination includes: It is inputted above based on user and the new candidate item after the combination is ranked up;And/or based on the new candidate item after the combination Word input frequency the new candidate item after the combination is ranked up.It is usually to shield in user's history that user inputs above Input is ranked up the new candidate item after combination for example, can be inputted based on the upper screen before user's input coding character string.It needs It is noted that the binary crelation between word and word is saved in input application, for the bonding between words of description Degree or tightness degree.For example, between word " going " and " having a meal ", there are binary crelations, if illustrating, user inputs " going ", Probably it next can input " having a meal ".Therefore, " going " can be inputted based on the upper screen before user, will has two with " going " The candidate item " having a meal " of first relationship is stood out.Based on similar principle, can will be had with input above based on input above The new candidate item of association or corresponding relationship is stood out.Illustrate, it is assumed that user input coding character string " zrf " it Before, input above is " house property ", due in new candidate item " assignor ", " responsibility take ", " turn appoint ", it is assumed that " assignor " and " house property " has binary crelation or incidence relation, therefore new candidate item " assignor " can be stood out.
Again for example, in sequence, the word input frequency of the new candidate item after being also based on the combination is to institute New candidate item after stating combination is ranked up.The word input frequency of new candidate item can be for the whole network user to the defeated of the word Enter frequency to be counted.
Certainly, both sortords can also apply other sortords, herein without limit in conjunction with being applicable in It is fixed.Due to being handled by sequence, the word that user can be more likely to input comes front, facilitates user to select, further mentions High input efficiency.
In this of the invention embodiment, user is selected due to being in response to the selection operation triggering in user two with The fractionation combined treatment of upper candidate item, can satisfy the real demand of user, only triggers and splits at combination whenever necessary in user Reason, is effectively reduced data processing pressure, improves response speed.In addition, the application scenarios of the embodiment of the present invention are to work as user It was found that the content distribution for wanting input is triggered by the selection to multiple candidate items to multiple candidate items in multiple candidate items It splits combined treatment and obtains new candidate item, realize user " What You See Is What You Get ", re-enter or execute without user Additional delete operation, it can realization is rapidly input, and improves user's input efficiency.
Be more clearly understood that embodiment of the present invention under concrete scene for the ease of those skilled in the art, below with Embodiment of the present invention is introduced in one specific example.It should be noted that the specific example is only so that this field skill Art personnel more clearly understand the present invention, but embodiments of the present invention are not limited to the specific example.
S201 shows multiple candidate items.
For example, user's input coding character string " zrf ", the candidate item that input application is shown is " Zhou Runfa ", " responsibility Side ", " transfer fee ", " dried pork slice ".It is of course also possible to obtain candidate item based on other modes, the candidate item is shown.
S202 receives user for the selection operation of at least two candidate items in the multiple candidate item.
For example, user can be by again by operation selection candidate item " responsible party ", " transfer fee ".
S203 carries out deconsolidation process at least two candidate items of user's selection, obtains multiple semantic primitives.
For example, carrying out multiple languages of deconsolidation process acquisition to candidate item " responsible party ", " transfer fee " of user option Adopted unit may include " turning ", " allowing ", " expense ", " transfer ", " allow expense ", " duty ", " appointing ", " side ", " responsibility ", " Ren Fang ".
S204 carries out duplicate removal processing to the multiple semantic primitive.
S205 is combined processing to multiple semantic primitives after duplicate removal processing, obtains multiple combination candidate items.
For example, being combined processing to multiple semantic primitives after S203 duplicate removal processing, it is candidate to obtain multiple combinations It may include " assignor ", " turning to appoint ", " turning Ren Fang ", " turning responsibility ", " allow responsibility ", " expense duty ", " side of allowing ", " Ren Fang " ... Deng no longer enumerating herein.
Multiple candidate items after combination are carried out validity check processing, determine efficient combination candidate item by S206.
For example, can be by the candidate word matching treatment in the S205 multiple combination candidate items obtained and dictionary, it is assumed that Obtaining is " assignor ", " responsibility take ", " transfer fee ", " turn times ", " a responsibility with the matched candidate item of candidate word in dictionary Side ".
Efficient combination candidate item is compared by S207 with multiple candidate items that S201 is shown, is obtained and S201 displaying The different candidate item of multiple candidate items, as the new candidate item after combination.
For example, the new candidate that the efficient combination candidate item obtained in S207 is different from multiple candidate items that user inputs It is " assignor ", " responsibility take ", " turn times ".
S208 carries out completion to the new candidate item after the combination and handles to obtain completion candidate item.
It handles to obtain completion candidate item " responsibility expense " for example, completion can be carried out to new candidate item " responsibility expense ".
S209 obtains the S207 new candidate item obtained and S208 based on input above and/or word input frequency New candidate item is ranked up processing.
It illustrates, it is assumed that for user before input coding character string " zrf ", the upper screen input of input is the " house property ", due in new candidate item " assignor ", " responsibility is taken ", " turn appoint ", it is assumed that " assignor " and " house property " have binary crelation or Person's incidence relation, therefore new candidate item " assignor " can be stood out.It is of course also possible to be carried out based on word frequency to candidate item Sequence.
S210, the new candidate item after display sequence.
For example, the new candidate item after sequence can show the candidate corresponding with coded string in the display of S201 The lower section of item.
In embodiments of the present invention, it may be implemented to generate new candidate item to the fractionation combined treatment of multiple candidate items, with Meet the input demand of user, realizes What You See Is What You Get.Further, it is also possible to be ranked up processing to new candidate item, further mention High user's input efficiency.
Referring to Fig. 3, the input unit schematic diagram provided for one embodiment of the invention.
A kind of input unit 300, comprising:
Split cells 301, the selection operation of more than two candidate items for being directed in response to user in multiple candidate items, Deconsolidation process is carried out to described two above candidate items, obtains multiple semantic primitives.Wherein, the split cells 301 is specific It realizes the step 101 for being referred to embodiment illustrated in fig. 1 and realizes.
Assembled unit 302, the new candidate item for being combined processing to the multiple semantic primitive, after being combined; The new candidate item after the combination different and described from the multiple candidate item of new candidate item after the combination includes at least non-individual character Candidate item.Wherein, the specific implementation of the assembled unit 302 is referred to the step 102 of embodiment illustrated in fig. 1 and realizes.
Display unit 303, for showing the new candidate item after the combination.Wherein, the specific reality of the display unit 303 It is now referred to the step 103 of embodiment illustrated in fig. 1 and realizes.
In some embodiments, described device further include:
Duplicate removal unit, for carrying out duplicate removal processing to the multiple semantic primitive.
In some embodiments, the assembled unit specifically includes:
Second processing subelement obtains multiple combination candidate items for being combined processing to the multiple semantic primitive;
Subelement is verified, for carrying out validity check processing to the multiple combination candidate item, determines that efficient combination is waited Option;
Comparing subunit obtains and described more for efficient combination candidate item to be compared with the multiple candidate item The different candidate item of a candidate item, as the new candidate item after combination.
In some embodiments, described device further include:
Completion unit handles to obtain completion candidate item for carrying out completion to the new candidate item after the combination;
The display unit is specifically used for: new candidate item and the completion candidate item after showing the combination.
In some embodiments, the display unit specifically includes:
Sorting subunit, for being ranked up processing to the new candidate item after the combination;
Subelement is shown, for showing sequence treated new candidate item.
In some embodiments, the sorting subunit is specifically used for: is inputted above based on user to after the combination New candidate item be ranked up;And/or after the word input frequency based on the new candidate item after the combination is to the combination New candidate item is ranked up.
In some embodiments, described device further include:
Recording unit, for recording user for the selection operation of more than two candidate items in the multiple candidate item Operation executes sequence;
The assembled unit is specifically used for being combined place to the multiple semantic primitive according to the operation execution sequence Reason, the new candidate item after combination include the connected first part of sequence and second part, wherein first part and execution sequence exist The corresponding candidate item of preceding operation is associated, and second part candidate item corresponding with the posterior operation of execution sequence is associated.
Wherein, the setting of apparatus of the present invention each unit or module is referred to Fig. 1 and realizes to method shown in Fig. 2, This is not repeated.
It referring to fig. 4, is a kind of block diagram for input unit shown according to an exemplary embodiment.It referring to fig. 4, is root A kind of block diagram for input unit shown according to an exemplary embodiment.For example, device 400 can be mobile phone, calculate Machine, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment, individual digital help Reason etc..
Referring to Fig. 4, device 400 may include following one or more components: processing component 402, memory 404, power supply Component 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 402 may include that one or more processors 420 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in equipment 400.These data are shown Example includes the instruction of any application or method for operating on device 400, contact data, and telephone book data disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 may include power management system System, one or more power supplys and other with for device 400 generate, manage, and distribute the associated component of electric power.
Multimedia component 408 includes the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When equipment 400 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike Wind (MIC), when device 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set Part 416 is sent.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/O interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor module 414 can detecte the state that opens/closes of equipment 400, and the relative positioning of component, for example, it is described Component is the display and keypad of device 400, and sensor module 414 can be with 400 1 components of detection device 400 or device Position change, the existence or non-existence that user contacts with device 400,400 orientation of device or acceleration/deceleration and device 400 Temperature change.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 414 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 414 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
Specifically, the embodiment of the invention provides a kind of input unit 400, include memory 404 and one or More than one program, one of them perhaps more than one program be stored in memory 404 and be configured to by one or It includes the instruction for performing the following operation that more than one processor 420, which executes the one or more programs: response In user for the selection operation of more than two candidate items in multiple candidate items, described two above candidate items are split Processing, obtains multiple semantic primitives;Processing is combined to the multiple semantic primitive, the new candidate item after being combined;Institute New candidate item after stating combination is different from the multiple candidate item, and it is candidate that the new candidate item after the combination includes at least non-individual character ?;New candidate item after showing the combination.
Further, it includes to be used for that the processor 420, which specifically is also used to execute the one or more programs, The instruction performed the following operation: duplicate removal processing is carried out to the multiple semantic primitive.
Further, the execution of processor 420 is combined processing to the multiple semantic primitive, after being combined The operation of new candidate item includes: to be combined processing to the multiple semantic primitive, obtains multiple combination candidate items;To described more A combination candidate item carries out validity check processing, determines efficient combination candidate item;By efficient combination candidate item with it is the multiple Candidate item is compared, and the candidate item different from the multiple candidate item is obtained, as the new candidate item after combination.
Further, it includes to be used for that the processor 420, which specifically is also used to execute the one or more programs, The instruction performed the following operation: completion is carried out to the new candidate item after the combination and handles to obtain completion candidate item;
Further, the operation that the processor 420 executes the new candidate item after showing the combination includes: described in displaying New candidate item and the completion candidate item after combination.
Further, the operation that the processor 420 executes the new candidate item after showing the combination includes: to described group New candidate item after conjunction is ranked up processing, shows sequence treated new candidate item.
Further, the processor 420 executes the operation packet that processing is ranked up to the new candidate item after the combination It includes: being inputted above based on user and the new candidate item after the combination is ranked up;And/or based on the new time after the combination The word input frequency of option is ranked up the new candidate item after the combination.
Further, it includes to be used for that the processor 420, which specifically is also used to execute the one or more programs, The instruction performed the following operation: behaviour of the record user for the selection operation of more than two candidate items in the multiple candidate item Make to execute sequence;
Further, the execution of processor 420 is combined processing to the multiple semantic primitive, after being combined The operation of new candidate item includes: to be combined processing to the multiple semantic primitive according to the operation execution sequence, after combination New candidate item include the connected first part of sequence and second part, wherein first part and the preceding operation of execution sequence Corresponding candidate item is associated, and second part candidate item corresponding with the posterior operation of execution sequence is associated.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 420 of device 400 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of machine readable media, such as the machine readable media can be non-transitorycomputer readable storage medium, When the instruction in the medium is executed by the processor of device (terminal or server), enable a device to execute a kind of defeated Enter method, which comprises in response to user for the selection operation of more than two candidate items in multiple candidate items, to institute It states more than two candidate items and carries out deconsolidation process, obtain multiple semantic primitives;Processing is combined to the multiple semantic primitive, New candidate item after being combined;New candidate item after the combination is different from the multiple candidate item, new after the combination Candidate item includes at least non-individual character candidate item;New candidate item after showing the combination.
Fig. 5 is the structural schematic diagram of server in the embodiment of the present invention.The server 500 can be due to configuration or performance be different Generate bigger difference, may include one or more central processing units (central processing units, CPU) 522 (for example, one or more processors) and memory 532, one or more storage application programs 542 or The storage medium 530 (such as one or more mass memory units) of data 544.Wherein, memory 532 and storage medium 530 can be of short duration storage or persistent storage.The program for being stored in storage medium 530 may include one or more modules (diagram does not mark), each module may include to the series of instructions operation in server.Further, central processing unit 522 can be set to communicate with storage medium 530, and the series of instructions behaviour in storage medium 530 is executed on server 500 Make.
Server 500 can also include one or more power supplys 526, one or more wired or wireless networks Interface 550, one or more input/output interfaces 558, one or more keyboards 556, and/or, one or one The above operating system 541, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.The present invention can be by calculating The general described in the text, such as program module up and down for the computer executable instructions that machine executes.Generally, program module includes holding The routine of row particular task or realization particular abstract data type, programs, objects, component, data structure etc..It can also divide Cloth, which calculates, practices the present invention in environment, in these distributed computing environments, by connected long-range by communication network Processing equipment executes task.In a distributed computing environment, program module can be located at the local including storage equipment In remote computer storage medium.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying In the case where creative work, it can understand and implement.The above is only a specific embodiment of the invention, should be referred to Out, for those skilled in the art, without departing from the principle of the present invention, can also make several Improvements and modifications, these modifications and embellishments should also be considered as the scope of protection of the present invention.

Claims (10)

1. a kind of input method characterized by comprising
In response to user for the selection operation of more than two candidate items in multiple candidate items, to described two above candidate items Deconsolidation process is carried out, multiple semantic primitives are obtained;
Processing is combined to the multiple semantic primitive, the new candidate item after being combined;New candidate item after the combination Different from the multiple candidate item, the new candidate item after the combination includes at least non-individual character candidate item;
New candidate item after showing the combination.
2. the method according to claim 1, wherein the method also includes:
Duplicate removal processing is carried out to the multiple semantic primitive.
3. the method according to claim 1, wherein described be combined processing to the multiple semantic primitive, New candidate item after being combined includes:
Processing is combined to the multiple semantic primitive, obtains multiple combination candidate items;
Validity check processing is carried out to the multiple combination candidate item, determines efficient combination candidate item;
Efficient combination candidate item is compared with the multiple candidate item, obtains the candidate different from the multiple candidate item , as the new candidate item after combination.
4. method according to claim 1 or 3, which is characterized in that the method also includes:
Completion is carried out to the new candidate item after the combination to handle to obtain completion candidate item;
New candidate item after showing the combination includes:
New candidate item and the completion candidate item after showing the combination.
5. the method according to claim 1, wherein described show that the new candidate item after combination includes:
Processing is ranked up to the new candidate item after the combination, shows sequence treated new candidate item.
6. according to the method described in claim 5, it is characterized in that, the new candidate item to after the combination is ranked up place Reason includes:
It is inputted above based on user and the new candidate item after the combination is ranked up;And/or
Word input frequency based on the new candidate item after the combination is ranked up the new candidate item after the combination.
7. the method according to claim 1, wherein the method also includes:
Record user executes sequence for the operation of the selection operation of more than two candidate items in the multiple candidate item;
Described to be combined processing to the multiple semantic primitive, the new candidate item after being combined includes:
Processing is combined to the multiple semantic primitive according to the operation execution sequence, the new candidate item after combination includes suitable The connected first part of sequence and second part, wherein first part's candidate item corresponding to the preceding operation of execution sequence is related Connection, second part candidate item corresponding with the posterior operation of execution sequence are associated.
8. a kind of input unit characterized by comprising
Split cells, for the selection operation in response to user for more than two candidate items in multiple candidate items, to described More than two candidate items carry out deconsolidation process, obtain multiple semantic primitives;
Assembled unit, the new candidate item for being combined processing to the multiple semantic primitive, after being combined;The combination New candidate item afterwards is different from the multiple candidate item;
Display unit, for showing the new candidate item after the combination.
9. a kind of device for input, which is characterized in that it include memory and one or more than one program, Perhaps more than one program is stored in memory and is configured to be executed by one or more than one processor for one of them The one or more programs include the instruction for performing the following operation:
In response to user for the selection operation of more than two candidate items in multiple candidate items, to described two above candidate items Deconsolidation process is carried out, multiple semantic primitives are obtained;
Processing is combined to the multiple semantic primitive, the new candidate item after being combined;New candidate item after the combination It is different from the multiple candidate item;
New candidate item after showing the combination.
10. a kind of machine readable media is stored thereon with instruction, when executed by one or more processors, so that device is held Input method of the row as described in one or more in claim 1 to 7.
CN201710671910.6A 2017-08-08 2017-08-08 Input method and device Active CN109388251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710671910.6A CN109388251B (en) 2017-08-08 2017-08-08 Input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710671910.6A CN109388251B (en) 2017-08-08 2017-08-08 Input method and device

Publications (2)

Publication Number Publication Date
CN109388251A true CN109388251A (en) 2019-02-26
CN109388251B CN109388251B (en) 2022-07-19

Family

ID=65413790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710671910.6A Active CN109388251B (en) 2017-08-08 2017-08-08 Input method and device

Country Status (1)

Country Link
CN (1) CN109388251B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1144354A (en) * 1995-04-25 1997-03-05 齐兰发展股份有限公司 Enhanced character transcription system
CN101303628A (en) * 2008-07-09 2008-11-12 北京搜狗科技发展有限公司 Method and device for performing character word input by digital keyboard
CN101694608A (en) * 2008-12-04 2010-04-14 北京搜狗科技发展有限公司 Input method and system of same
CN101943952A (en) * 2010-01-27 2011-01-12 北京搜狗科技发展有限公司 Mixed input method of at least two languages and input method system
CN102033614A (en) * 2009-09-29 2011-04-27 北大方正集团有限公司 Intelligently combined formula input method and system
US20120188168A1 (en) * 2009-07-23 2012-07-26 Ki-Sup Yoon Device for inputting english characters for a mobile communication terminal, and method for same
CN102637164A (en) * 2011-02-12 2012-08-15 网际智慧股份有限公司 System and method for combining single-character word with multi-character word
CN103513778A (en) * 2012-06-20 2014-01-15 北京搜狗科技发展有限公司 Input method and device for personal names
CN104076940A (en) * 2013-03-27 2014-10-01 北京千橡网景科技发展有限公司 Auxiliary input method and auxiliary input equipment
CN106468960A (en) * 2016-09-07 2017-03-01 北京新美互通科技有限公司 A kind of method and system of candidates of input method sequence

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1144354A (en) * 1995-04-25 1997-03-05 齐兰发展股份有限公司 Enhanced character transcription system
CN101303628A (en) * 2008-07-09 2008-11-12 北京搜狗科技发展有限公司 Method and device for performing character word input by digital keyboard
CN101694608A (en) * 2008-12-04 2010-04-14 北京搜狗科技发展有限公司 Input method and system of same
US20120188168A1 (en) * 2009-07-23 2012-07-26 Ki-Sup Yoon Device for inputting english characters for a mobile communication terminal, and method for same
CN102033614A (en) * 2009-09-29 2011-04-27 北大方正集团有限公司 Intelligently combined formula input method and system
CN101943952A (en) * 2010-01-27 2011-01-12 北京搜狗科技发展有限公司 Mixed input method of at least two languages and input method system
CN102637164A (en) * 2011-02-12 2012-08-15 网际智慧股份有限公司 System and method for combining single-character word with multi-character word
CN103513778A (en) * 2012-06-20 2014-01-15 北京搜狗科技发展有限公司 Input method and device for personal names
CN104076940A (en) * 2013-03-27 2014-10-01 北京千橡网景科技发展有限公司 Auxiliary input method and auxiliary input equipment
CN106468960A (en) * 2016-09-07 2017-03-01 北京新美互通科技有限公司 A kind of method and system of candidates of input method sequence

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TY: "搜狗拼音输入法4.0抢先体验", 《网络与信息》 *
悠远: "输入法使用还可以更方便", 《电脑爱好者》 *

Also Published As

Publication number Publication date
CN109388251B (en) 2022-07-19

Similar Documents

Publication Publication Date Title
CN109089133B (en) Video processing method and device, electronic equipment and storage medium
WO2018000585A1 (en) Interface theme recommendation method, apparatus, terminal and server
WO2021027343A1 (en) Human face image recognition method and apparatus, electronic device, and storage medium
CN106484138B (en) A kind of input method and device
CN107346182B (en) Method and device for constructing user word bank
CN111242303A (en) Network training method and device, and image processing method and device
CN109213942A (en) A kind of search result methods of exhibiting and device
CN105205153B (en) File memory method and device
CN110069624A (en) Text handling method and device
CN108803892A (en) A kind of method and apparatus for calling third party application in input method
CN105302335B (en) Vocabulary recommends method and apparatus and computer readable storage medium
CN105187597B (en) A kind of management method of voice record, device and its mobile terminal
CN112307281A (en) Entity recommendation method and device
CN111240497A (en) Method and device for inputting through input method and electronic equipment
CN110362376A (en) A kind of method, apparatus and storage medium that electronic apparatus system theme style is set
CN106020699B (en) A kind of input method switching method, device and terminal
CN105205101A (en) Evaluation method and device for network information, and terminal
CN109144286A (en) A kind of input method and device
CN109388251A (en) A kind of input method and device
CN109901726A (en) A kind of candidate word generation method, device and the device generated for candidate word
CN110096163A (en) A kind of expression input method and device
CN113392898A (en) Training image classification model, image searching method and related device
CN109558017B (en) Input method and device and electronic equipment
CN109710790A (en) Expression searching method and device, terminal device and storage medium
CN109447124A (en) Image classification method, device, electronic equipment and storage medium

Legal Events

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