Status of determining the content characteristics of electronic communications
By training the natural language model and displaying the evaluation results on the user interface, it solves the problem of difficulty in evaluating the characteristic status of electronic communication content in the existing technology, achieves accurate evaluation and improvement of gender neutrality and growth mindset status, and ensures the quality of electronic communication.
Patent Information
- Application Number
- CN201980099969.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-31
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-10-31
AI Technical Summary
It is difficult for existing technologies to effectively assess and ensure the content property status of electronic communications, such as gender neutrality and growth mindset, especially when sending emails or instant messages, it is difficult to comply with corporate cultural policies, and spelling analysis or grammar analysis is not sufficient to determine content property status. .
By training a natural language model, three sets of training phrases (positive status, negative status, and not applicable status) are used to determine the content property status of electronic communications, including gender neutrality and growth mindset status, and the evaluation results are displayed in the user interface for users Edit and improve content.
Enables a more accurate assessment and improvement of the status of the content properties of electronic communications, helping users comply with corporate cultural policies and ensuring that messages sent are gender neutral and have a growth mindset, similar to the importance of spell check or grammar check.
Smart Images

Figure CN114365142B_ABST
Abstract
Description
Technical Field
[0001] Some embodiments relate to analyzing electronic communications. Some embodiments relate to evaluating a content characteristic state (e.g., gender neutrality or growth mindset) of a real-time electronic message based on a natural language model, and performing an action based on the evaluation of the content characteristic state, such as displaying the evaluation to a user to enable correction. Some embodiments relate to training a natural language model for evaluating content characteristic states. Some embodiments relate to providing means for evaluating creation of new content characteristic states and evaluating the content characteristics. Background Art
[0002] Users or employees of a company often have to write many electronic communications, for example, using email or instant messaging. It may be difficult for employees to comply with corporate cultural policies regarding the content of electronic communications, such as gender neutrality. In addition, it may be difficult to evaluate the content of electronic communications to give feedback to users or employees before sending the electronic communications. Furthermore, evaluating the content characteristic status of electronic messages may be difficult because spelling analysis or grammatical analysis is not sufficient to determine the meaning of the electronic message regarding the content characteristic status. BRIEF DESCRIPTION OF THE DRAWINGS
[0003] The present disclosure is illustrated by way of example and not limitation in the figures of the accompanying drawings in which like reference numerals indicate similar elements, and in which:
[0004] Figure 1 A system for determining a content property state of an electronic message according to some embodiments is illustrated;
[0005] Figure 2 A system for determining a content property state of an electronic message according to some embodiments is illustrated;
[0006] Figure 3 illustrates a user interface according to some embodiments;
[0007] Figure 4 illustrates language understanding according to some embodiments;
[0008] Figure 5 illustrates a scoring engine according to some embodiments;
[0009] Figure 6 illustrates a training phrase according to some embodiments;
[0010] Figure 7 illustrates examples of phrases for a growth mindset state according to some embodiments;
[0011] Figure 8 , 9 and 10 illustrate examples of phrases for a growth mindset according to some embodiments;
[0012] Fig.11 illustrates a method for determining a status of a content characteristic of an electronic communication according to some embodiments; and
[0013] Fig.12 Illustrated is a block diagram of an exemplary machine upon which any one or more of the techniques (eg, methodologies) discussed herein may be performed. DETAILED DESCRIPTION
[0014] The following description and accompanying drawings fully illustrate specific embodiments to enable those skilled in the art to practice the specific embodiments. Other embodiments may incorporate structural, logical, electrical, process and other changes. Portions and features of some embodiments may be included in those of other embodiments, or replace those of other embodiments. The embodiments set forth in the claims encompass all available equivalents of those claims.
[0015] Some embodiments involve determining a score for a state of a content characteristic of an electronic communication. An electronic communication (e.g., email, instant message, etc.) may include text (e.g., sentences and phrases). The content characteristic may include gender neutrality (which may be referred to as diversity and inclusion), growth mindset, sentiment score, etc. The state of the content characteristic may be estimated by a score or probability.
[0016] Some embodiments provide a more accurate determination of the state of the content feature by training a natural language model using training phrases, the training phrases providing three sets of training phrases: an affirmative state of the content feature (e.g., a gender-neutral state), a negative state of the content feature (e.g., a gender-biased state), and a state that does not apply to the content feature (e.g., does not apply to a gender-neutral state or a gender-biased state). The phrases can be text such as natural language phrases or another communication item (e.g., an emoticon) paired with a content feature state (e.g., an affirmative state, a negative state, or does not apply to an affirmative state or a negative state).
[0017] For example, in order to train a natural language model for determining the probability or score of a gender-neutral state (content characteristic state) for a text, three sets of training phrases are provided, including gender-biased state phrases, gender-neutral state phrases, and phrases that are not applicable to gender-biased states or gender-neutral states. In another example, in order to train a natural language model for determining the probability of a growth mindset state (content characteristic state) for a text, three sets of training phrases are provided, including fixed mindset state phrases, growth mindset state phrases, and phrases that are not applicable to fixed mindset states or growth mindset states.
[0018] Training a natural language model using the three types of phrases provides a technical solution for determining the probability of a content characteristic state of an electronic communication. In some embodiments, a separate natural language model is used for each of the three types of phrases. The probabilities of the three types of content characteristic states can be combined to determine a score for a content characteristic state (e.g., gender neutrality or growth mindset).
[0019] The score for the content characteristic status may be displayed to the user or author of the electronic communication before the electronic communication is sent. This may enable the user to edit the electronic communication to improve the score for the content characteristic status of the electronic communication. Displaying the score to the user may enable the user or employee to comply with the policy for the content characteristic status of the electronic communication. For example, it may enable an employee to write an electronic communication that is gender neutral and / or has a growth mindset. Sending an electronic communication that complies with the appropriate content characteristic status may be as important as sending an electronic communication that does not contain spelling errors or grammatical errors.
[0020] Figure 1 A system 100 for determining a status of a content characteristic status of an electronic communication is illustrated in accordance with some embodiments. Figure 1 1 , a user interface 102, a scoring engine 104, and a language understanding 106 are illustrated. Text 108 is sent from the user interface 102 to the scoring engine 104, which may parse the text 108 into phrases 116, and the scoring engine 104 sends the phrases 116 to the language understanding 106. The language understanding 106 may determine the probability of a content characteristic state 132 based on the phrases 116 using one or more natural language models 127.
[0021] The probabilities 132 of content property states may include the probability 128 of a diversity and inclusion (eg, gender neutral state) state, the probability 130 of a growth mindset state, and a sentiment score 134 .
[0022] Scoring engine 104 may receive one or more of probability 128 for gender-neutral state, probability 130 for growth mindset state, and sentiment score 134, and determine score 120 for gender-neutral state, score 122 for growth mindset state, and adjusted sentiment score 124. User interface 102 may receive one or more of score 120 for gender-neutral state, score 122 for growth mindset state, and adjusted sentiment score 124. User interface 102 may display (e.g., Figure 3314, 316, 318) a score 120 for a gender-neutral state (which may be displayed as a "diversity and inclusion score" consumed by the user), a score 122 for a growth mindset state, and one or more of an adjusted sentiment score 124.
[0023] User interface 102 may include text 108 , user interface elements 110 , and electronic communications 111 . Figure 3 An example of a user interface 102 is shown. The user interface 102 may be an application (e.g., in conjunction with Figure 2 The text 108 may be text entered or received by a user. The text 108 may be an electronic message. For example, the text 108 may be entered into an email or instant messaging program (e.g., application 204) to be sent to other users. The text 108 may include phrases 116. The phrases 116 may be sentences. The text 108 and / or phrases 116 may include icons, emoticons, videos, and other non-text elements, which may be included in, for example, an email, a word processing document, a slide presentation, or a spreadsheet document. The user interface elements 110 may include interactive elements such as buttons, slides, menus, text boxes, etc. For example, reference Figure 3 , if the user selects the Live Culture 304 (button) ( Figure 3 ), the user interface 102 will send the text 108 to the scoring engine 104, and the results (e.g., 314, 316, and 318) will be displayed on the user interface 300 (which can be displayed on the user's screen or presentation device). The term "living culture" can refer to evaluating the content characteristic status of the text 108 within the context of the organizational culture. Different terms can be used for living culture. The term "living culture" may mean reminding or encouraging users to ensure that the electronic communication 111 will have an acceptable content characteristic status, which can be similar to a spell check or grammar check of the text 108.
[0024] For example, the user may not care if an email to a friend has a low score 122 for a growth mindset state; however, the user may want to ensure that an email to a colleague has an acceptable score 122 for a growth mindset state. The user interface 300 can be configured to enable the user to enter and edit text 108 and send the text 108 to the scoring engine 104 and display the results, such as a score 120 for a gender-neutral state, a score 122 for a growth mindset state, and an adjusted sentiment score 124. The electronic communication 111 can be a communication that sends the text 108, such as an email that includes the text 108 (e.g., if the option is selected). Figure 3In some embodiments, one or more of the functions of the scoring engine 104 and / or the language understanding 106 may be performed by the user interface 102. In some embodiments, one or more of the functions described herein may not be performed by the user interface 102.
[0025] Scoring engine 104 may include parser 112 and training phrases 118, content characteristic state 131. Content characteristic state 131 may include score 120 for gender neutral state, score 122 for growth mindset state, and adjusted sentiment score 124. Scoring engine 104 may receive text 108 from user interface 102. Parser 112 may take text 108 and parse text 108 into phrases 116. Parser 112 may parse other non-text elements of text 108, such as icons, emoticons, etc. Scoring engine 104 may send one or more phrases 116 to language understanding 106. Training phrases 118 may be combined with Figure 6 The disclosed training phrases 118. For example, the training phrases 118 can correlate phrases (e.g., phrases 116) with content characteristic states (e.g., gender bias state 604). The scoring engine 104 can send the training phrases 118 to the language understanding 106 to train the natural language model 127 (e.g., neural network, regression model, etc.). The scoring engine 104 can send the text 108 to the language understanding 106. The language understanding 106 including the natural language model 127 can return the probability of the content characteristic state 132.
[0026] Scoring engine 104 may determine score 120 for the gender-neutral state based on probability 128 of the gender-neutral state, such as in combination with Figure 5 Scoring engine 104 may determine score 122 for growth mindset state based on probability 130 of growth mindset state, such as in combination with Figure 5 Scoring engine 104 may determine adjusted sentiment score 124 based on sentiment score 134, such as in combination with Figure 5 The scoring engine 104 may send one or more of the score 120 for the gender neutral state, the score 122 for the growth mindset state, and the adjusted sentiment score 124 to the user interface 102 in response to receiving the text 108. In some embodiments, the scoring engine 104 may perform one or more of the functions of the user interface 102 and / or the language understanding 106. In some embodiments, the scoring engine 104 may perform fewer functions than described herein.
[0027] The language understanding 106 may include a natural language model 127, a probability 132 of a content feature state, which may include a probability 128 of a gender neutral state, a probability 130 of a growth mindset state, and a sentiment score 134. The language understanding 106 may receive the text 108 and / or phrases 116 from the scoring engine 104. The language understanding 106 may determine one or more of the probability 128 of a gender neutral state, the probability 130 of a growth mindset state, and the sentiment score 134 based on the text 108 or phrases 116 and the natural language model 127 trained using the training phrases 118. For example, the natural language model 127 may use a regression model or a neural network based on a combination of Figure 4 The disclosed natural language model 127 determines a probability of a gender neutral state 128, a probability of a growth mindset state 130, and a sentiment score 134. The language understanding 106 may send one or more of the probability of a gender neutral state 128, the probability of a growth mindset state 130, and the sentiment score 134 to the scoring engine 104. In some embodiments, the language understanding 106 may perform one or more of the functions of the user interface 102 and / or the scoring engine 104. In some embodiments, the language understanding 106 may perform fewer functions than described herein.
[0028] Figure 2 A system 200 for determining a content property state of an electronic message is illustrated in accordance with some embodiments. Figure 2 The application 204, active directory 206, scoring engine 104, application (app) service 202, language understanding 106, and links 251, 252, 253, 254 are illustrated. The application 204 may include the user interface 102. The application 204 may be on a user's computing device (e.g., such as in conjunction with Fig.12 Application 204 can be, for example, within a browser (e.g., Internet Google ) running on a computer, a web-based application running locally on a computer, and / or an application 204 running locally in combination with some web components. Exemplary applications 204 include email applications (e.g., ), word processing applications (e.g. ), slideshow applications (e.g. ), spreadsheet applications (e.g. ) or another Microsoft Applications. Additional examples include Skype for Microsoft Android Apple wait.
[0029] Application 204 can access active directory 206 via link 251. Active directory 206 (e.g., Active Directory or Amazon Web Services (AWS) Directory Service) may include an application program interface to enable application 204 to remotely call applications residing on remote servers. Links 251, 252, 253, and 254 may be local links or connections over a network, such as the Internet or a local area network (LAN) (e.g., as combined with Fig.12 According to some embodiments, the application 204 can use the active directory 206 to send the text 108 (e.g., in response to a request from the user interface 102) to the scoring engine 104. The scoring engine 104 can be a cloud-based application service framework (e.g., or Amazon Web Services ) within an application running within the active directory 206. Scoring engine 104 may return probability 132 of content characteristic state to application 204 or user interface 102 via link 252, which may be through active directory 206 and link 251.
[0030] Scoring engine 104 may invoke language understanding 106 via link 250.3 using one or more of text 108, sentence 116, and training utterance 118. App service 202 may be a server-based application service (e.g., ). App service 202 can enable scoring engine 104 to call language understanding 106. App service 202 and language understanding 106 can communicate via link 254. Language understanding 106 can send probability 132 of content characteristic state to scoring engine 104 via link 254, which can be via App service 202 and link 253. Links 251, 252, 253, and 254, application 204, active directory 206, scoring engine 104, App service 202, and language understanding 106 can utilize different links 251, 252, 253, and 254, and be organized differently with different distributed functions. In some embodiments, one or more of application 204, active directory 206, scoring engine 104, App service 202, and language understanding 106 can be provided as software as a service.
[0031] Figure 3A user interface 300 is illustrated according to some embodiments. The user interface 300 can be the same or similar to the user interface 102. The user interface 300 can include controls 302, live culture 304, to 306, copy ("cc") 308, send 310, subject 312, diversity and inclusion score 314, growth mindset score 316, sentiment score 318, email text 320, phrase 322, selected text 324, and status indication 326.
[0032] The user interface 300 may be used for an application (e.g., 204) such as an email application. The control 302 may be a control such as a menu for saving, deleting, sending, receiving, changing views, etc. The live culture 304 may be a button for invoking the scoring engine 104 to return one or more of the score 120 for diversity and inclusion, the score 122 for the growth mindset state, and the adjusted sentiment score 124 for the selected text 324. The live culture 304 may be a button that is activated by clicking or pressing a button. The live culture 304 may be activated in other ways (e.g., by a keyboard shortcut, a voice command, a menu item, etc.). In some embodiments, the live culture 304 may not need to be invoked for the scores 314, 316, 318 to be determined. For example, the user interface 300 may automatically determine the score (e.g., 314, 316, 318) for the selected text 324, or be completed based on an event such as a sentence 322 or a paragraph (not shown). To 306 indicates a recipient 307 of the email, and CC 308 indicates a copy recipient 309 of the email. In some embodiments, living culture 304 may have a different name or may be incorporated into other features such as a spell checker. Topic 312 indicates the text of topic 313. Diversity and inclusion score 314, growth mindset score 316, and sentiment score 318 indicate scores for the text of email 320 or a portion of the text of email 320 (e.g., phrase 322, selected text 324, and / or the text of topic 313).
[0033] The text of email 320 may be the text of the email, which may be the same as or similar to text 108. The text of email 320 may include the text of subject 313, recipient 307, and cc recipient 309. Selected text 324 may indicate the portion (e.g., 314, 316, 318) of the text of email 320 that is used for the score. According to some embodiments, a user (not shown) may select different text for selected text 324. In some embodiments, selected text 324 may default to all text of email 320. Phrase 322 may be the same as or similar to phrase 116.
[0034] The status indication 326 may be an indication of one or more of the scores (314, 316, 318), for example, the status indication 326 may turn the phrase 322 green to indicate a score above a threshold value (e.g., 50%, 55%, 60%, etc.) for one or more of the scores 314, 316, 318. The status indication 326 may be an indication of one or more of the scores (314, 316, 318), for example, the status indication 326 may turn the phrase 322 red or yellow to indicate a score below a threshold value (e.g., 40%, 35%, 30%, etc.) for one or more of the scores 314, 316, 318.
[0035] The status indication 326 may be an icon, such as a thumbs up after the sentence 322, to indicate a score above a threshold value (e.g., 50%, 55%, 60%, etc.) for one or more of the scores 314, 316, 318. The status indication 326 may be an icon, such as a thumbs down after the sentence 322, to indicate a score below a threshold value (e.g., 30%, 25%, 20%, etc.) for one or more of the scores 314, 316, 318. The status indication 326 may be another indication of one or more of the scores (e.g., 314, 316, 318).
[0036] The diversity and inclusion score 314 can be the same or similar to the score 120 for the gender neutral state. Diversity and inclusion can be used as a more user-friendly label. The growth mindset score 316 can be the same or similar to the score 122 for the growth mindset state. The mood score 318 can be the same or similar to the adjusted mood score 124. In some embodiments, the length of the bar indicates the score (e.g., 29%, 1.1%, and 99%). The bar can be colored according to the value of the score, for example, green for greater than 60%, yellow for 40%-60%, and red for less than 40%. Other thresholds can also be used to determine the color of the bar.
[0037] One or more of the diversity and inclusion score 314, the growth mindset score 316, and the sentiment score 318 may not be displayed, or none of them may be displayed. The selected text 324 may be indicated by highlighting to dynamically indicate to the user which portion of the text of the email 320 the scores (e.g., 314, 316, and 318) apply to. In some embodiments, the interface 300 may monitor the user for input phrases 322 and indicate a problem when the scores (e.g., 314, 316, and 318) are below a threshold. For example, a user may enter "an employee should report any errors to her manager." Due to the use of "her manager," the phrase may be indicated as having a score below the threshold for the diversity and inclusion score 314. As an example, the interface 300 may turn the phrase yellow or red, or the interface 300 may highlight the sentence and indicate the score 314, 316, or 318 for the phrase so that the user can identify the problem and make corrections if necessary.
[0038] In some embodiments, different names may be used for one or more of the diversity and inclusion score 314, the growth mindset score 316, and the sentiment score 318. For example, instead of a "growth mindset score," a growth mindset probability may be used. As another example, simply "mindset" or "willingness to learn" may be used for the growth mindset score 316. Other names will be readily determined by one skilled in the art.
[0039] Figure 4 The language understanding 106 is illustrated according to some embodiments. Figure 4 FIG. 1 illustrates training phrases 118, text 108, language understanding 106, sentiment scores 134, probability of a gender neutral state 128, and probability of a growth mindset state 130. Training phrases 118 may be combined with Figure 1 and Figure 6 The disclosed training phrases 118 are the same or similar. The text 108 may be the same as disclosed herein (e.g., Figure 1 and 3 )'s text 108, selected text 324, and the text of email 320 are the same or similar. Language understanding 106 may be the same as disclosed herein (e.g., Figure 1 ) is the same or similar to the language understanding 106 of the embodiment of the present invention. The language understanding 106 may include a natural language model 127, a parsing rule 402, a regression rule 404, and a matching rule 405. The language understanding 106 may use the training phrases 118 to train the natural language model 127, for example, the natural language model 127 may be a neural network, a regression network, or other structures. The parsing rule 402 may take the text 108 or the phrase 116 and parse the text 108 or the phrase 116 appropriately for the natural language model 127.
[0040] The language understanding 106 can train the natural language model 127 using the regression rules 404 and the training phrases 118. The language understanding 106 can use the regression rules 404 to perform a neural network simulation, regression, or another method with the text 108 or phrases 116 to determine the sentiment score 134, the probability 128 of the gender neutral state, and the probability 130 for the growth mindset state.
[0041] The language understanding 106 determines the probability 128 of the gender-neutral state, which may include a probability 406 of a gender-biased state, a probability 408 of a gender-neutral state, and a probability 410 of not being applicable to either the gender-biased state or the gender-neutral state.
[0042] The language understanding 106 determines the probability 130 of a growth mindset state, which may include a probability 412 of a fixed mindset state, a probability 414 of a growth mindset state, and a probability of not being applicable to either the fixed mindset state or the growth mindset state.
[0043] Language understanding 106 may use a neural network, regression network, or other structure to determine probabilities 406 , 408 , 410 , 412 , 414 , and 416 based on training phrases 118 and the degree to which text 108 or phrases 116 may match (or determine similarity to) training phrases 118 .
[0044] The training phrases 118 may include the combination Figure 6 The disclosed training phrase 119 and content characteristic state 121. The training phrase 119 is indicated to have the content characteristic state 121. The language understanding 106 can train the natural language model 127 by feeding the training phrase 119 into the current natural language model 127 to receive the probabilities (406, 408, and 410; and 412, 414, and 416) for the training phrase 119. Then, the language understanding 106 can adjust the weights (not shown) (e.g., using a regression rule) so that the probabilities (406, 408, and 410; and 412, 414, and 416) agree or are closer to agreeing with the content characteristic state 121. The language understanding 106 can repeat the process and repeatedly feed the training phrase 118 into the natural language model 127 to adjust the weights so that the output of the natural language model 127 is closer to agreeing with the content characteristic state 121 coupled with the training phrase 119.
[0045] Language understanding 106 may use matching rules 405 to determine probabilities and / or determine how well phrases 116 match natural language models 127. Matching rules 405 may include rules that enable language understanding 106 to match phrases 116 to natural language models 127, for example, rules that determine which parts of phrases 116 are proper nouns, rules that may skip parts of phrases 116, such as prepositional phrases that may not be relevant to natural language models 127, and the like. In some embodiments, language understanding 106 maintains three natural language models 127 for each content feature state 121, for example, a gender biased probability 406, a gender neutral probability 408, and a probability 410 that is not applicable to a gender biased state or a gender neutral state. Language understanding 106 may then identify a content feature state 121 as matching one of the three natural language models 127 (i.e., the content feature state 121 is one of a gender neutral state, a gender biased state, or is not applicable to a gender neutral state or a gender biased state). Language understanding 106 may then use training phrases 119 as positive examples for natural language model 127 for content property state 121 , and as negative examples for the other two natural language models 127 .
[0046] In some embodiments, the language understanding 106 may determine the probabilities (406, 408, and 410; and 412, 414, and 416) on a phrase-by-phrase basis, wherein each phrase 116 is fed into a trained natural language model 127 network (e.g., a neural network or a regression network), and the probabilities (406, 408, and 410; and 412, 414, and 416) for the phrase 116 are determined based on the results of feeding the phrase 116 into the trained natural language. In some embodiments, there may be a separate trained natural language model 127 for each type of probability (406, 408, and 410; and 412, 414, and 416). The final probabilities (128, 130) returned to the scoring engine 104 may be a composite score for the text 108.
[0047] In addition, the language understanding 106 can compare the three probabilities in each group (e.g., 406, 408, 410 and 412, 414, 416) to determine the probability for each member in the group. For example, if one probability (406, 408, 410, 412, 414, and 416) is above a threshold, this can reduce the probabilities of the other two members in the group. The language understanding 106 can be configured to determine the probabilities (406, 408, 410, 412, 414, and 416) based on at least three probabilities in each group (e.g., illustrated as two groups, each of which has three members: 406, 408, and 410; and 412, 414, and 416). In some embodiments, the language understanding 106 may apply the phrase 116 with each of the three natural language models 127 to derive three probabilities (406, 408, and 410; and 412, 414, and 416), and select the highest probability of the three probabilities and set the other probabilities to zero. In some embodiments, the language understanding 106 may adjust the scores of the probabilities (406, 408, and 410; and 412, 414, and 416) so that the sum of the probabilities of the three groups is not greater than one, for example, the probabilities (406, 408, and 410; and 412, 414, and 416) may be normalized.
[0048] Language understanding 106 may determine training phrases 118 based on sentiment scores 134 for different sentiments (not shown), which may be positive, negative, and not applicable. Language understanding 106 may send probabilities 406, 408, 410, 412, 414, and 416 to scoring engine 104.
[0049] Figure 5 The scoring engine 104 is illustrated in accordance with some embodiments. Figure 5 The probability of a gender-neutral state 128 , the probability of a growth mindset state 130 , a sentiment score 134 , the score 120 for the gender-neutral state, the score 122 for the growth mindset state, and the adjusted sentiment score 124 are illustrated.
[0050] The scoring engine 104 may receive the probability of a gender neutral state 128, which may be a probability for one or more phrases 116, and determine a score for the gender neutral state 120. The score for the gender neutral state 120 may be based on the probability of a gender neutral state 406, the probability of a gender neutral state 408, and the probability of not being applicable to a gender biased state or a gender neutral state 410.
[0051] The rules 109 for determining the score may include one or more rules (e.g., 120, 122, or 124) for determining the score. In an exemplary rule, the scoring engine 104 may determine the score for the gender-neutral state 120 based on a proportion of positive probabilities (e.g., probability 408 of the gender-neutral state), e.g., probability 408 of the gender-neutral state divided by the sum of probability 406 of the gender-biased state, probability 408 of the gender-neutral state, and probability 410 of not being applicable to either the gender-biased state or the gender-neutral state.
[0052] The scoring engine 104 may receive the probability of intent of the growth mindset 130, which may be for one or more sentences 116, and determine a score 122 for the growth mindset. The score 122 for the growth mindset may be based on the probability 412 of the fixed mindset, the probability 414 of the growth mindset, and the probability 416 of not being applicable to the fixed mindset or the growth mindset. The scoring engine 104 may determine the score in the score 122 for the growth mindset using a rule in the rules 109 for determining a score. For example, the scoring engine 104 may determine the score 122 for the growth mindset based on a proportion of positive probabilities (e.g., the probability 414 of the growth mindset), e.g., the probability 414 of the growth mindset divided by the sum of the probability 412 of the fixed mindset, the probability 414 of the growth mindset, and the probability 416 of not being applicable to the fixed mindset or the growth mindset.
[0053] The scoring engine 104 can determine the adjusted sentiment score 124 based on the sentiment score 134 and the rules for determining the score 109. For example, if the score 120 for the gender-neutral state and / or the score 122 for the growth mindset state is below a threshold (e.g., 60%), the scoring engine 104 uses a rule in the rules for determining the score 109 to reduce the sentiment score 134. In another example, if the score 120 for the gender-neutral state and / or the score 122 for the growth mindset state is above another threshold (e.g., 80%), the scoring engine 104 can increase the sentiment score 134.
[0054] Figure 6 1 shows a training phrase 118 according to some embodiments. The training phrase 118 may be a data structure (eg, may include a pattern of phrases coupled to a content characteristic state 121). Figure 6 4 , a phrase 602 for a gender neutral state and a phrase 610 for a growth mindset state are illustrated.
[0055] Phrases 602 for gender neutral state include training phrases 118 coupled with gender biased state 604, gender neutral state 606, and not applicable to gender biased state or gender neutral state 608. Phrases 602 for gender neutral state may be used to train three natural language models 127 according to some embodiments.
[0056] Phrases 610 for growth mindset include training phrases 118 coupled with fixed mindset 612, growth mindset 614, and not applicable to fixed mindset or growth mindset 616. Phrases 610 for growth mindset may be used to train three natural language models 127 according to some embodiments.
[0057] Figure 7 An example of a phrase 700 for a growth mindset is illustrated in accordance with some embodiments. The phrase 700 for a growth mindset may be a script for language understanding 106 for training a natural language model 127. Figure 7 It can be a data structure such as a pattern. A training phrase 118 with a growth mindset state 614 is illustrated at data structure 702, "{'text': 'I need to learn to solve this problem', 'intent': 'GrowthMindset', 'entities': []}". "Text" indicates that the utterance is text. The phrase (note that the utterance, not the phrase, is used in phrase 700 for the growth mindset state) is "I need to learn to solve this problem". The utterance can be the same as or similar to the phrase. The intent can indicate a content characteristic state 121. The content characteristic state 121 is "GrowthMindset" (growth mindset state 614). And, "entities" are an indication of a script. Phrases 116 that match the phrase have a higher probability for the growth mindset state 614.
[0058] A training phrase 118 with a fixed mindset state 612 is illustrated at data structure 704, "{'text':'I will never be an artist', 'intent':'FixedMindset', 'entities':[]}". "Text" indicates that the phrase is text. The phrase is "I will never be an artist". The content characteristic state 121 is "FixedMindset" (i.e., the fixed mindset state 612). And, "entities" is an indication for a script. Phrases 116 that match this phrase will have a higher probability for the fixed mindset state 612.
[0059] A training phrase 118 coupled with not being applicable to a fixed mindset or a growth mindset 616 is illustrated at date structure 706, "{'text': 'Order food for the team', 'intent': 'None', 'entities': []}". "Text" indicates that the phrase is text. The phrase is "Order food for the team". The intent is "None" (e.g., not applicable to a fixed mindset or a growth mindset 616). And, "entities" is an indication for a script. Phrases 116 that match this phrase will have a higher probability of not being applicable to a fixed mindset or a growth mindset 616.
[0060] Figure 8 , 9 10 illustrates an example of a phrase for a gender neutral state 800 according to some embodiments. The phrase for a gender neutral state 800 may be a script for language understanding 106 for training a natural language model 127. Figure 8 , 9 and 10 may be a data structure, for example, a pattern. Figure 8 exist Fig. 9 802 continues. Fig. 9 from Figure 8 Continue at 902 and Fig.10 Continue at 904. Fig.10 from Fig. 9 Continue at 1002.
[0061] A training phrase 118 coupled with a gender-neutral state 606 is illustrated at the date structure 802, "{'text':'All of our employees do their best', 'intent':'GenderNeutral', 'entities':[]}". "Text" indicates that the phrase is text. The phrase is "All of our employees do their best". The intent is "GenderNeutral", i.e., the gender-neutral state 606. And, "entities" are instructions for a script. Phrases 116 that match this phrase have a higher probability for the gender-neutral state 606.
[0062] A training phrase 118 coupled with a gender bias state 604 is illustrated at the date structure 804, "{'text':'Every citizen should know their rights', 'intent':'GenderBias', 'entities':[]}". "Text" indicates that the utterance is text. The phrase is "Every citizen should know their rights". The intent is "GenderBias", i.e., a gender bias state 604. And, "entities" is an indication for a script. Phrases 116 that match this phrase will have a higher probability of a gender bias state 604.
[0063] A training phrase 118 coupled with a not applicable to gender biased state or gender neutral state 608 is illustrated at date structure 806, "{'text': 'She did a great job.', 'intent': 'none', 'entities': []}". "Text" indicates that the utterance is text. The phrase is "She did a great job". The intent is "none", i.e., not applicable to gender biased state or gender neutral state 608. And, "entities" is an indication for a script. Phrases 116 that match this phrase will have a higher probability of not applicable to gender biased state or gender neutral state 608. In some embodiments, a higher probability of not applicable to gender biased state or gender neutral state 608 is used than in Figure 7 , 8 , 9 and Fig.10 More training phrases 118 are shown in FIG.
[0064] Fig.11 A method 1100 for determining a state of a content characteristic of an electronic communication according to some embodiments is illustrated. The method 1100 begins at operation 1102 with receiving text, wherein the text includes one or more sentences. For example, the user interface 102 can receive the text 108. In another example, the application 204 can receive the text 108 via the user interface 102. In another example, the user interface 300 can receive the text of an email 320. In another example, the language understanding 106 can receive the text 108.
[0065] Method 1100 may continue at operation 1106 by determining, for each text phrase in one or more text phrases, a probability of a gender-biased state, a probability of a gender-neutral state, and a probability of a state that is not applicable to a gender-biased state or a gender-neutral state, wherein the determination is based on a natural language model trained using a data structure that includes training sentences indicated as having a gender-biased state, training sentences indicated as having a gender-neutral state, and training sentences indicated as not applicable to a gender-biased state or a gender-neutral state.
[0066] For example, the language understanding 106 can determine a probability 406 of a gender biased state, a probability 408 of a gender neutral state, and a probability 410 of not being applicable to a gender biased state or a gender neutral state. The probabilities 406, 408, and 410 can be for a phrase 116 or one or more phrases 116. The probabilities 406, 408, 410 can be determined using a natural language model 127 trained with training phrases 118, for example, for a gender biased state 604, a gender neutral state 606, and a training phrase 118 that is not applicable to a gender biased state or a gender neutral state 608.
[0067] Method 1100 may continue at operation 1108 where, for each of the one or more text phrases, a score for the text is determined based on a probability of a gender biased state, a probability of a gender neutral state, and a probability of not being applicable to a gender biased or gender neutral state.
[0068] For example, the scoring engine 104 can determine a score for the gender-neutral state 120 based on the probability 406 of the gender-biased state, the probability 408 of the gender-biased state, and the probability 410 of not being applicable to the gender-biased state or the gender-neutral state.
[0069] Method 1100 may continue at operation 1110, where the textual score is displayed on a display of the user. For example, user interface 102 and / or application 204 may cause output of score 120 for gender neutrality on a display (not shown) for the user (not shown). In another example, user interface 300 may display diversity and inclusion score 314 (being displayed on display interface 300) on a display for the user.
[0070] Method 1100 may optionally include an operation (not shown) of parsing text into one or more phrases. The operation may be performed as disclosed in one of the following examples. User interface 102 may parse text 108. Parser 112 may parse text 108 into phrases 116. Scoring engine 104 may parse text 108 into phrases 116. Language understanding 106 may parse text 108 into phrases 116. User interface 300 may convert text of email 320 (e.g., selected text 324) into phrases 322.
[0071] One or more operations of method 1100 may be optional. In some embodiments, the order of operations may be different. Method 1100 may be performed by one or more of user interface 102, scoring engine 104, language understanding 106, application 204, user interface 300, or another computer entity.
[0072] Fig.12A block diagram of an exemplary machine 1200 on which any one or more of the techniques (or methods) disclosed herein may be performed is illustrated. In alternative embodiments, the machine 1200 may operate as a standalone device, or may be connected (e.g., networked) to other machines. In a networked deployment, the machine 1200 may operate in a server-client network environment with the capabilities of a server machine, a client machine, or both. In an example, the machine 1200 may act as a peer machine in a peer-to-peer (P2P) (or other distributed) network environment. The machine 1200 may be a server, a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a portable communication device, a mobile phone, a smart phone, a network appliance, a network router, a switch or a bridge, or any machine capable of executing instructions (sequentially or otherwise) specifying the operations to be performed by the machine. Further, while a single machine is illustrated, the term "machine" shall also be taken to include any collection of machines that individually or collectively execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein, such as cloud computing, Software as a Service (SaaS), and other computer cluster configurations.
[0073] The machine (e.g., computer system) 1200 may include a hardware processor 1202 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a hardware processor core, or any combination thereof), a main memory 1204, and a static memory 1206, some or all of which may communicate with each other via an interconnection link (e.g., a bus) 1208.
[0074] Specific examples of main memory 1204 include random access memory (RAM) and semiconductor memory devices, which in some embodiments may include storage locations in a semiconductor such as registers. Specific examples of static memory 1206 include nonvolatile memory, such as semiconductor memory devices (e.g., electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; RAM; and CD-ROM and DVD-ROM disks.
[0075] The machine 1200 may also include a display device 1210, an input device 1212 (e.g., a keyboard), and a user interface (UI) navigation device 1214 (e.g., a mouse). In an example, the display device 1210, the input device 1212, and the UI navigation device 1214 may be a touch screen display. The machine 1200 may additionally include a mass storage device (e.g., a drive unit) 1216, a signal generating device 1218 (e.g., a speaker), a network interface device 1220, and one or more sensors 1221, such as a global positioning system (GPS) sensor, a compass, an accelerometer, or other sensors. The machine 1200 may include an output controller 1232, such as a serial (e.g., universal serial bus (USB)), parallel, or other wired or wireless (e.g., infrared (IR), near field communication (NFC), etc.) connection to communicate or control one or more peripheral devices (e.g., printers, card readers, etc.). In some embodiments, the processor 1202 and / or the instructions 1224 may include processing circuits and / or transceiver circuits.
[0076] The storage device 1216 may include a machine-readable medium 1222 on which is stored one or more sets of data structures or instructions 1224 (e.g., software) embodied or utilized by any one or more of the techniques or functionality described herein. For example, the machine 1200 may implement one or more of the user interface 102, the user interface 300, the application 204, the active directory 206, the scoring engine 104, the application server 202, and the language understanding 106 to form a special-purpose machine 1200. During execution by the machine 1200, the instructions 1224 may also reside, in whole or in part, within the main memory 1204, within the static memory 1206, or within the hardware processor 1202. In an example, one or any combination of the hardware processor 1202, the main memory 1204, the static memory 1206, or the storage device 1216 may constitute a machine-readable medium. Exemplary machine-readable media may include non-transitory machine-readable media, which may include tangible non-transitory media for storing information in a form readable by one or more computers, such as but not limited to read-only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash memory, etc.
[0077] Specific examples of machine-readable media may include: nonvolatile memory, such as semiconductor memory devices (e.g., EPROM or EEPROM) and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; RAM; and CD-ROM and DVD-ROM disks.
[0078] Although the machine-readable medium 1222 is illustrated as a single medium, the term “machine-readable medium” may include a single medium or multiple media (eg, a centralized or distributed database, and / or associated caches and servers) configured to store one or more instructions 1224 .
[0079] The instructions 1224 may also be sent or received over the communication network 1226 using a transmission medium via the network interface device 1220 using any of a variety of transmission protocols (e.g., frame relay, Internet Protocol (IP), transmission control protocol (TCP), user datagram protocol (UDP), hypertext transfer protocol (HTTP), etc.). Exemplary communication networks may include a local area network (LAN), a wide area network (WAN), a packet data network (e.g., the Internet), a mobile telephone network (e.g., a cellular network), a plain old telephone (POTS) network, and a wireless data network (e.g., a wireless network known as a Wi-Fi network). The Institute of Electrical and Electronics Engineers (IEEE) 802.11 series of standards, License Assisted Access (LAA), IEEE 802.15.4 series of standards, Long Term Evolution (LTE) series of standards, Universal Mobile Telecommunications System (UMTS) series of standards, peer-to-peer (P2P) networks, etc.).
[0080] In an example, the network interface device 1220 may include one or more physical jacks (e.g., Ethernet, coaxial, or telephone jacks) or one or more antennas to connect to the communication network 1226. In an example, the network interface device 1220 may include one or more antennas 1230 to wirelessly communicate using at least one of single-input multiple-output (SIMO), multiple-input multiple-output (MIMO), or multiple-input single-output (MISO) technology. In some examples, the network interface device 1220 may use multi-user MIMO technology for wireless communication. The term "transmission medium" should be taken to include any intangible medium that can store, encode, or carry instructions executed by the machine 1200, and includes digital or analog communication signals or other intangible media to facilitate the communication of such software.
[0081] It should be appreciated that where software is described in a particular form (e.g., components or modules), this is only to aid understanding and is not intended to limit the manner in which software that implements those functions may be constructed or built. For example, modules are shown as separate modules, but may be implemented as homogeneous code, as separate components, some but not all of these modules may be combined, or the software may be constructed in any other convenient manner to implement the functionality.
[0082] Furthermore, although software modules are shown as executing on one piece of hardware, the software may be distributed among multiple processors or in any other convenient manner.
[0083] The above description is illustrative, not restrictive. After reviewing the above description, many other embodiments will be apparent to those skilled in the art. Therefore, the scope of the embodiments should be determined with reference to the attached claims and the full range of equivalents to which these claims are assigned.
[0084] In the foregoing description of the embodiments, various features are grouped together in a single embodiment for the purpose of simplifying the present disclosure. The disclosed method should not be interpreted as reflecting that the claimed embodiments have more features than those explicitly recited in each claim. Rather, as reflected in the appended claims, the subject matter of the invention lies in less than all the features of a single disclosed embodiment. Therefore, the appended claims are hereby incorporated into the description of the embodiments, wherein each claim independently serves as a separate exemplary embodiment.
Claims
1. A computer-implemented method, the method comprising: receiving text, the text comprising one or more text phrases; determining, for each of the one or more text phrases, a probability of a gender biased state, a probability of a gender neutral state, and a probability of a state that is not applicable to a gender biased state or a gender neutral state, wherein the determining is based on a natural language model trained using a data structure that includes training phrases indicated as having the gender biased state, training phrases indicated as having the gender neutral state, and training phrases indicated as not applicable to a gender biased state or a gender neutral state; For each of the one or more text phrases, determining a score for the text based on a probability of the gender biased state, a probability of the gender neutral state, and a probability of not being applicable to a gender biased or gender neutral state; and An indication of the score of the text is caused to be displayed on a display of the user.
2. The computer-implemented method of claim 1 , wherein: The text is received from an email application and the score is displayed on a user interface of the email application.
3. The computer-implemented method of claim 1 , further comprising: The natural language model is trained using the data structure, the data structure including the training phrases indicated as having the gender biased state, the training phrases indicated as having the gender neutral state, and the training phrases indicated as not applicable to the gender biased state or the gender neutral state, wherein the natural language model is a neural network or a regression network.
4. The computer-implemented method of claim 1 , wherein: The natural language model is a neural network or a regression network, and wherein the computer-implemented method further comprises: training a first neural network or a first regression network using the training phrases indicated as having the gender biased state; training a second neural network or a second regression network using the training phrases indicated as having the gender neutral state; and A third neural network or a third regression network is trained using training phrases indicated as not applicable to the gender-biased state or the gender-neutral state.
5. The computer-implemented method of claim 4, wherein: The computer-implemented method further comprises: determining a probability of the gender biased state for each of the one or more text phrases based on a first matching score of a corresponding text phrase of the one or more text phrases with the first neural network; determining a probability of the gender-neutral state for each of the one or more text phrases based on a second matching of the corresponding text phrase of the one or more text phrases with the second neural network; and A probability of not being applicable to a gender biased state or a gender neutral state is determined for each of the one or more text phrases based on a third match score of the corresponding text phrase of the one or more text phrases with the third neural network.
6. The computer-implemented method of any one of claims 1 to 5, wherein: The computer-implemented method further comprises: determining a sentiment score for the text; determining an adjusted sentiment score for the text based on the sentiment score for the text and the score for the text; and An indication of the adjusted sentiment score is caused to be displayed on the display of the user.
7. The computer-implemented method of any one of claims 1 to 5, wherein: The computer-implemented method further comprises: determining, for each of the one or more text phrases, a probability of a fixed mindset state, a probability of a growth mindset state, and a probability of not being applicable to a fixed mindset state or a growth mindset state, wherein the determining is based on a natural language model trained using a data structure including training sentences indicated as having the fixed mindset state, training sentences indicated as having the growth mindset state, and training sentences indicated as not being applicable to a fixed mindset state or a growth mindset state; determining another score for the text based on the probability of the fixed mindset state, the probability of the growth mindset state, and the probability of not being applicable to the fixed mindset state or the growth mindset state; and An indication of the further score of the text is caused to be displayed on the display of the user.
8. The computer-implemented method of any one of claims 1 to 5, wherein: The computer-implemented method further comprises: For each of the one or more text phrases, a score for the text is determined based on the probability of the gender-biased state, the probability of the gender-neutral state, and the probability of not being applicable to the gender-biased state or the gender-neutral state, wherein the probability of the gender-biased state is weighted to count more than the probability of the gender-neutral state and the probability of not being applicable to the gender-biased state or the gender-neutral state.
9. A computer-readable storage medium storing instructions for execution by one or more processors of a computing device, the instructions being configured to: receiving text, the text comprising one or more text phrases; For each of the one or more text phrases, a probability of a gender biased state, a probability of a gender neutral state, and a probability of a state that is not applicable to either gender biased or gender neutral is determined, wherein The determining is based on a natural language model trained using a data structure, the data structure including training phrases indicated as having the gender biased state, training phrases indicated as having the gender neutral state, and training phrases indicated as not applicable to the gender biased state or the gender neutral state; For each of the one or more text phrases, determining a score for the text based on a probability of the gender biased state, a probability of the gender neutral state, and a probability of not being applicable to a gender biased or gender neutral state; and An indication of the score of the text is caused to be displayed on a display of the user.
10. The computer-readable storage medium of claim 9, wherein: The text is received from an email application and the score is displayed on a user interface of the email application.
11. The computer-readable storage medium of claim 10, wherein: The instructions further configure the one or more processors to: The natural language model is trained using the data structure, the data structure including the training phrases indicated as having the gender biased state, the training phrases indicated as having the gender neutral state, and the training phrases indicated as not applicable to the gender biased state or the gender neutral state, wherein the natural language model is a neural network or a regression network.
12. The computer-readable storage medium of claim 9, wherein: The natural language model is a neural network or a regression network, and wherein the instructions further configure the one or more processors to: training a first neural network or a first regression network using the training phrases indicated as having the gender biased state; training a second neural network or a second regression network using the training phrases indicated as having the gender neutral state; and A third neural network or a third regression network is trained using the training phrases indicated as being inappropriate for the gender-biased state or the gender-neutral state.
13. A computing device for determining a diversity and inclusion score for a text, the computing device comprising: processor; A memory comprising instructions that, when executed by the processor, cause the processor to perform operations comprising: receiving text, the text comprising one or more text phrases; determining, for each of the one or more text phrases, a probability of a gender biased state, a probability of a gender neutral state, and a probability of a state that is not applicable to a gender biased state or a gender neutral state, wherein the determining is based on a natural language model trained using a data structure that includes training phrases indicated as having the gender biased state, training phrases indicated as having the gender neutral state, and training phrases indicated as not applicable to a gender biased state or a gender neutral state; For each of the one or more text phrases, determining a score for the text based on a probability of the gender biased state, a probability of the gender neutral state, and a probability of not being applicable to a gender biased or gender neutral state; and An indication of the score of the text is caused to be displayed on a display of the user.
14. The computing device of claim 13, wherein: The text is received from an email application and the score is displayed on a user interface of the email application.
15. The computing device of claim 14, wherein: The instructions further cause the processor to perform operations including: The natural language model is trained using the data structure, the data structure including the training phrases indicated as having the gender biased state, the training phrases indicated as having the gender neutral state, and the training phrases indicated as not applicable to the gender biased state or the gender neutral state, wherein the natural language model is a neural network or a regression network.
Citation Information
Patent Citations
Implementing whole sentence recurrent neural network language model for natural language processing
CN110389996A
Methods and apparatus for analyzing social media for enterprise compliance issues
US20160028681A1
