Keyboard-based corrections for search queries on online social networks
First Claim
1. A method comprising, by one or more computing devices of a search engine:
- receiving, from a client system of a first user of an online social network, a completed text query submitted to the search engine by the first user using an I/O device associated with the client system, the I/O device comprising a first keyboard layout having a plurality of layers, wherein each of the plurality of layers comprises a particular set of characters, wherein the completed text query comprises N characters having N character positions in a first layer of the plurality of layers of the first keyboard layout;
identifying one or more physical-proximity phrases corresponding to the completed text query based at least in part on a second layer of the plurality of layers of the first keyboard layout, each identified physical-proximity phrase matching one or more n-grams included in a reference corpus, each matching n-gram comprising N characters having N character positions in the second layer of the first keyboard layout;
calculating a confidence score for each of the identified physical-proximity phrases based at least in part on a search history of the first user, wherein the confidence score for each physical-proximity phrase represents a likelihood that the first user intended to include the physical-proximity phrase in the completed text query;
determining one or more corrected text queries, each corrected text query comprising one or more of the physical-proximity phrases having a calculated confidence score greater than a threshold confidence score;
identifying, from a plurality of objects associated with the online social network, responsive to the completed text query, automatically without requiring the first user to select a corrected text query, one or more first objects matching the completed text query and one or more second objects matching at least one of the corrected text queries; and
sending, to the client system of the first user for display, a plurality of search results corresponding to one or more of the identified first objects and one or more of the identified second objects.
2 Assignments
0 Petitions
Accused Products
Abstract
In one embodiment, a method includes receiving from a first user a text query inputted by the first user using an I/O device associated with the client system, the I/O device including a first keyboard layout. The method also includes identifying one or more physical-proximity phrases corresponding to the text query based at least in part on the first keyboard layout and calculating a confidence score for each of the identified physical-proximity phrases based at least in part on a search history of the first user. The method also includes identifying one or more objects, where each identified object matches at least one of the identified physical-proximity phrases having a confidence score greater than a threshold confidence score and sending to the first user one or more search results corresponding to one or more of the identified objects, respectively.
-
Citations
21 Claims
-
1. A method comprising, by one or more computing devices of a search engine:
-
receiving, from a client system of a first user of an online social network, a completed text query submitted to the search engine by the first user using an I/O device associated with the client system, the I/O device comprising a first keyboard layout having a plurality of layers, wherein each of the plurality of layers comprises a particular set of characters, wherein the completed text query comprises N characters having N character positions in a first layer of the plurality of layers of the first keyboard layout; identifying one or more physical-proximity phrases corresponding to the completed text query based at least in part on a second layer of the plurality of layers of the first keyboard layout, each identified physical-proximity phrase matching one or more n-grams included in a reference corpus, each matching n-gram comprising N characters having N character positions in the second layer of the first keyboard layout; calculating a confidence score for each of the identified physical-proximity phrases based at least in part on a search history of the first user, wherein the confidence score for each physical-proximity phrase represents a likelihood that the first user intended to include the physical-proximity phrase in the completed text query; determining one or more corrected text queries, each corrected text query comprising one or more of the physical-proximity phrases having a calculated confidence score greater than a threshold confidence score; identifying, from a plurality of objects associated with the online social network, responsive to the completed text query, automatically without requiring the first user to select a corrected text query, one or more first objects matching the completed text query and one or more second objects matching at least one of the corrected text queries; and sending, to the client system of the first user for display, a plurality of search results corresponding to one or more of the identified first objects and one or more of the identified second objects. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21)
-
-
19. One or more computer-readable non-transitory storage media embodying software that is operable when executed to:
-
receive, at a search engine system from a client system of a first user of an online social network, a completed text query submitted to the search engine system by the first user using an I/O device associated with the client system, the I/O device comprising a first keyboard layout having a plurality of layers, wherein each of the plurality of layers comprises a particular set of characters, wherein the completed text query comprises N characters having N character positions in a first layer of the plurality of layers of the first keyboard layout; identify one or more physical-proximity phrases corresponding to the completed text query based at least in part on a second layer of the plurality of layers of the first keyboard layout, each identified physical-proximity phrase matching one or more n-grams included in a reference corpus, each matching n-gram comprising N characters having N character positions in the second layer of the first keyboard layout; calculate a confidence score for each of the identified physical-proximity phrases based at least in part on a search history of the first user, wherein the confidence score for each physical-proximity phrase represents a likelihood that the first user intended to include the physical-proximity phrase in the completed text query; determine one or more corrected text queries, each corrected text query comprising one or more physical-proximity phrases having a calculated confidence score greater than a threshold confidence score; identify, from a plurality of objects associated with the online social network, responsive to the completed text query, automatically without requiring the first user to select a corrected text query, one or more first objects matching the completed text query and one or more second objects matching at least one of the corrected text queries; and send, to the client system of the first user for display, a plurality of search results corresponding to one or more of the identified first objects and one or more of the identified second objects.
-
-
20. A search engine 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 completed text query submitted to the search engine system by the first user using an I/O device associated with the client system, the I/O device comprising a first keyboard layout having a plurality of layers, wherein each of the plurality of layers comprises a particular set of characters, wherein the completed text query comprises N characters having N character positions in a first layer of the plurality of layers of the first keyboard layout; identify one or more physical-proximity phrases corresponding to the completed text query based at least in part on a second layer of the plurality of layers of the first keyboard layout, each identified physical-proximity phrase matching one or more n-grams included in a reference corpus, each matching n-gram comprising N characters having N character positions in the second layer of the first keyboard layout; calculate a confidence score for each of the identified physical-proximity phrases based at least in part on a search history of the first user, wherein the confidence score for each physical-proximity phrase represents a likelihood that the first user intended to include the physical-proximity phrase in the completed text query; determine one or more corrected text queries, each corrected text query comprising one or more physical-proximity phrases having a calculated confidence score greater than a threshold confidence score; identify, from a plurality of objects associated with the online social network, responsive to the completed text query, automatically without requiring the first user to select a corrected text query, one or more first objects matching the completed text query and one or more second objects matching at least one of the corrected text queries; and send, to the client system of the first user for display, a plurality of search results corresponding to one or more of the identified first objects and one or more of the identified second objects.
- one or more processors; and
Specification