11. A method implemented by one or more processors executing computer executable instructions embodied in computer-readable storage media, the method comprising: receiving a web document by the one or more processors for display on a user interface; identifying a plurality of candidate phrases comprising at least one word in the received web document by: incorporating a position of a candidate phrase relative to a sentence the candidate phrase is in when determining which candidate phrase to extract from the web document; selecting which candidate phrase to extract based, at least in part, on whether a candidate phrase appears in a meta section of a header of the web document; determining which candidate phrase to extract based, at least in part, on whether a candidate phrase is part of anchor text for a hypertext link; utilizing a length of a sentence that a candidate phrase is in and a length of a whole of the web document to evaluate which candidate phrase to extract; or evaluating which candidate phrase to extract based, at least in part, on whether a candidate phrase is part of an address of the web document; identifying, as query frequency information, a list of words reflecting queries utilized frequently by users of a search engine; extracting at least one candidate phrase comprising at least one word from the web document based, at least in part, on a comparison of the candidate phrases with the list of words from the query frequency information; automatically generating a query based on the at least one candidate phrase extracted from the web document and the query frequency information; and delivering the query to a search engine or advertising system.
13. The method according to claim 11 further comprising displaying automatically one or more advertisements on the user interface in conjunction with display of content of the web document, wherein the one or more advertisements are provided in response to delivering the query to the advertising system.