Sentiment-modules on online social networks
First Claim
1. A method comprising, by one or more computing devices:
- accessing, by the one or more computing devices, a plurality of communications authored by one or more users of an online social network, each communication being associated with a particular content item and comprising a text of the communication;
calculating, for each of the plurality of communications, one or more sentiment-scores corresponding to one or more sentiments, respectively, wherein at least one of the sentiment-scores is based on an output of a first classifier function, wherein the output of the first classifier function is calculated based on;
a degree to which one or more n-grams of the text of the communication match one or more sentiment-words associated with the one or more sentiments, anda context determined to be associated with the particular content item, wherein the context is determined based on one or more n-grams associated with the particular content item;
determining, for each of the plurality of communications, an overall sentiment for the communication based on the calculated sentiment-scores for the communication;
calculating, by the one or more computing devices, one or more sentiment levels for the particular content item corresponding to one or more sentiments, respectively, each sentiment level being based on a total number of communications determined to have the overall sentiment of the sentiment level; and
generating, by the one or more computing devices, a sentiments-module comprising one or more sentiment-representations corresponding to one or more overall sentiments having sentiment levels greater than a threshold sentiment level.
2 Assignments
0 Petitions
Accused Products
Abstract
In one embodiment, a method includes accessing a plurality of communications, each communication being associated with a particular content item and including a text of the communication; calculating, for each of the communications, sentiment-scores corresponding to sentiments, wherein each sentiment-score is based on a degree to which n-grams of the text of the communication match sentiment-words associated with the sentiments; determining, for each of the communications, an overall sentiment for the communication based on the calculated sentiment-scores for the communication; calculating sentiment levels for the particular content item corresponding sentiments, each sentiment level being based on a total number of communications determined to have the overall sentiment of the sentiment level; and generating a sentiments-module including sentiment-representations corresponding to overall sentiments having sentiment levels greater than a threshold sentiment level.
195 Citations
20 Claims
-
1. A method comprising, by one or more computing devices:
-
accessing, by the one or more computing devices, a plurality of communications authored by one or more users of an online social network, each communication being associated with a particular content item and comprising a text of the communication; calculating, for each of the plurality of communications, one or more sentiment-scores corresponding to one or more sentiments, respectively, wherein at least one of the sentiment-scores is based on an output of a first classifier function, wherein the output of the first classifier function is calculated based on; a degree to which one or more n-grams of the text of the communication match one or more sentiment-words associated with the one or more sentiments, and a context determined to be associated with the particular content item, wherein the context is determined based on one or more n-grams associated with the particular content item; determining, for each of the plurality of communications, an overall sentiment for the communication based on the calculated sentiment-scores for the communication; calculating, by the one or more computing devices, one or more sentiment levels for the particular content item corresponding to one or more sentiments, respectively, each sentiment level being based on a total number of communications determined to have the overall sentiment of the sentiment level; and generating, by the one or more computing devices, a sentiments-module comprising one or more sentiment-representations corresponding to one or more overall sentiments having sentiment levels greater than a threshold sentiment level. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. One or more computer-readable non-transitory storage media embodying software that is operable when executed to:
-
access a plurality of communications authored by one or more users of an online social network, each communication being associated with a particular content item and comprising a text of the communication; calculate, for each of the plurality of communications, one or more sentiment-scores corresponding to one or more sentiments, respectively, wherein at least one of the sentiment-scores is based on an output of a first classifier function, wherein the output of the first classifier function is calculated based on; a degree to which one or more n-grams of the text of the communication match one or more sentiment-words associated with the one or more sentiments, and a context determined to be associated with the particular content item, wherein the context is determined based on one or more n-grams associated with the particular content item; determine, for each of the plurality of communications, an overall sentiment for the communication based on the calculated sentiment-scores for the communication; calculate one or more sentiment levels for the particular content item corresponding to one or more sentiments, respectively, each sentiment level being based on a total number of communications determined to have the overall sentiment of the sentiment level; and generate a sentiments-module comprising one or more sentiment-representations corresponding to one or more overall sentiments having sentiment levels greater than a threshold sentiment level.
-
-
20. A system comprising:
- one or more processors; and
a non-transitory memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to;access a plurality of communications authored by one or more users of an online social network, each communication being associated with a particular content item and comprising a text of the communication; calculate, for each of the plurality of communications, one or more sentiment-scores corresponding to one or more sentiments, respectively, wherein at least one of the sentiment-scores based on an output of a first classifier function, wherein the output of the first classifier function is calculated based on; a degree to which one or more n-grams of the text of the communication match one or more sentiment-words associated with the one or more sentiments, and a context determined to be associated with the particular content item, wherein the context is determined based on one or more n-grams associated with the particular content item; determine, for each of the plurality of communications, an overall sentiment for the communication based on the calculated sentiment-scores for the communication; calculate one or more sentiment levels for the particular content item corresponding to one or more sentiments, respectively, each sentiment level being based on a total number of communications determined to have the overall sentiment of the sentiment level; and generate a sentiments-module comprising one or more sentiment-representations corresponding to one or more overall sentiments having sentiment levels greater than a threshold sentiment level.
- one or more processors; and
Specification