1. A computer-implemented method, comprising: receiving at a client device a dictionary defining query triggers, each of the query triggers being one or more terms; identifying at the client device query triggers in a resource, the resource being a non-query resource; for each query trigger identified in the resource, calculating at the client device a rank score for the query trigger based on attributes of the query trigger, the attributes including at least one of: a context of the query trigger defined by a display format of the query trigger in the resource; and a frequency of occurrence of the query trigger in the resource; ranking at the client device the query triggers according to the rank scores; generating at the client device search query suggestions from the query triggers identified in the resource; and presenting at the client device the search query suggestions according to the ranking of the query triggers.