System and method for composing electronic messages
阅读说明:本技术 用于编写电子消息的系统和方法 (System and method for composing electronic messages ) 是由 V·贾殷 于 2018-05-23 设计创作,主要内容包括:用于编写电子消息的系统、方法和装置。在一个例子中,该系统、方法和装置包括:接收电子消息:基于与电子消息相关联的消息布局类型,对电子消息进行分类;利用情感分析器,确定与电子消息相关联的情感类型和情感分数;识别电子消息中与该情感类型相关联的第一多个单词;输出从以下各项构成的组中选择的一项或多项:消息布局类型、情感类型、以及与电子消息相关联的情感分数。(Systems, methods, and apparatuses for composing electronic messages. In one example, the system, method and apparatus includes: receiving the electronic message: classifying the electronic message based on a message layout type associated with the electronic message; determining, with an emotion analyzer, an emotion type and an emotion score associated with the electronic message; identifying a first plurality of words associated with the emotion type in the electronic message; outputting one or more selected from the group consisting of: a message layout type, an emotion type, and an emotion score associated with the electronic message.)
1. A computing device, the computing device comprising:
a display device that displays a graphical user interface including an electronic message;
an electronic processor configured to:
receiving the electronic message;
classifying the electronic message based on a message layout type associated with the electronic message;
determining, with an emotion analyzer, an emotion type and an emotion score associated with the electronic message;
identifying a first plurality of words in the electronic message that are associated with the emotion type; and
outputting one or more selected from the group consisting of: the message layout type, an option to select the message layout type, the first plurality of words, the emotion type, and the emotion score associated with the electronic message.
2. The computing device of claim 1, wherein the electronic processor is further configured to generate a replacement word to replace the word and change an emotion type of the electronic message.
3. The computing device of claim 1, wherein the graphical user interface includes a message layout type field to display the layout type of the electronic message.
4. The computing device of claim 1, wherein the graphical user interface comprises an emotion type field.
5. The computing device of claim 4, wherein the emotion type field is configured to display an emotion type selected from the group consisting of: positive emotions, neutral emotions, and negative emotions.
6. The computing device of claim 5, wherein the graphical user interface includes a sentiment score field.
7. The computing device of claim 6, wherein the sentiment score field is configured to display a sentiment score having a numerical value in a range of 0 to 1.
8. A method for composing an electronic message, the method comprising:
receiving, with an electronic processor, the electronic message;
classifying, with the electronic processor, the electronic message based on a message layout type of the electronic message:
determining, with an emotion analyzer, an emotion type and an emotion score associated with the electronic message;
identifying, with the electronic processor, a first plurality of words in the electronic message that are associated with the emotion type;
determining, with the electronic processor, a second plurality of words to replace the first plurality of words and changing the emotion score of the electronic message;
determining, with the electronic processor, the emotion score for the electronic message having the second plurality of words replacing the first plurality of words; and
outputting an item selected from the group consisting of: the message layout type, an option to select the message layout type, the emotion type, and the emotion score for the electronic message having the second plurality of words.
9. The method of claim 8, wherein classifying the electronic message based on the message layout type of the electronic message comprises: classifying the electronic message into the message layout type selected from the group consisting of official messages and informal messages.
10. The method of claim 9, wherein outputting the message layout type comprises: displaying the message layout type selected from the group consisting of official messages and informal messages.
11. The method of claim 8, wherein determining the emotion type comprises: determining the emotion type selected from the group consisting of positive emotion, neutral emotion, and negative emotion.
12. The method of claim 11, wherein outputting the emotion type comprises: displaying the emotion type selected from the group consisting of positive emotion, neutral emotion, and negative emotion.
13. The method of claim 8, wherein determining the sentiment score comprises: determining the sentiment score having a numerical value in a range of 0 to 1.
14. The method of claim 13, wherein outputting the sentiment score comprises: displaying the sentiment score with a numerical value in a range of 0 to 1.
15. The method of claim 8, wherein determining the second plurality of words to replace the first plurality of words comprises: generating a synonym of the first plurality of tokens.
Technical Field
Embodiments described herein relate to systems and methods for composing electronic messages.
Background
Electronic messages (e.g., email and text messages) provide a valuable way to communicate. However, many people who use electronic messages do so without knowing the appropriate way to convey their intent, particularly when the electronic message is written in a human non-native language. As a result, communication errors may occur. For example, a recipient of a poorly written electronic message may often misinterpret the intent of the message, and such misinterpretation may lead to adverse results. The sender may have an emotion, but the literal language of the electronic message may convey a different, unexpected emotion. Adverse results are more likely to occur when the recipient of the electronic message is not fully aware of the degree to which the sender is fluent in the language of the electronic message. Of course, electronic messages typically limit the ability of a recipient to view or listen to the sender to determine the emotional context of the sender when creating the electronic message.
Disclosure of Invention
Currently available electronic messaging systems do not analyze the emotion of an outgoing message and determine the emotion of an electronic message. In addition, these systems also do not provide a mechanism for the user to change the mood of the outgoing message, such as by providing automated suggestions for keywords within the electronic message. Many people in non-english speaking countries do not fully understand the correct way to convey emotion or meaning using electronic messages. When communicating in english, a non-native user may not be able to (i) select the correct phrase to convey the intended message with the appropriate emotion or mood, and (ii) select the correct layout (e.g., formal layout type versus informal layout type) to convey the intended message.
Systems and methods are provided herein that, among other things, assist a user in composing an electronic message that includes appropriate emotions desired by the user. In one example, once a user types an electronic message using a computing system, the computing system runs a background call to find out what the emotion of the electronic message will be or is now. After determining the emotion (e.g., a numerical score that distinguishes between positive and negative emotions), the computing system is configured to provide the user with an option to assist the user in generating an electronic message to convey the user's intended emotion.
One embodiment provides a computing device including a display device that displays a graphical user interface including electronic messages. The computing device also includes an electronic processor that executes instructions for: receiving an electronic message; classifying the electronic message based on a message layout type associated with the electronic message; determining, with an emotion analyzer, an emotion type and an emotion score associated with the electronic message; identifying one or more words in the electronic message associated with the emotion type; outputting at least one selected from the group consisting of: a message layout type, an emotion type, and an emotion score associated with the electronic message.
Another embodiment provides a method for receiving an electronic message with an electronic processor and classifying the electronic message based on a message layout type associated with the electronic message. The method further comprises the following steps: determining, with an emotion analyzer, an emotion type and an emotion score associated with the electronic message; identifying, with an electronic processor, a first plurality of words in the electronic message that are associated with the emotion type; determining, with the electronic processor, a second plurality of words to replace the first plurality of words and changing an emotion score of the electronic message; determining, with the electronic processor, an emotion score for an electronic message having a second plurality of words replacing the first plurality of words; outputting an item selected from the group consisting of: a message layout type, an emotion type, and an emotion score for the electronic message having the second plurality of words.
Another embodiment provides a non-transitory computer-readable medium containing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to: receiving an electronic message; classifying the electronic message based on a message layout type associated with the electronic message: determining, with an emotion analyzer, a first emotion type and a first emotion score associated with the electronic message; identifying, with an emotion analyzer, a first plurality of words in the electronic message that are associated with a first emotion; outputting one or more selected from the group consisting of: the message layout type of the electronic message, the first emotion type of the electronic message, and the first emotion score associated with the electronic message.
Other aspects of the various embodiments provided herein will become apparent by consideration of the detailed description and accompanying drawings.
Drawings
The accompanying figures, where like reference numerals refer to identical or functionally similar elements throughout the separate views and which together with the detailed description below are incorporated in and form part of the specification, serve to further illustrate embodiments including the concepts of the claimed embodiments and to explain various principles and advantages of such embodiments.
FIG. 1A illustrates a system according to some embodiments.
FIG. 1B illustrates a block diagram of the computing device shown in FIG. 1A, according to some embodiments.
FIG. 2 illustrates various software programs stored in the memory shown in FIGS. 1A and 1B, according to some embodiments.
FIG. 3 illustrates the emotion analyzer shown in FIG. 2, according to some embodiments.
FIG. 4 illustrates a graphical user interface of an email application, according to some embodiments.
Fig. 5 is a flow diagram of a method of composing an electronic message, according to some embodiments.
Fig. 6 is a flow diagram of a method of composing an electronic message, according to some embodiments.
Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements to help improve understanding of embodiments provided herein.
The apparatus and method components have been represented where appropriate by conventional symbols in the drawings, showing only those specific details that are pertinent to understanding the embodiments so as not to obscure the disclosure with details that will be readily apparent to those of ordinary skill in the art having the benefit of the description herein.
Detailed Description
One or more embodiments are described and illustrated in the following description and drawings. The embodiments are not limited to the specific details provided herein and may be modified in various ways. Furthermore, other embodiments not described herein may exist. Further, functions described herein as being performed by one component may be performed by multiple components in a distributed manner. Likewise, functions performed by multiple components may be combined and performed by a single component. Similarly, components described as performing a particular function may also perform other functions not described herein. For example, a device or structure that is "configured" in a certain way is configured in at least that way, but may also be configured in ways that are not listed. Further, it should also be noted that various embodiments may be implemented using a variety of hardware and software.
Furthermore, some embodiments described herein may include one or more electronic processors configured to perform the described functions by executing instructions stored in a non-transitory computer-readable medium. Similarly, embodiments described herein may be implemented as a non-transitory computer-readable medium storage that stores instructions executable by one or more electronic processors to perform the described functions. As used in this application, "non-transitory computer readable medium" includes all computer readable media, but does not include transitory propagating signals. Thus, a non-transitory computer readable medium may include, for example, a hard disk, a CD-ROM, an optical storage device, a magnetic storage device, a ROM (read only memory), a RAM (random access memory), a register memory, a processor cache, or any combination thereof.
Some embodiments may include other computer system configurations, including hand-held devices, multiprocessor systems, and distributed computing environments, where tasks are performed by remote processing devices that are linked through a communications network. In a distributed environment, program modules may be located in both local and remote memory storage devices.
Also, the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. For example, the use of "including," "comprising," "containing," "having," and variations thereof herein, is meant to encompass the items listed thereafter and equivalents thereof as well as additional items. The terms "connected" and "coupled" are used broadly and encompass both direct and indirect connection and coupling. Further, "connected" and "coupled" are not restricted to physical or mechanical connections or couplings, and may include electrical connections or couplings, whether direct or indirect. In addition, electronic communications and notifications may be performed using wired connections, wireless connections, or a combination thereof, and may be sent over various types of networks, communication channels, and connections, directly or through one or more intermediate devices. Moreover, relational terms such as first and second, top and bottom, and the like may be used herein only to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
Fig. 1A illustrates a
FIG. 1B illustrates a block diagram of a
In the illustrated example,
Data storage device 120 may include a non-transitory machine-readable storage medium that stores, for example, one or more databases. In one example, the data storage device 120 also stores an executable program (e.g., a set of instructions) that, when executed by one or more processors, causes the one or more processors to perform one or more methods described herein. In one example, the data storage device 120 is located outside of the
The communication interface 170 provides a communication gateway to the
The user interface 180 provides a mechanism for a user to interact with the
Bus 190 or other component interconnection provides one or more communication links between components of
In some embodiments, electronic processor 110, display 160, and
FIG. 2 illustrates various software programs stored in the
In some embodiments, the electronic processor 110 executes
FIG. 3 illustrates
In some embodiments, the
In some embodiments, the
In some embodiments, part-of-
In some embodiments, the
In some embodiments,
In some embodiments,
FIG. 4 illustrates a Graphical User Interface (GUI)400 of the
In some embodiments, menu bar 410 includes a drop-down menu (shown in fig. 4 as message layout type selection field 418) that allows the user to select a desired layout (e.g., "formal" or "informal") as the format of the user-composed
Fig. 5 illustrates a flow diagram of a
At
In another example, which includes the following electronic messages: "he, the customer inquires about the requirements document. Sent out before Monday, the
the respected mr/woman,
the customer requests the provision of a requirements file,
can you send out the file before monday?
In the true-good sense, the device is provided with a plurality of chips,
at
In one example, an electronic message with the text "you ignore the color specifying the desired phone" is determined to have a "negative" emotion with an emotion score of "0.16".
At
In one example,
"you forget to specify the color of the desired phone"
In another example,
thank you for sending the details of the desired call. Can you indicate the color you choose at the same time? "
Fig. 6 illustrates a flow diagram of a
At
Unfortunately, your withdrawal proposal is reported to belong to one of the proposals that have not been approved for withdrawal in the spring. There is a fear that many valuable proposals cannot be supported because of reduction of funding due to budget reduction and record creation of the number of applications. "
For the above example, the emotion type is estimated to be "highly negative," with an emotion score determined to be 0.08.
At
At
unfortunately, your withdrawal proposal is reported to belong to one of the proposals that have not been financially supported in the spring. There is a fear that many valuable advice cannot be supported because the reduction of budget leads to the reduction of funding and the record creation of the number of applications. "
The sentiment score of the above text is determined to be "0.25", still negative, but provides a better choice, i.e. the sentiment score of the initial electronic message is "0.08".
At
In some embodiments, the
The abstract of the disclosure is provided to enable the reader to quickly ascertain the nature of the technical disclosure. This document is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the foregoing detailed description, it can be seen that various features are grouped together in various embodiments for the purpose of streamlining the disclosure. The methods of the present disclosure should not be construed as reflecting the intent: the claimed embodiments require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus the following claims are hereby incorporated into the detailed description, with each claim standing on its own as a separately claimed subject matter.
Various features and advantages of some embodiments are set forth in the following claims.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:用户可编程的自动化助理