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; 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; 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.