CN113504836A - Information input method and electronic equipment - Google Patents

Information input method and electronic equipment Download PDF

Info

Publication number
CN113504836A
CN113504836A CN202111039875.9A CN202111039875A CN113504836A CN 113504836 A CN113504836 A CN 113504836A CN 202111039875 A CN202111039875 A CN 202111039875A CN 113504836 A CN113504836 A CN 113504836A
Authority
CN
China
Prior art keywords
input
phrase
chat
user
local user
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
CN202111039875.9A
Other languages
Chinese (zh)
Other versions
CN113504836B (en
Inventor
焦成飞
Original Assignee
Beijing Hanling Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Hanling Technology Co ltd filed Critical Beijing Hanling Technology Co ltd
Priority to CN202111039875.9A priority Critical patent/CN113504836B/en
Publication of CN113504836A publication Critical patent/CN113504836A/en
Application granted granted Critical
Publication of CN113504836B publication Critical patent/CN113504836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/232Orthographic correction, e.g. spell checking or vowelisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • G06F40/35Discourse or dialogue representation

Abstract

The invention discloses an information input method and electronic equipment. The method comprises the following steps: an unusual word group input by the opposite user is identified. If the information to be sent in the input frame contains a pending phrase which is input by a local user and is homophonic and different from the common phrase, prompting the local user whether to replace the pending phrase with the common phrase. And if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box. According to the embodiment, although the local user does not input the phrase of the unusual phrase sent to the chat dialog box by the opposite user before, the unusual phrase in the input contents of other opposite users in the chat dialog box can be identified, so that the input contents of the local user can be corrected and prompted, the local user can be helped to quickly and accurately input the unusual phrase suitable for the current chat scene, and the input efficiency of the user can be effectively improved.

Description

Information input method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an information input method and electronic equipment.
Background
With the development of communication application technology, instant messaging applications are increasingly participating in the work and life of users.
In the prior art, instant messaging software provides convenient communication conditions for users during work. For example, after a new project is initiated, many project participants may be in technical communication with each other in a chat group. In the communication process, terms specific to some items often exist, the terms specific to the items are not special terms commonly used by the public, and when a chat user inputs the terms specific to the items by using an input method, the chat user cannot directly spell a complete term phrase specific to the items by using the input method. Although some input methods have a phrase memory function of historical input, the phrase specific to the item input for the first time cannot be directly spelled out, but only can be spelled and input by a single character.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide an information input method and an electronic device, so as to implement a scheme for quickly inputting various non-commonly used phrases during a chat.
In a first aspect, an embodiment of the present invention provides an information input method, where the method includes:
obtaining chat information in a chat dialog box, and identifying an abnormal word group input by a user of the opposite side;
if the information to be sent in the input frame contains a pending phrase which is homonymous and different from the frequently used phrase and is input by a local user, prompting the local user whether to replace the pending phrase with the frequently used phrase;
and if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box.
In a second aspect, an embodiment of the present invention provides an electronic device, including a processor, and a memory, where the memory is used to store one or more computer instructions, and when executed by the processor, the one or more computer instructions implement:
obtaining chat information in a chat dialog box, and identifying an abnormal word group input by a user of the opposite side;
if the information to be sent in the input frame contains a pending phrase which is homonymous and different from the frequently used phrase and is input by a local user, prompting the local user whether to replace the pending phrase with the frequently used phrase;
and if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box.
In the embodiment of the invention, the chat information in the chat dialog box is acquired, and the abnormal word group input by the opposite user is identified. If the information to be sent in the input frame contains a pending phrase which is input by a local user and is homophonic and different from the common phrase, prompting the local user whether to replace the pending phrase with the common phrase. And if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box. According to the embodiment, although the local user does not input the phrase of the unusual phrase sent to the chat dialog box by the opposite user before, the unusual phrase in the input contents of other opposite users in the chat dialog box can be identified, so that the input contents of the local user can be corrected and prompted, the local user can be helped to quickly and accurately input the unusual phrase suitable for the current chat scene, and the input efficiency of the user can be effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of an information input method according to an embodiment of the present application;
fig. 2 is a schematic view of an information input scenario provided in an embodiment of the present application;
FIG. 3 is a flow chart illustrating a method for exception handling according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another method for processing a very general phrase according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an information input device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and "a" and "an" generally include at least two, but do not exclude at least one, unless the context clearly dictates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
Fig. 1 is a schematic flowchart of an information input method according to an embodiment of the present application. The execution subject of the method can be a terminal device (such as a mobile phone, a computer, a smart watch, a tablet computer, a wearable device and the like) provided with chat software. From fig. 1 it can be seen that the method comprises the following steps:
101: and obtaining the chat information in the chat dialog box, and identifying the abnormal word group input by the opposite user.
102: if the information to be sent in the input frame contains a pending phrase which is input by a local user and is homophonic and different from the common phrase, prompting the local user whether to replace the pending phrase with the common phrase.
103: and if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box.
For ease of understanding, the following will be specifically exemplified. Fig. 2 is a schematic diagram of an information input scenario provided in the embodiment of the present application. The schematic diagram is a group chat scene, and a chat group identifier is correspondingly arranged; certainly, the method can also be applied to one-to-one private chat scenes, and the private chat object identifiers are correspondingly arranged.
Suppose that the item name corresponding to the chat group is ' nan Yi Wan ', in the chat dialog box, the opposite party user A sends chat content ' one nan Yi Wan item is about to be started up immediately ' in the chat dialog box ', and the opposite party user B sends chat content ' zhan, which is good, and people can use the experience of the just finished Bei Di Wan item '. It is known that the common phrase input by the opposite user a is "south first bay", and the common phrase input by the opposite user B is "north second bay". The local user C is a new person who newly joins the project, and it is assumed that the local user C wants to reply to the content "good, expecting the project of the south gulf of a user to be completed smoothly". Because the local user C inputs an unusual phrase, when the local user C inputs the unusual phrase, the local user C inputs "nanyiwan" by using a full pinyin, and the corresponding content displayed in the input box may be the phrase "difficultly ten thousand" to be determined, then the local user C prompts the "difficultly ten thousand" in the input box to prompt whether the local user C replaces the "difficultly ten thousand" with the "southern bay", and if the user selects the "southern bay", the local user C performs the replacement, and displays the replaced "southern bay" in the input box.
It should be noted that the "unusual word group" may be a word group obtained by directly spelling the preset input method supported by the terminal device, that is, a word group without a local or cloud server word library of the input method, such as a project name, a personalized network name (e.g., composed of at least one of numbers, letters, and words), an unusual name, and the like. The content input by the full spelling in the input box can be any phrase to be determined recommended by the input method, and the full spelling of the phrase to be determined is the same as the full spelling of the non-common phrase. In addition, the phrase referred to herein may be not limited to a chinese phrase, but may be a phrase composed of letters, numbers, and the like. If the pending phrase is a combination of letters and numbers, the complete pending phrase input by the user C can be replaced by an uncommon phrase.
By adopting the scheme, although the local user C has not input the phrase of the common phrase of 'nan Yi wan' before, the input content of the local user C can be corrected and prompted by identifying the common phrases in the input content of other opposite users in the chat dialog box, so that the local user C can be helped to quickly and accurately input the common phrase suitable for the current chat scene. The user input efficiency can be effectively improved, and the local user experience effect is improved. It should be noted that, in the group chat scenario, each user can implement the fast and accurate input of the unusual word groups appearing in the chat dialog box through the above-mentioned scheme. Especially, when the user C inputs the commonly used phrases for the first time, even though the commonly used phrases are not input by using the local preset input method (that is, the commonly used phrases are not stored in the local preset input method database), the user C can be helped to input the commonly used phrases quickly and accurately.
In practical applications, there are two ways of identifying and processing the unusual word groups, which are described below as examples.
Fig. 3 is a schematic flowchart of a method for processing an emergency vocabulary according to an embodiment of the present application. The method specifically comprises the following steps:
301: the non-used word group is converted into a first pinyin text.
302: and establishing a key-value pair relation between the first Pinyin text and the unusual word group and storing the key-value pair relation.
303: and if the local user accepts the prompt, storing the frequently-used phrase in a preset input method word stock so as to be correctly displayed in the input box when the local user inputs the frequently-used phrase again next time.
304: and if the local user does not accept the prompt, deleting the first pinyin text and the non-common phrases with the key-value pair relationship.
The chat application software or the instant communication software can identify the identity of the opposite party and identify the semantics of the chat contents in the chat dialog box. When the non-common phrases or the first pinyin texts with key value pair relations are stored, the non-common phrases or the first pinyin texts with key value pair relations are stored locally, and cannot be uploaded to a shared word stock, and privacy information of users cannot be revealed.
The method for carrying out the identification and semantic identification of the opposite user comprises the following steps:
3011: and identifying chat information sent by an opposite user according to the chat dialog box, wherein the opposite user is at least one user except the local user in the chat dialog box. Specifically, the recognizing the chat information sent by the opposite user according to the chat dialog box comprises: and identifying the identity of the user participating in the chat in the currently displayed chat dialog box, and determining at least one opposite user except the local user according to the identity of the user.
3012: and performing semantic recognition on the chat information sent by the opposite user, and determining the frequently-used phrase contained in the chat information.
After the identification of the identity of the opposite user and the non-commonly used word group is completed, the non-commonly used word group can be further processed, and the non-commonly used word group is subjected to pinyin text conversion processing to obtain a first pinyin text. For example, convert "nan Yi Wan" to "nanyiwan", and establish a key value to store the relationship "nanyiwan-nan Yi Wan" locally. At the time of storing, the group storage may be performed according to a chat group identifier (for example, the chat group name is "nan yi wan item") or a private chat object identifier. That is, the extraordinary vocabulary only works in a particular chat scenario in the chat application. In other words, the complete phrase "south one bay" appears only when the "south one bay chat group" is input, and does not appear in other chat scenes, so that the influence on the input of proper nouns and unusual word groups in other scenes is avoided. For example, assuming that the local user C also collaborates with the opposing user D on an item named "fast advance", it is apparent that "fast advance" is displayed upon regular input. Then after the extraordinary word group "fast promote" is associated with the opposite user D and stored in groups, when the local user C inputs the pinyin "kuaijin" in the input box of the opposite user D, the chinese character "fast promote" is displayed first, and when the local user C inputs the pinyin "kuaijin" in the input box chatted with the opposite user a, the chinese character "fast forward" is displayed first instead of "fast promote". By the scheme, the input efficiency of a local user is improved, and adverse effects on other character input scenes are avoided.
In practical applications, as shown in fig. 2, it is assumed that the local user C selects to receive the prompt "nan yi wan" in the input box, which means that the local user C approves the unusual word group, and may input the unusual word group "nan yi wan" multiple times later. After the first quick input is completed by using the scheme, the frequently used phrases can be further stored in a preset input method word stock so as to be correctly displayed in the input box when the local user inputs the frequently used phrases again next time. On the contrary, if the local user C does not accept the prompt, that is, does not select "nan yi wan", but insists on "hardly ten thousand" input by default, the first pinyin text and the unusual word group having the key-value pair relationship are deleted and are not stored in the lexicon of the threshold input method. In this embodiment, when the local user inputs an unusual phrase (the unusual phrase has already appeared in the chat dialog box) for the first time, the replacement and correction of the phrase to be determined are realized through the chat application software or the instant messaging software.
Fig. 4 is a schematic flowchart of another method for processing a very general phrase according to an embodiment of the present application. The method specifically comprises the following steps:
401: and storing the frequently-used phrases in a preset input method word stock so as to display correct phrases to be determined in the input box when the local user inputs the frequently-used phrases again next time.
402: and if the local user does not accept the prompt, deleting the non-common phrases from the preset input method word stock.
The chat application software or the instant communication software can identify the identity of the opposite party and identify the semantics of the chat contents in the chat dialog box.
The method for carrying out the identification and semantic identification of the opposite user comprises the following steps:
3011: and identifying chat information sent by an opposite user according to the chat dialog box, wherein the opposite user is at least one user except the local user in the chat dialog box. Specifically, the recognizing the chat information sent by the opposite user according to the chat dialog box comprises: and identifying the identity of the user participating in the chat in the currently displayed chat dialog box, and determining at least one opposite user except the local user according to the identity of the user.
3012: and performing semantic recognition on the chat information sent by the opposite user, and determining the frequently-used phrase contained in the chat information.
After the identification of the identity of the opposite user and the non-commonly used word group is completed, the non-commonly used word group can be further processed. In this embodiment, the unusual word group is stored in the preset input method lexicon, that is, after the opposite user inputs the unusual word group into the chat dialog box (before the local user C inputs the unusual word group), the unusual word group is stored in the preset input method (the input method application installed in the local device) lexicon. When the local user inputs the pinyin corresponding to the non-common word group, the non-common word group can be spelled out through the input method, and the non-common word group is placed at the second position in the pinyin display entry of the input method. If the local user selects the first phrase in the input method pinyin display entry and the local user does not receive the prompt, the unusual word group in the preset input method word stock can be deleted, so that adverse effects on subsequent input are avoided.
It should be noted that, when storing in the preset input method thesaurus, group storage may be performed according to a chat group identifier (for example, the chat group name is "nan yi wan project") or a private chat object identifier. That is, the extraordinary vocabulary only works in a particular chat scenario in the chat application. In other words, the complete phrase "south one bay" appears only when the "south one bay chat group" is input, and does not appear in other chat scenes, so that the influence on the input of proper nouns and unusual word groups in other scenes is avoided. For example, assuming that the local user C also collaborates with the opposing user D on an item named "fast advance", it is apparent that "fast advance" is displayed upon regular input. Then after the extraordinary word group "fast promote" is associated with the opposite user D and stored in groups, when the local user C inputs the pinyin "kuaijin" in the input box of the opposite user D, the chinese character "fast promote" is displayed first, and when the local user C inputs the pinyin "kuaijin" in the input box chatted with the opposite user a, the chinese character "fast forward" is displayed first instead of "fast promote". By the scheme, the input efficiency of a local user is improved, and adverse effects on other character input scenes are avoided.
The following exemplifies the scheme related to the input prompt of the local user. And if the chat information input by the local user in the input box is identified to contain the phrase to be determined which does not belong to the proper noun, converting the phrase to be determined into a second pinyin text which does not carry tone information. As mentioned above, the content in the chat dialog box needs to be recognized, for example, semantic recognition; or screen capture is carried out, and the identity of the opposite user in the plane and the abnormal word group are identified.
After the non-proprietary name is identified, the extraordinary word group is converted into the first pinyin text that does not carry tonal information. And further comparing the pinyin texts, and if the first pinyin text is the same as the second pinyin text, prompting a local user to replace the pending phrase with the non-common phrase. The prompting may be as shown in fig. 2. The description is given for the sake of example only, without limiting the scope of the claims.
As shown in fig. 2, if the local user accepts the prompt, at least one pending phrase in the information to be sent is replaced with the uncommon phrase; and responding to a sending instruction, sending the information to be sent containing the non-common phrases in the input box to a server so that the information to be sent is displayed in the chat dialog box after being sent. In practical application, after the user receives the prompt and replaces the phrase to be sent in the input box, the local user can trigger a sending instruction according to needs so as to send the information to be sent to the chat dialog box.
In addition, the technical scheme of the application can also be applied to identifying, extracting and storing at least one non-common phrase contained in the file, so that the user can be helped to realize quick input when the local user inputs the phrase. For example, in a chat group or a one-to-one private chat scene, a counterpart user sends a file in a chat dialog box, when a local user opens a browsed file, the file content can be identified and extracted based on an unusual word group contained in the file content, so that when the local user wants to input and send an unusual word group in the chat dialog box for the first time, the local user can be helped to realize quick and accurate input, the input efficiency and the input accuracy can be effectively improved, and the user experience is improved.
Based on the same idea, fig. 5 is a schematic structural diagram of an information input device according to an embodiment of the present application. The apparatus corresponds to an embodiment of an information input method according to fig. 1, the apparatus comprising:
the obtaining module 51 is configured to obtain chat information in the chat dialog box and identify an unusual word group input by the opposite user.
And the prompting module 52 is configured to prompt the local user whether to replace the pending phrase with the non-common phrase if the to-be-sent information in the input box includes the pending phrase which is input by the local user and is a homophone different character from the non-common phrase.
And the receiving module 53 is configured to send the to-be-sent information including the non-commonly used phrase in the input box to the chat dialog box if the local user receives a prompt.
The obtaining module 51 is further configured to convert the unusual word group into a first pinyin text; and establishing a key-value pair relation between the first Pinyin text and the unusual word group and storing the key-value pair relation.
The obtaining module 51 is further configured to store the frequently used word group in a preset input method lexicon if the local user accepts the prompt, so that the frequently used word group is correctly displayed in the input box next time the local user inputs the frequently used word group again;
and if the local user does not accept the prompt, deleting the first pinyin text and the non-common phrases with the key-value pair relationship.
The obtaining module 51 is further configured to store the frequently-used phrase in a preset input method lexicon, so that a correct pending phrase is displayed in the input box when the local user inputs the frequently-used phrase again next time;
and if the local user does not accept the prompt, deleting the non-common phrases from the preset input method word stock.
The obtaining module 51 is further configured to identify, according to the chat dialog box, chat information sent by an opposite user, where the opposite user is at least one user other than the local user in the chat dialog box;
and performing semantic recognition on the chat information sent by the opposite user, and determining the frequently-used phrase contained in the chat information.
The obtaining module 51 is further configured to identify a user identity identifier participating in a chat in the currently displayed chat dialog box;
and determining at least one opposite party user except the local user according to the user identity.
The obtaining module 51 is further configured to store the unusual word group in a grouping manner according to the chat group identifier or the private chat object identifier.
The prompt module 52 is further configured to, if it is recognized that the chat information input by the local user in the input box includes the phrase to be determined that does not belong to a proper noun, convert the phrase to be determined into a second pinyin text that does not carry tone information;
converting the non-used word group into a first pinyin text which does not carry tone information;
if the first pinyin text is the same as the second pinyin text, prompting a local user to replace the pending phrase with the non-common phrase.
An accepting module 53, configured to replace at least one to-be-determined phrase in the to-be-sent information with the non-common phrase if the local user accepts a prompt;
and responding to a sending instruction, sending the information to be sent containing the non-common phrases in the input box to a server so that the information to be sent is displayed in the chat dialog box after being sent.
And obtaining the chat information in the chat dialog box, and identifying the abnormal word group input by the opposite user. If the information to be sent in the input frame contains a pending phrase which is input by a local user and is homophonic and different from the common phrase, prompting the local user whether to replace the pending phrase with the common phrase. And if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box. According to the embodiment, although the local user does not input the phrase of the unusual phrase sent to the chat dialog box by the opposite user before, the unusual phrase in the input contents of other opposite users in the chat dialog box can be identified, so that the input contents of the local user can be corrected and prompted, the local user can be helped to quickly and accurately input the unusual phrase suitable for the current chat scene, and the input efficiency of the user can be effectively improved.
In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions, which includes a program for executing the information input method in the method embodiment shown in fig. 1.
Additionally, an embodiment of the present invention provides an electronic device, including a processor, and a memory, where the memory is configured to store one or more computer instructions, where the one or more computer instructions, when executed by the processor, implement:
obtaining chat information in a chat dialog box, and identifying an abnormal word group input by a user of the opposite side;
if the information to be sent in the input frame contains a pending phrase which is homonymous and different from the frequently used phrase and is input by a local user, prompting the local user whether to replace the pending phrase with the frequently used phrase;
and if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box.
According to the embodiment, the chat information in the chat dialog box is acquired, and the unusual word group input by the opposite user is identified. If the information to be sent in the input frame contains a pending phrase which is input by a local user and is homophonic and different from the common phrase, prompting the local user whether to replace the pending phrase with the common phrase. And if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box. According to the embodiment, although the local user does not input the phrase of the unusual phrase sent to the chat dialog box by the opposite user before, the unusual phrase in the input contents of other opposite users in the chat dialog box can be identified, so that the input contents of the local user can be corrected and prompted, the local user can be helped to quickly and accurately input the unusual phrase suitable for the current chat scene, and the input efficiency of the user can be effectively improved.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable resource updating apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable resource updating apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable resource updating apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable resource updating apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An information input method, applied to a chat client, the method comprising:
obtaining chat information in a chat dialog box, and identifying an abnormal word group input by a user of the opposite side;
if the information to be sent in the input frame contains a pending phrase which is homonymous and different from the frequently used phrase and is input by a local user, prompting the local user whether to replace the pending phrase with the frequently used phrase;
and if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box.
2. The method of claim 1, wherein after identifying the non-use word group input by the opposite user, further comprising: converting the non-used word group into a first pinyin text; and establishing a key-value pair relation between the first Pinyin text and the unusual word group and storing the key-value pair relation.
3. The method of claim 2, further comprising:
if the local user accepts the prompt, storing the frequently-used phrase in a preset input method word stock so as to be correctly displayed in the input box when the local user inputs the frequently-used phrase again next time;
and if the local user does not accept the prompt, deleting the first pinyin text and the non-common phrases with the key-value pair relationship.
4. The method of claim 1, wherein after identifying the non-use word group input by the opposite user, further comprising:
storing the frequently-used phrases in a preset input method word stock so as to display correct phrases to be determined in the input frame when the local user inputs the frequently-used phrases again next time;
and if the local user does not accept the prompt, deleting the non-common phrases from the preset input method word stock.
5. The method of claim 1, wherein the obtaining chat information in a chat dialog box and identifying an unusual word group input by a counterpart user comprises:
identifying chat information sent by an opposite user from the chat dialog box, wherein the opposite user is at least one user other than the local user in the chat dialog box;
and performing semantic recognition on the chat information sent by the opposite user, and determining the frequently-used phrase contained in the chat information.
6. The method of claim 5, wherein identifying the chat message sent by the opposite user from the chat dialog box comprises:
identifying the identity of the user participating in the chat in the currently displayed chat dialog box;
and determining at least one opposite party user except the local user according to the user identity.
7. The method of claim 1, wherein after identifying the non-use word group input by the opposite user, further comprising:
and grouping and storing the non-use word groups according to the chat group identifiers or the private chat object identifiers.
8. The method according to claim 1, wherein if the to-be-sent information in the input box includes a pending phrase that is a homophone word different from the common phrase and is input by a local user, prompting the local user whether to replace the pending phrase with the common phrase comprises:
if the chat information input by the local user in the input box is identified to contain the phrase to be determined which does not belong to the proper noun, converting the phrase to be determined into a second pinyin text which does not carry tone information;
converting the non-used word group into a first pinyin text which does not carry tone information;
if the first pinyin text is the same as the second pinyin text, prompting a local user to replace the pending phrase with the non-common phrase.
9. The method according to claim 1, wherein the sending the message to be sent containing the non-common phrase in the input box to the chat dialog box if the local user accepts the prompt comprises:
if the local user accepts the prompt, replacing at least one pending phrase in the information to be sent with the non-common phrase;
and responding to a sending instruction, sending the information to be sent containing the non-common phrases in the input box to a server so that the information to be sent is displayed in the chat dialog box after being sent.
10. An electronic device comprising a processor, a memory to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement:
obtaining chat information in a chat dialog box, and identifying an abnormal word group input by a user of the opposite side;
if the information to be sent in the input frame contains a pending phrase which is homonymous and different from the frequently used phrase and is input by a local user, prompting the local user whether to replace the pending phrase with the frequently used phrase;
and if the local user accepts the prompt, sending the information to be sent, which contains the non-common phrases, in the input box to the chat dialog box.
CN202111039875.9A 2021-09-06 2021-09-06 Information input method and electronic equipment Active CN113504836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111039875.9A CN113504836B (en) 2021-09-06 2021-09-06 Information input method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111039875.9A CN113504836B (en) 2021-09-06 2021-09-06 Information input method and electronic equipment

Publications (2)

Publication Number Publication Date
CN113504836A true CN113504836A (en) 2021-10-15
CN113504836B CN113504836B (en) 2022-01-25

Family

ID=78016356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111039875.9A Active CN113504836B (en) 2021-09-06 2021-09-06 Information input method and electronic equipment

Country Status (1)

Country Link
CN (1) CN113504836B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976122A (en) * 2010-10-28 2011-02-16 宇龙计算机通信科技(深圳)有限公司 Input method and system of contacter information and mobile terminal
CN102508554A (en) * 2011-10-02 2012-06-20 上海量明科技发展有限公司 Input method with communication association, personal repertoire and system
US20140278361A1 (en) * 2013-03-15 2014-09-18 Disney Enterprises, Inc. Autocorrecting text for the purpose of matching words from an approved corpus
CN106708281A (en) * 2015-11-17 2017-05-24 阿尔派株式会社 Text input device and text input method
CN106886296A (en) * 2017-02-15 2017-06-23 中国联合网络通信集团有限公司 The treating method and apparatus of the dictionary of input method
CN107102744A (en) * 2017-05-26 2017-08-29 维沃移动通信有限公司 A kind of recommendation method and electronic equipment for inputting vocabulary
KR20170131015A (en) * 2016-05-20 2017-11-29 주식회사 원더풀플랫폼 SNS chatting terminal
US20190332663A1 (en) * 2016-07-22 2019-10-31 Huawei Technologies Co., Ltd. Candidate-item presentation method and terminal device
CN111209740A (en) * 2019-12-31 2020-05-29 中移(杭州)信息技术有限公司 Text model training method, text error correction method, electronic device and storage medium
CN111444705A (en) * 2020-03-10 2020-07-24 中国平安人寿保险股份有限公司 Error correction method, device, equipment and readable storage medium
CN112445346A (en) * 2019-08-27 2021-03-05 腾讯科技(深圳)有限公司 Information input method, device, equipment and storage medium
CN112818107A (en) * 2021-02-24 2021-05-18 中国人民大学 Conversation robot for daily life and chat method thereof

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976122A (en) * 2010-10-28 2011-02-16 宇龙计算机通信科技(深圳)有限公司 Input method and system of contacter information and mobile terminal
CN102508554A (en) * 2011-10-02 2012-06-20 上海量明科技发展有限公司 Input method with communication association, personal repertoire and system
US20140278361A1 (en) * 2013-03-15 2014-09-18 Disney Enterprises, Inc. Autocorrecting text for the purpose of matching words from an approved corpus
CN106708281A (en) * 2015-11-17 2017-05-24 阿尔派株式会社 Text input device and text input method
KR20170131015A (en) * 2016-05-20 2017-11-29 주식회사 원더풀플랫폼 SNS chatting terminal
US20190332663A1 (en) * 2016-07-22 2019-10-31 Huawei Technologies Co., Ltd. Candidate-item presentation method and terminal device
CN106886296A (en) * 2017-02-15 2017-06-23 中国联合网络通信集团有限公司 The treating method and apparatus of the dictionary of input method
CN107102744A (en) * 2017-05-26 2017-08-29 维沃移动通信有限公司 A kind of recommendation method and electronic equipment for inputting vocabulary
CN112445346A (en) * 2019-08-27 2021-03-05 腾讯科技(深圳)有限公司 Information input method, device, equipment and storage medium
CN111209740A (en) * 2019-12-31 2020-05-29 中移(杭州)信息技术有限公司 Text model training method, text error correction method, electronic device and storage medium
CN111444705A (en) * 2020-03-10 2020-07-24 中国平安人寿保险股份有限公司 Error correction method, device, equipment and readable storage medium
CN112818107A (en) * 2021-02-24 2021-05-18 中国人民大学 Conversation robot for daily life and chat method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
姚冬 等: "面向任务的基于深度学习的多轮对话系统与技术", 《万方数据库》 *
张珍文: "任务型对话系统中的自然语言理解技术研究", 《万方数据库》 *

Also Published As

Publication number Publication date
CN113504836B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
US11252117B2 (en) Electronic communication message coaching service
CN107430858B (en) Communicating metadata identifying a current speaker
US10558701B2 (en) Method and system to recommend images in a social application
AU2017234428A1 (en) Identification of voice inputs providing credentials
US10171403B2 (en) Determining intended electronic message recipients via linguistic profiles
CN111428010B (en) Man-machine intelligent question-answering method and device
US11423219B2 (en) Generation and population of new application document utilizing historical application documents
CN113657113A (en) Text processing method and device and electronic equipment
CN110232920B (en) Voice processing method and device
KR20160141682A (en) Apparatus for providing service based messenger and method using the same
CN111639162A (en) Information interaction method and device, electronic equipment and storage medium
CN110134920B (en) Pictogram compatible display method, device, terminal and computer readable storage medium
CN110738056A (en) Method and apparatus for generating information
CN107623620B (en) Processing method of random interaction data, network server and intelligent dialogue system
CN113504836B (en) Information input method and electronic equipment
KR101858544B1 (en) Information processing method and apparatus
CN109712613B (en) Semantic analysis library updating method and device and electronic equipment
CN116303937A (en) Reply method, reply device, electronic equipment and readable storage medium
CN108108356B (en) Character translation method, device and equipment
CN114417850A (en) Information extraction method and device, storage medium and electronic equipment
US11373039B2 (en) Content context aware message intent checker
CN110019270B (en) Information updating method and device, terminal, server and readable storage medium
CN113221514A (en) Text processing method and device, electronic equipment and storage medium
CN113688625A (en) Language identification method and device
CN112130850A (en) Method and device for realizing functions in application program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220216

Address after: 068252 Hexi 68, Dahe West Village, Xigou Manchu Township, Luanping county, Chengde City, Hebei Province

Patentee after: Jiao Chengfei

Address before: 100039 bungalow 103, No. 2, east courtyard, No. 81, Fuxing Road, Haidian District, Beijing

Patentee before: Beijing Hanling Technology Co.,Ltd.