Detecting messages with offensive content
First Claim
Patent Images
1. A method comprising:
- receiving input that includes message content using a virtual keyboard that is generated for output on a display of a user device, the virtual keyboard being generated by an application program installed on the user device that includes multiple software modules;
determining, by the user device and using one or more of the software modules of the application program, whether the message content includes offensive content, wherein determining, by the user device and using one or more of the software modules of the application program comprises;
determining whether the received message content includes an offensive trigger word;
in response to determining that the received message content includes an offensive trigger word, analyzing the context in which the offensive trigger word is used in the message content, wherein analyzing the context in which the offensive trigger word is used comprises;
determining whether the offensive trigger word falls within a predetermined proximity of (i) a pronoun that refers to a person other than the user of the user device or (ii) an entity name that refers to a person other than the user of the user device; and
in response to determining, by the user device and using one or more of the software modules of the application program, that the received message content includes an offensive trigger word that falls within a predetermined proximity of (i) a pronoun that refers to a person other than the user of the user device or (ii) an entity name that refers to a person other than the user of the user device, generating an alert message for display on the user device that provides an indication that the received message content includes offensive content.
0 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage medium, to facilitate interception of messages that include offensive content. In one aspect, a method includes actions of receiving input on a user device that includes message content, determining, on the user device, whether the message content includes offensive content, and in response to determining, on the user device, that the message content includes offensive content, generating an alert message for display on the user device that provides an indication that the message includes offensive content.
31 Citations
14 Claims
-
1. A method comprising:
-
receiving input that includes message content using a virtual keyboard that is generated for output on a display of a user device, the virtual keyboard being generated by an application program installed on the user device that includes multiple software modules; determining, by the user device and using one or more of the software modules of the application program, whether the message content includes offensive content, wherein determining, by the user device and using one or more of the software modules of the application program comprises; determining whether the received message content includes an offensive trigger word; in response to determining that the received message content includes an offensive trigger word, analyzing the context in which the offensive trigger word is used in the message content, wherein analyzing the context in which the offensive trigger word is used comprises; determining whether the offensive trigger word falls within a predetermined proximity of (i) a pronoun that refers to a person other than the user of the user device or (ii) an entity name that refers to a person other than the user of the user device; and in response to determining, by the user device and using one or more of the software modules of the application program, that the received message content includes an offensive trigger word that falls within a predetermined proximity of (i) a pronoun that refers to a person other than the user of the user device or (ii) an entity name that refers to a person other than the user of the user device, generating an alert message for display on the user device that provides an indication that the received message content includes offensive content. - View Dependent Claims (3, 4, 5)
-
-
2. A method comprising:
-
receiving input that includes message content using a virtual keyboard that is generated for output on a display of a user device, the virtual keyboard being generated by an application program installed on the user device that includes multiple software modules; determining, by the user device and using one or more of the software modules of the application program, whether the message content includes offensive content, wherein determining, by the user device and using the one or more of the software modules of the application program, whether the message includes offensive content comprises; providing at least a portion of the received message content to a neural network that has been trained using multiple content items that have been labeled as offensive content items and multiple content items that have been labeled as non-offensive content items; receiving a value that was generated by the neural network that has been trained using multiple content items that have been labeled as offensive content items and multiple content items that have been labeled as non-offensive content items, wherein the value is generated by the neural network based on the neural network'"'"'s processing of the provided portion of the received message content; and determining, based on the value generated by the neural network, whether the message content includes offensive content; and in response to determining, by the user device and using one or more of the software modules of the application program and based on the value generated by the neural network, that the received message content includes offensive content, generating an alert message for display on the user device that provides an indication that the received message content includes offensive content.
-
-
6. A user device comprising:
-
one or more processors and one or more storage devices storing instructions that are operable, when executed by the one or more processors, to cause the one or more processors to perform operations comprising; receiving input on a user device that includes message content; determining, by the user device, whether the received message content includes offensive content, wherein determining whether the received message content includes offensive content comprises; determining whether the received message content includes an offensive trigger word; in response to determining that the received message includes an offensive trigger word, analyzing the context in which the offensive trigger word is used, wherein analyzing the context in which the offensive trigger word is used comprises; determining whether the offensive trigger word falls within a predetermined proximity of (i) a pronoun that refers to a person other than the user of the user device or (ii) an entity name that refers to a person other than the user of the user device; and in response to determining, by the user device, that the received message content includes an offensive trigger word that falls within a predetermined proximity of (i) a pronoun that refers to a person other than the user of the user device or (ii) an entity name that refers to a person other than the user of the user device, generating an alert message for display on the user device that provides an indication that the received message content includes offensive content. - View Dependent Claims (7, 8, 9)
-
-
10. A non-transitory computer-readable medium storing software comprising instructions executable by one or more processors which, upon such execution, cause the one or more processors to perform operations comprising:
-
receiving input on a user device that includes message content; determining, by the user device, whether the received message content includes offensive content, wherein determining whether the received message content includes offensive content comprises; determining whether the received message content includes an offensive trigger word; in response to determining that the received message includes an offensive trigger word, analyzing the context in which the offensive trigger word is used, wherein analyzing the context in which the offensive trigger word is used comprises; determining whether the offensive trigger word falls within a predetermined proximity of (i) a pronoun that refers to a person other than the user of the user device or (ii) an entity name that refers to a person other than the user of the user device; and in response to determining, by the user device, that the received message content includes an offensive trigger word that falls within a predetermined proximity of (i) a pronoun that refers to a person other than the user of the user device or (ii) an entity name that refers to a person other than the user of the user device, generating an alert message for display on the user device that provides an indication that the received message content includes offensive content. - View Dependent Claims (11, 12)
-
-
13. A user device comprising:
one or more processors and one or more storage devices storing instructions that are operable, when executed by the one or more processors, to cause the one or more processors to perform operations comprising; receiving input on a user device that includes message content; determining, by the user device, whether the received message content includes offensive content, wherein determining whether the received message content includes offensive content comprises; providing at least a portion of the received message content to a neural network that has been trained using multiple content items that have been labeled as offensive content items and multiple content items that have been labeled as non-offensive content items; receiving a value that was generated by the neural network that has been trained using multiple content items that have been labeled as offensive content items and multiple content items that have been labeled as non-offensive content items, wherein the value is generated by the neural network based on the neural network'"'"'s processing of the provided portion of the received message content; and determining, based on the value generated by the neural network, whether the message content includes offensive content; and in response to determining, by the user device and based on the value generated by the neural network, that the received message content includes offensive content, generating an alert message for display on the user device that provides an indication that the received message content includes offensive content.
-
14. A non-transitory computer-readable medium storing software comprising instructions executable by one or more processors which, upon such execution, cause the one or more processors to perform operations comprising:
-
receiving input on a user device that includes message content; determining, by the user device, whether the received message content includes offensive content, wherein determining whether the received message content includes offensive content comprises; providing at least a portion of the received message content to a neural network that has been trained using multiple content items that have been labeled as offensive content items and multiple content items that have been labeled as non-offensive content items; receiving a value that was generated by the neural network that has been trained using multiple content items that have been labeled as offensive content items and multiple content items that have been labeled as non-offensive content items, wherein the value is generated by the neural network based on the neural network'"'"'s processing of the provided portion of the received message content; and determining, based on the value generated by the neural network, whether the message content includes offensive content; and in response to determining, by the user device and based on the value generated by the neural network, that the received message content includes offensive content, generating an alert message for display on the user device that provides an indication that the received message content includes offensive content.
-
Specification