Patent attributes
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating contextual search presentations. One of the methods includes obtaining selection data identifying a term selected by a user from a document displayed to the user; determining whether or not the context data and the selection data satisfy one or more criteria for presenting any of one or more types of special case contextual search presentations; in response to determining that the context data and the selection satisfy criteria for presenting a first type of special case contextual search presentation, generating a first special case contextual search presentation of the first type; in response to determining that the context data and the selection data do not satisfy the criteria, generating a default contextual search presentation; and providing the first special case contextual search presentation or the default contextual search presentation for presentation to the user.