Measuring phrase association on online social networks
First Claim
1. A method comprising, by a computing device:
- receiving, from a client system of a first user of an online social network, a search query for posts of the online social network, the search query comprising one or more query terms;
retrieving a plurality of posts of the online social network, each post containing each of the one or more query terms in a text of the post;
identifying, from an index of known phrases, one or more known phrases in the text of the one or more retrieved posts, each identified known phrase containing at least one of the one or more query terms, wherein the index of known phrases comprises a plurality of pre-identified phrases having a length less than or equal to a pre-determined maximum length;
filtering the plurality of retrieved posts to generate a filtered set of posts, wherein the filtering comprises removing each post not containing at least one of the identified known phrases;
computing a plurality of features for each of the identified known phrases, each feature measuring a degree of equivalence between the identified known phrase and the one or more query terms included in the identified known phrase;
calculating, for each post in the filtered set of posts, a score for the post based on the plurality of features of the identified known phrases included in the post;
ranking the posts based on the calculated scores; and
sending, to the client system in response to the search query, instructions for generating a search-results interface comprising references to one or more of the posts presented in ranked order.
2 Assignments
0 Petitions
Accused Products
Abstract
In one embodiment, a method includes retrieving multiple posts containing each of the query terms after receiving a search query for posts from a user of an online social network, identifying, from an index of known phrases, one or more known phrases in the text of the retrieved posts, filtering the retrieved posts to generate a filtered set of posts, wherein the filtering comprises removing each post not containing at least one of the identified known phrases, computing features for each of the identified known phrases, calculating a score for each post in the filtered set based on the features of the identified known phrases, ranking the posts based on the calculated scores, and sending instructions, to the client system, for generating a search-results interface comprising references to one or more of the posts presented in ranked order.
-
Citations
20 Claims
-
1. A method comprising, by a computing device:
-
receiving, from a client system of a first user of an online social network, a search query for posts of the online social network, the search query comprising one or more query terms; retrieving a plurality of posts of the online social network, each post containing each of the one or more query terms in a text of the post; identifying, from an index of known phrases, one or more known phrases in the text of the one or more retrieved posts, each identified known phrase containing at least one of the one or more query terms, wherein the index of known phrases comprises a plurality of pre-identified phrases having a length less than or equal to a pre-determined maximum length; filtering the plurality of retrieved posts to generate a filtered set of posts, wherein the filtering comprises removing each post not containing at least one of the identified known phrases; computing a plurality of features for each of the identified known phrases, each feature measuring a degree of equivalence between the identified known phrase and the one or more query terms included in the identified known phrase; calculating, for each post in the filtered set of posts, a score for the post based on the plurality of features of the identified known phrases included in the post; ranking the posts based on the calculated scores; and sending, to the client system in response to the search query, instructions for generating a search-results interface comprising references to one or more of the posts presented in ranked order. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. One or more computer-readable non-transitory storage media embodying software that is operable when executed to:
-
receive, from a client system of a first user of an online social network, a search query for posts of the online social network, the search query comprising one or more query terms; retrieve a plurality of posts of the online social network, each post containing each of the one or more query terms in a text of the post; identify, from an index of known phrases, one or more known phrases in the text of the one or more retrieved posts, each identified known phrase containing at least one of the one or more query terms, wherein the index of known phrases comprises a plurality of pre-identified phrases having a length less than or equal to a pre-determined maximum length; filter the plurality of retrieved posts to generate a filtered set of posts, wherein the filtering comprises removing each post not containing at least one of the identified known phrases; compute a plurality of features for each of the identified known phrases, each feature measuring a degree of equivalence between the identified known phrase and the one or more query terms included in the identified known phrase; calculate, for each post in the filtered set of posts, a score for the post based on the plurality of features of the identified known phrases included in the post; rank the posts based on the calculated scores; and send, to the client system in response to the search query, instructions for generating a search-results interface comprising references to one or more of the posts presented in ranked order. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
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;receive, from a client system of a first user of an online social network, a search query for posts of the online social network, the search query comprising one or more query terms; retrieve a plurality of posts of the online social network, each post containing each of the one or more query terms in a text of the post; identify, from an index of known phrases, one or more known phrases in the text of the one or more retrieved posts, each identified known phrase containing at least one of the one or more query terms, wherein the index of known phrases comprises a plurality of pre-identified phrases having a length less than or equal to a pre-determined maximum length; filter the plurality of retrieved posts to generate a filtered set of posts, wherein the filtering comprises removing each post not containing at least one of the identified known phrases; compute a plurality of features for each of the identified known phrases, each feature measuring a degree of equivalence between the identified known phrase and the one or more query terms included in the identified known phrase; calculate, for each post in the filtered set of posts, a score for the post based on the plurality of features of the identified known phrases included in the post; rank the posts based on the calculated scores; and send, to the client system in response to the search query, instructions for generating a search-results interface comprising references to one or more of the posts presented in ranked order.
- one or more processors; and
Specification