Nothing Special   »   [go: up one dir, main page]

CN111273786B - Intelligent input method and device - Google Patents

Intelligent input method and device Download PDF

Info

Publication number
CN111273786B
CN111273786B CN201811475675.6A CN201811475675A CN111273786B CN 111273786 B CN111273786 B CN 111273786B CN 201811475675 A CN201811475675 A CN 201811475675A CN 111273786 B CN111273786 B CN 111273786B
Authority
CN
China
Prior art keywords
reply
candidate
candidates
communication
candidate set
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.)
Active
Application number
CN201811475675.6A
Other languages
Chinese (zh)
Other versions
CN111273786A (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 CN201811475675.6A priority Critical patent/CN111273786B/en
Publication of CN111273786A publication Critical patent/CN111273786A/en
Application granted granted Critical
Publication of CN111273786B publication Critical patent/CN111273786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

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 invention discloses an intelligent input method and device, wherein the method comprises the following steps: acquiring a reply candidate set based on the current context; determining similar candidates in the reply candidate set, and merging the similar candidates to obtain a merged reply candidate set; and outputting one or more reply candidates in the merged reply candidate set. By using the method and the device, richer and more various reply candidates can be displayed in a limited display space, and the possibility that the reply candidates hit the input requirements of the user is improved.

Description

Intelligent input method and device
Technical Field
The invention relates to the field of artificial intelligence, in particular to an intelligent input method and device.
Background
The input method is a medium for man-machine communication and is also an important tool for man-to-man communication. In order to improve the intelligence and efficiency of communication, some input methods in the prior art automatically generate reply candidates for selection by users, thereby improving the input efficiency of the users. Such as a partner asking in a conversation scenario using a chat tool: the input method can intelligently give input candidates such as "none", "available", "have" and the like. Because the intelligent reply display slot of the electronic equipment (such as a mobile terminal) is limited, only a limited number of reply candidates can be generally given, and the requirements of different users are difficult to meet.
Disclosure of Invention
The embodiment of the invention provides an intelligent input method and device, which are used for improving the diversity of intelligent reply candidates and the possibility of hitting the demands of users.
Therefore, the invention provides the following technical scheme:
an intelligent input method, the method comprising:
acquiring a reply candidate set based on the current context;
Determining similar candidates in the reply candidate set, and merging the similar candidates to obtain a merged reply candidate set;
and outputting one or more reply candidates in the merged reply candidate set.
Optionally, the above is in any one or more of the following forms: text, speech, pictures.
Optionally, the above is any one of the following:
communication content received through communication software;
The content of the network questioning;
The user is currently browsing clipboard content.
Optionally, the method further comprises:
determining the relationship between the two communication parties according to the communication content of the two communication parties;
the merging of the similar candidates includes:
and selecting the combined candidate items according to the relation between the users of the two communication parties.
Optionally, the outputting one or more reply candidates in the merged reply candidate set includes:
sorting the reply candidates in the reply candidate set;
and outputting one or more reply candidates according to the sorting result.
Optionally, the sorting the reply candidates in the reply candidate set includes:
Obtaining candidate scores of each reply candidate item in the reply candidate item set;
and sorting the reply candidates in the reply candidate set according to the candidate scores.
Optionally, the sorting the reply candidates in the reply candidate set further includes:
according to the historical input information of the user, candidate scores of all reply candidates are adjusted; and/or
And adjusting the candidate score of each reply candidate item according to the current application environment information.
Optionally, the current application environment information includes: dialogue background information, and/or counterpart user information.
An intelligent input device, the device comprising:
a candidate acquisition module for acquiring a reply candidate set based on the current context;
The merging module is used for determining similar candidates in the reply candidate set, merging the similar candidates and obtaining a merged reply candidate set;
And the output module is used for outputting one or more reply candidates in the combined reply candidate set.
Optionally, the above is in any one or more of the following forms: text, speech, pictures.
Optionally, the above is any one of the following:
communication content received through communication software;
The content of the network questioning;
The user is currently browsing clipboard content.
Optionally, the apparatus further comprises:
the relationship determining module is used for determining the relationship between the users of the two communication parties according to the communication content of the users of the two communication parties;
and the merging module selects merged candidates according to the relationship between the users of the two communication parties.
Optionally, the output module includes:
The sorting unit is used for sorting the reply candidates in the reply candidate set;
And the output unit is used for outputting one or more reply candidates according to the sorting result.
Optionally, the candidate obtaining module is further configured to obtain a candidate score of each reply candidate in the reply candidate set;
The sorting unit is specifically configured to sort the reply candidates in the reply candidate set according to the candidate score.
Optionally, the output module further includes:
a first score adjustment unit for adjusting candidate scores of the reply candidates according to the user history input information; and/or
And the second score adjustment unit is used for adjusting the candidate score of each reply candidate item according to the environment information of the current application.
Optionally, the current application environment information includes: dialogue background information, and/or counterpart user information.
An electronic device, comprising: one or more processors, memory;
The memory is configured to store computer-executable instructions and the processor is configured to execute the computer-executable instructions to implement the methods described above.
A readable storage medium having stored thereon instructions that are executed to implement the method described previously.
According to the intelligent input method and device provided by the embodiment of the invention, the similarity judgment is carried out on each reply candidate item in the reply candidate item set based on the current upper part, which is generated by the input method, the similar candidate items are combined to obtain the combined reply candidate item set, and then one or more reply candidate items in the combined reply candidate item set are output. By combining similar reply candidates, the output of reply candidates expressed in the same meaning is greatly reduced, the richness of the reply candidates output in the limited display space is improved, so that a user can browse more reply candidates which do not agree with the expression, and the possibility of hitting the reply requirement of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a flow chart of an intelligent input method according to an embodiment of the present invention;
FIG. 2 is an example of a reply candidate interface in an embodiment of the invention;
FIG. 3 is a block diagram of an intelligent input device according to an embodiment of the present invention;
FIG. 4 is another block diagram of an intelligent input device according to an embodiment of the present invention;
FIG. 5 is another block diagram of an intelligent input device according to an embodiment of the present invention;
FIG. 6 is a block diagram of an apparatus for intelligent input methods, according to an example embodiment;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the solution of the embodiment of the present invention better understood by those skilled in the art, the embodiment of the present invention is further described in detail below with reference to the accompanying drawings and embodiments.
As shown in fig. 1, a flowchart of an intelligent input method according to an embodiment of the present invention includes the following steps:
Step 101, a set of reply candidates based on the current context is obtained.
The above may be any one or more of the following combinations: text, voice, picture, and may be data in a variety of different application environments, for example, any of the following:
1) Communication content received through communication software, such as short messages, multimedia messages, mails, instant chat content and the like;
2) The content of the network questioning;
3) The user is currently browsing clipboard content.
Of course, the foregoing may be data in other application environments, and the embodiments of the present invention are not limited.
Under different application environments, when a user inputs, the user needs to call an input method application program on a corresponding application interface to input. Accordingly, the input method application program obtains the current context and generates a reply candidate set based on the current context, wherein the reply candidate set comprises one or more reply candidates.
Specifically, the input method application program can obtain the text content of the text through an interface provided by the application program, or obtain the text content of the text through technologies such as image recognition, voice recognition, text recognition and the like.
In the embodiment of the present invention, the specific input method application and the specific manner of generating the reply candidate set based on the current context are not limited, and the prior art may be adopted, for example, the reply candidate set may be obtained by using the correspondence between the context established in advance according to the history data and the reply candidate, or the reply candidate set may be obtained by using a rule or a model, or the reply candidate set may be obtained according to the context and the input candidate corresponding to the character string input by the user, or other manners may be adopted, which are not listed herein.
Step 102, determining similar candidates in the reply candidate set, and merging the similar candidates to obtain a merged reply candidate set.
Whether two candidates are similar candidates or not can be specifically determined by calculating the similarity of the two candidates, for example: the string edit distance of two candidates may be calculated, or vector similarity of two candidates may be calculated such as: cosine distance, euclidean distance, probability distribution distance, etc.
In the process of judging and merging similar candidates, each candidate in the reply candidate set needs to be conducted one by one, whether the current candidate and other candidates are similar candidates or not is determined, and if so, the current candidate and the other candidates are merged.
For example, a partner asks in a conversation scenario using a chat tool: "all weekends are available", the set of reply candidates obtained by the input method is as follows: "none", "null", "have" and "have". By calculation, it can be determined that "none" and "none" are similar candidates, and then they are combined into one candidate "none" or "none"; if "have" and "have" are similar candidates, then they are combined into one candidate "have" or "have".
It should be noted that, when merging a plurality of similar candidates, any one of the candidates may be randomly selected as the merged candidate; or comprehensively considering other factors such as the relationship between the two users of the communication party, etc. to select and combine the two users of the communication party into one candidate item, wherein the relationship between the two users of the communication party can be determined according to the communication content of the two users of the communication party, for example, a corresponding table of different relationships and some common keywords can be established in advance, the relationship between the two users of the communication party can be determined through some keywords in the communication content and the corresponding table, or the relationship between the two users of the communication party can be determined through establishing a relationship judging model, and the embodiment of the invention is not limited.
Step 103, outputting one or more reply candidates in the merged reply candidate set.
Specifically, the reply candidates in the reply candidate set may be ranked, and then one or more reply candidates may be output according to the ranking result. For example, the display space can only display 5 reply candidates, and then the first 5 candidates after sorting are selected to be output.
The ranking of the reply candidates may be performed according to the candidate scores of the reply candidates, with the higher the candidate score, the higher the ranking. The candidate score is determined by each input method application program, and the embodiment of the invention is not limited. That is, while obtaining the reply candidates based on the current context, candidate scores of the reply candidates may also be obtained, and then the reply candidates in the reply candidate set may be ranked according to the candidate scores.
Further, in order to make the ranking more matched with the current application environment and different users so as to improve the accuracy of the reply candidates, in another embodiment of the method of the present invention, the candidate score of each reply candidate may be adjusted according to the user history input information and/or the current application environment information, and then each reply candidate may be ranked according to the adjusted candidate score.
The user history input information refers to the probability that each reply candidate is selected, and the probability can be the total number of times that the reply candidate is selected/the total number of times that the reply candidate is displayed. The total number of times the reply candidate is selected means that there is the reply candidate among the output reply candidates, and the user selects the reply candidate as input. It should be noted that, the user history input information may be history input information for the same user, or may be history input information for different users, which is not limited in this embodiment of the present invention. When the candidate score of each reply candidate item is adjusted based on the user history input information, the adjustment principle is that the more the reply candidate item is selected, the more the reply candidate item is ranked, for example, the probability can be used as the weight of the candidate score of the reply candidate item, and the adjusted candidate score is obtained by multiplying the weight by the candidate score.
The current application environment information can be dialogue background information and/or opposite user information and the like.
The dialogue background information can be abstract information extracted according to communication contents of users of both communication parties. Accordingly, when the candidate score of each reply candidate item is adjusted according to the current application environment information, the matching degree of each reply candidate item and the abstract information can be calculated, and the candidate score is adjusted according to the matching degree. The higher the matching degree, the higher the adjusted candidate score relative to the candidate score before adjustment; the lower the degree of matching, the lower the candidate score after adjustment relative to the candidate score before adjustment.
When the candidate score of each reply candidate item is adjusted based on the information of the opposite user, the reply candidate item with higher use frequency of the user in the history information sent by the user to the opposite user can be counted, and the candidate score of the corresponding reply candidate item is increased.
After determining the reply candidates to be output, the reply candidates can be displayed in candidate word areas of the input method application program or other specific areas, and the user can select the required reply candidates from the areas, so that the input speed can be effectively improved. Of course, when the output reply candidates do not include the reply candidates desired by the user, the user may manually input the reply candidates desired by the user.
According to the intelligent input method provided by the embodiment of the invention, the similarity judgment is carried out on each reply candidate item in the reply candidate item set based on the current upper part, which is generated by the input method, the similar candidate items are combined to obtain a combined reply candidate item set, and then one or more reply candidate items in the combined reply candidate item set are output. By combining similar reply candidates, the output of reply candidates with the same meaning expression is greatly reduced, the diversity of the reply candidates output in the limited display space is improved, so that a user can browse more reply candidates which do not agree with the expression, and the possibility that the reply candidates hit the input requirement of the user is improved.
For example, a partner asks in a conversation scenario using a chat tool: "the weekend is empty", if the similar candidate merging process is not performed, the output reply candidates are shown in the left side of fig. 2; if the scheme provided by the embodiment of the invention carries out the merging processing on the similar candidates, the output reply candidates are shown on the right side of fig. 2.
As is apparent from comparison of the left interface and the right interface of the figure 2, the scheme of the invention greatly reduces the output of the reply candidates expressed by the same meaning, and improves the diversity of the reply candidates output in the limited display space, so that a user can browse more reply candidates which do not agree with the expression.
Correspondingly, the embodiment of the invention also provides an intelligent input device, as shown in fig. 3, which is a structural block diagram of the device.
In this embodiment, the apparatus comprises the following modules:
A candidate acquisition module 201, configured to acquire a reply candidate set based on the current context;
a merging module 202, configured to determine similar candidates in the reply candidate set, and merge the similar candidates to obtain a merged reply candidate set;
And the output module 203 is configured to output one or more reply candidates in the merged reply candidate set.
The above may be any one or more of the following combinations: text, voice, picture, and may be data in a variety of different application environments, for example, any of the following:
1) Communication content received through communication software, such as short messages, multimedia messages, mails, instant chat content and the like;
2) The content of the network questioning;
3) The user is currently browsing the content.
Of course, the foregoing may be data in other application environments, and the embodiments of the present invention are not limited to these.
Under different application environments, when a user inputs, the user needs to call an input method application program on a corresponding application interface to input. Accordingly, the input method application program obtains the current context and generates a reply candidate set based on the current context, wherein the reply candidate set comprises one or more reply candidates.
Specifically, the input method application program can obtain the text content of the text through an interface provided by the application program, or obtain the text content of the text through technologies such as image recognition, voice recognition, text recognition and the like.
In the embodiment of the present invention, the specific input method application program and the specific manner of generating the reply candidate set based on the current above are not limited.
The merging module 202 may specifically determine whether the two candidates are similar candidates by calculating the similarity of the two candidates, where the similarity may be calculated by using the prior art. The merging module 202 may randomly select any one of the two similar candidates as a merged candidate when merging the two similar candidates; or to comprehensively consider other factors such as the relationship between the users of the two communication parties, etc. to select which candidate to merge.
In another embodiment of the intelligent input device of the present invention as shown in fig. 4, the device further comprises: the relationship determining module 204 is configured to determine a relationship between the two users of the communication party according to the communication content of the two users of the communication party. For example, a correspondence table of different relations and some common keywords may be pre-established, and the relations between the users of the two parties of the communication may be determined through some keywords in the communication content and the correspondence table, or the relations between the users of the two parties of the communication may be determined by establishing a relation judgment model, which is not limited to the embodiment of the present invention.
Accordingly, in the embodiment shown in fig. 4, the merging module 202 may select the merged candidate according to the relationship between the users of both communication parties, that is, select the reply candidate that is more suitable for the relationship.
The output module 203 may specifically sort the reply candidates in the reply candidate set, and then output one or more reply candidates according to the sorting result. Of course, when outputting the reply candidates, the size of the display space of the output reply candidates is also considered.
Accordingly, the output module 203 may include a ranking unit and an output unit, where the ranking unit is configured to rank the reply candidates in the reply candidate set; the output unit is used for outputting one or more reply candidates according to the sorting result.
FIG. 5 is a block diagram showing another configuration of the intelligent input device according to the present invention.
In this embodiment, the candidate obtaining module 201 is configured to obtain a candidate score based on the reply candidate set and each reply candidate in the reply candidate set; the merging module 202 is configured to determine similar candidates in the reply candidate set, and merge the similar candidates to obtain a merged reply candidate set.
The output module 203 includes: the sorting unit and the output unit described above further comprise a score adjusting unit. The score adjusting unit may specifically be a first score adjusting unit, or a second score adjusting unit, or a first score adjusting unit and a second score adjusting unit.
The ranking unit is configured to rank the reply candidates in the reply candidate set according to the candidate scores obtained by the candidate obtaining module 201;
the first score adjusting unit is used for adjusting the candidate score of each reply candidate item according to the historical input information of the user;
the second score adjusting unit is used for adjusting the candidate score of each reply candidate item according to the environment information of the current application.
The user history input information may specifically refer to a probability that each reply candidate is selected, where the probability may be a total number of times the reply candidate is selected/a total number of times the reply candidate is revealed. The total number of times the reply candidate is selected means that there is the reply candidate among the output reply candidates, and the user selects the reply candidate as input. Accordingly, when the first score adjustment unit adjusts the candidate score of each reply candidate item based on the user history input information, the adjustment principle is that the more the reply candidate item is selected, the more the reply candidate item is ranked, for example, the probability can be used as the weight of the candidate score of the reply candidate item, and the adjusted candidate score is obtained by multiplying the weight by the candidate score.
The current application environment information may be dialogue background information and/or counterpart user information, etc. The specific manner in which the second score adjustment unit adjusts the candidate score of each reply candidate according to the current application environment information may refer to the foregoing description in the method embodiment of the present invention, which is not described herein again.
According to the intelligent input device provided by the embodiment of the invention, the similarity judgment is carried out on each reply candidate item in the reply candidate item set based on the current upper part, which is generated by an input method, the similar candidate items are combined to obtain the combined reply candidate item set, and then one or more reply candidate items in the combined reply candidate item set are output. By combining similar reply candidates, the output of reply candidates with the same meaning expression is greatly reduced, the diversity of the reply candidates output in the limited display space is improved, so that a user can browse more reply candidates which do not agree with the expression, and the possibility that the reply candidates hit the input requirement of the user is improved.
It should be noted that the intelligent input method and device provided by the embodiment of the invention can be applied to electronic equipment with an input function, such as mobile phones, computers, tablet computers, notebook computers and the like.
Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, including: one or more processors, memory; the memory is configured to store computer-executable instructions and the processor is configured to execute the computer-executable instructions to implement the intelligent input method embodiments described above.
Fig. 6 is a block diagram of an apparatus 800 illustrating an intelligent input method according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or one component of the apparatus 800, the presence or absence of user contact with the apparatus 800, an orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication part 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described key-miss-touch error correction method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
The invention also provides a non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform all or part of the steps in the method embodiments of the invention described above.
Fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention. The server 1900 may vary considerably in configuration or performance and may include one or more central processing units (Central Processing Units, CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage mediums 1930 (e.g., one or more mass storage devices) that store applications 1942 or data 1944. Wherein the memory 1932 and storage medium 1930 may be transitory or persistent. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, a central processor 1922 may be provided in communication with a storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (16)

1. An intelligent input method, characterized in that the method comprises:
Acquiring a reply candidate set based on the current context; the reply candidates in the reply candidate set are reply contents corresponding to the current context which are automatically generated;
determining similar candidates in the set of reply candidates;
Determining the relation between the two communication users according to the keywords in the communication content of the two communication users and a pre-established correspondence table of different relations and the keywords;
Selecting combined candidate items from the similar candidate items according to the relation between the users of the two communication parties to obtain a combined reply candidate item set;
And outputting one or more reply candidates in the combined reply candidate set according to the number of the intelligent reply display slots.
2. The method of claim 1, wherein the foregoing is in any one or more of the following forms: text, speech, pictures.
3. The method according to claim 1, wherein the above is any one of the following:
communication content received through communication software;
The content of the network questioning;
The user is currently browsing clipboard content.
4. The method of claim 1, wherein the outputting one or more reply candidates in the merged reply candidate set comprises:
sorting the reply candidates in the reply candidate set;
and outputting one or more reply candidates according to the sorting result.
5. The method of claim 4, wherein the ordering of the reply candidates in the set of reply candidates comprises:
Obtaining candidate scores of each reply candidate item in the reply candidate item set;
and sorting the reply candidates in the reply candidate set according to the candidate scores.
6. The method of claim 5, wherein the ordering of the reply candidates in the set of reply candidates further comprises:
according to the historical input information of the user, candidate scores of all reply candidates are adjusted; and/or
And adjusting the candidate score of each reply candidate item according to the current application environment information.
7. The method of claim 6, wherein the current application environment information comprises: dialogue background information, and/or counterpart user information.
8. An intelligent input device, the device comprising:
a candidate acquisition module for acquiring a reply candidate set based on the current context; the reply candidates in the reply candidate set are reply contents corresponding to the current context which are automatically generated;
A merging module for determining similar candidates in the reply candidate set; determining the relation between the two communication users according to the keywords in the communication content of the two communication users and a pre-established correspondence table of different relations and the keywords; selecting combined candidate items from the similar candidate items according to the relation between the users of the two communication parties to obtain a combined reply candidate item set;
And the output module is used for outputting one or more reply candidates in the combined reply candidate set according to the number of the intelligent reply display slots.
9. The apparatus of claim 8, wherein the foregoing is in any one or more of the following forms: text, speech, pictures.
10. The apparatus of claim 8, wherein the foregoing is any one of:
communication content received through communication software;
The content of the network questioning;
The user is currently browsing clipboard content.
11. The apparatus of claim 8, wherein the output module comprises:
The sorting unit is used for sorting the reply candidates in the reply candidate set;
And the output unit is used for outputting one or more reply candidates according to the sorting result.
12. The apparatus of claim 11, wherein the device comprises a plurality of sensors,
The candidate obtaining module is further configured to obtain candidate scores of each reply candidate in the reply candidate set;
The sorting unit is specifically configured to sort the reply candidates in the reply candidate set according to the candidate score.
13. The apparatus of claim 12, wherein the output module further comprises:
a first score adjustment unit for adjusting candidate scores of the reply candidates according to the user history input information; and/or
And the second score adjustment unit is used for adjusting the candidate score of each reply candidate item according to the environment information of the current application.
14. The apparatus of claim 13, wherein the current application environment information comprises: dialogue background information, and/or counterpart user information.
15. An electronic device, comprising: one or more processors, memory;
The memory is for storing computer executable instructions and the processor is for executing the computer executable instructions to implement the method of any one of claims 1 to 7.
16. A readable storage medium having stored thereon instructions to be executed to implement the method of any of claims 1 to 7.
CN201811475675.6A 2018-12-04 2018-12-04 Intelligent input method and device Active CN111273786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811475675.6A CN111273786B (en) 2018-12-04 2018-12-04 Intelligent input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811475675.6A CN111273786B (en) 2018-12-04 2018-12-04 Intelligent input method and device

Publications (2)

Publication Number Publication Date
CN111273786A CN111273786A (en) 2020-06-12
CN111273786B true CN111273786B (en) 2024-05-10

Family

ID=71003129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811475675.6A Active CN111273786B (en) 2018-12-04 2018-12-04 Intelligent input method and device

Country Status (1)

Country Link
CN (1) CN111273786B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112684907B (en) * 2020-12-24 2024-04-26 科大讯飞股份有限公司 Text input method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001337988A (en) * 2000-05-29 2001-12-07 Mitsubishi Electric Corp Similar candidate narrowing system and similar candidate narrowing method
CN101291302A (en) * 2008-05-27 2008-10-22 北京搜狗科技发展有限公司 Method for instant communication by input method, input method system therefor
CN101694608A (en) * 2008-12-04 2010-04-14 北京搜狗科技发展有限公司 Input method and system of same
CN107784045A (en) * 2016-08-31 2018-03-09 北京搜狗科技发展有限公司 A kind of quickly revert method and apparatus, a kind of device for quickly revert
CN108153755A (en) * 2016-12-05 2018-06-12 北京搜狗科技发展有限公司 Method, apparatus and electronic equipment are recommended in a kind of input
CN108829819A (en) * 2018-06-12 2018-11-16 上海智臻智能网络科技股份有限公司 Personalized text recommended method and system, server, readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001337988A (en) * 2000-05-29 2001-12-07 Mitsubishi Electric Corp Similar candidate narrowing system and similar candidate narrowing method
CN101291302A (en) * 2008-05-27 2008-10-22 北京搜狗科技发展有限公司 Method for instant communication by input method, input method system therefor
CN101694608A (en) * 2008-12-04 2010-04-14 北京搜狗科技发展有限公司 Input method and system of same
CN107784045A (en) * 2016-08-31 2018-03-09 北京搜狗科技发展有限公司 A kind of quickly revert method and apparatus, a kind of device for quickly revert
CN108153755A (en) * 2016-12-05 2018-06-12 北京搜狗科技发展有限公司 Method, apparatus and electronic equipment are recommended in a kind of input
CN108829819A (en) * 2018-06-12 2018-11-16 上海智臻智能网络科技股份有限公司 Personalized text recommended method and system, server, readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于TSF机制的藏文联想记忆输入研究;马金海;《中国优秀硕士学位论文全文数据库(电子期刊)》;第2015卷(第01期);全文 *

Also Published As

Publication number Publication date
CN111273786A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
US20220272161A1 (en) Method and device for displaying group
CN108073303B (en) Input method and device and electronic equipment
CN109918565B (en) Processing method and device for search data and electronic equipment
CN106572268B (en) Information display method and device
US11335348B2 (en) Input method, device, apparatus, and storage medium
CN115118695A (en) Message processing method and device, electronic equipment and storage medium
CN105808647A (en) Message editing processing method and device
CN110895558B (en) Dialogue reply method and related device
CN112445906A (en) Method and device for generating reply message
CN109901726B (en) Candidate word generation method and device and candidate word generation device
CN111273786B (en) Intelligent input method and device
CN106447747B (en) Image processing method and device
CN107678544B (en) Message processing method and device
CN112462992B (en) Information processing method and device, electronic equipment and medium
CN111382242A (en) Information providing method, device and readable medium
CN113127613B (en) Chat information processing method and device
CN105224336A (en) Information list generates method and apparatus, smart machine
CN112198972A (en) Input method, device, equipment and storage medium
CN114527919B (en) Information display method and device and electronic equipment
CN111552392A (en) Information recommendation method and device and electronic equipment
CN111666436B (en) Data processing method and device and electronic equipment
CN111914983B (en) Interaction method and device, sound box, electronic equipment and storage medium
CN112905674B (en) Information ordering method and device
CN114461081B (en) Information display method and device and electronic equipment
CN111722726B (en) Method and device for determining pigment and text

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
TG01 Patent term adjustment
TG01 Patent term adjustment