摘要 |
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for ranking query completions based on activity session data. One of the methods includes receiving a query prefix from a user. A reference parameter for the user is obtained. One or more likely queries that are likely to co-occur with the reference parameter in user activity sessions are identified, wherein each likely query has an associated prediction score. A ranking of the one or more likely queries is provided in response to receiving the query prefix. |
主权项 |
1. A computer-implemented method comprising:
receiving a query prefix input by a user; obtaining a reference parameter for the user; computing, for each query of one or more queries, a respective first score representing a likelihood that the reference parameter and the query co-occur in user activity sessions of a collection of a user activity sessions; computing, for each query of the one or more queries, a respective second score representing a likelihood that the query occurs in the user activity sessions; computing, for each query of the one or more queries, a respective ranking factor that represents a ratio between the first score for the query and the second score for the query; and computing, for each query of the one or more queries, a respective new ranking score for the query including multiplying a respective initial ranking score for the query by the ranking factor for the query; ranking the one or more queries according to the new ranking scores for the one or more queries; and providing one or more highest-ranked queries as a query completion for the query prefix. |