×

Embedding-based parsing of search queries on online social networks

  • US 10,162,886 B2
  • Filed: 11/30/2016
  • Issued: 12/25/2018
  • Est. Priority Date: 11/30/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising, by one or more computer systems:

  • receiving, from a client system of a user of an online social network, a query inputted by the user, wherein the query comprises a plurality of n-grams;

    parsing the query to identify a subset of n-grams of the plurality of n-grams;

    generating, for each identified n-gram, an embedding of the n-gram, wherein embeddings correspond to points in a d-dimensional embedding space;

    determining, for each identified n-gram, one or more word senses corresponding to one or more embeddings of the word senses, respectively;

    calculating, for each determined word sense for each identified n-gram, a relatedness-score for the word sense based on one or more similarity metrics of the embedding of the word sense and the embeddings of each of the one or more other word senses corresponding to the other identified n-grams, respectively;

    selecting, for each identified n-gram, one of the one or more word senses determined for the identified n-gram having one or more relatedness-scores, respectively, the selected word sense having a highest relatedness-score of the one or more respective relatedness-scores;

    identifying one or more objects matching at least a portion of the query;

    ranking each identified object based on a quality of matching of the object to one or more selected word senses; and

    sending, to the client system in response to the query, a search-results interface for display, wherein the search-results interface comprises one or more search results corresponding to one or more of the identified objects, respectively, each identified object corresponding to a search result having a rank greater than a threshold rank.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×