US 9,811,592 B1
Query modification based on textual resource context
Gokhan H. Bakir, Zurich (CH); Karoly Csalogany, Zurich (CH); and Behshad Behzadi, Zurich (CH)
Assigned to Google Inc., Mountain View, CA (US)
Filed by Google Inc., Mountain View, CA (US)
Filed on Jun. 24, 2014, as Appl. No. 14/313,519.
Int. Cl. G06F 17/30 (2006.01)
CPC G06F 17/30864 (2013.01) 18 Claims
OG exemplary drawing
 
1. A method implemented in a data processing apparatus, the method comprising:
receiving, from a user device displaying an active textual resource in an active window of an application environment on the user device, a query including a plurality of terms, the query input by a user on the user device displaying the active textual resource when the user input the query;
determining that the query is an ambiguous query and that the user device is displaying, in the text of the active textual resource, entity text that describes entities and that the active textual resource was displayed when the query was input, and in response:
identifying the entities described by entity text in the text of the active textual resource displayed in the active window of the application environment on the user device prior to receiving the query input by the user;
automatically determining, for each entity described by the entity text in the text of the active textual resource displayed on the user device prior to receiving the query input by the user, modification data for each entity described by the entity text for the query;
automatically generating, for each modification data for each entity described by the entity text in the text of the active textual resource, a set of modified queries based on the query and the modification data;
automatically scoring the modified queries according to one or more scoring criteria;
automatically selecting one of the modified queries based on the scoring; and
providing, to the user device, search results responsive to the selected modified query.