Patent Document ID: 9519917
Application ID: 14557173

Base Claim:
1. A method comprising: displaying a document that includes a script and a program, the program, comprising of a programming language and being executable to initiate an analysis that identifies a word in the document as a contextual keyword of the document, the script, comprising of a scripting language and being executable to highlight any contextual keywords identified in the document; by execution, at a client machine, of the program included within the document, initiating the analysis in response to the program sending a request to a server machine; by execution, at the client machine, of the program included within the document, performing the analysis by: determining an occurrence frequency of the word in the document; determining that the word is among a group of most frequently occurring words in the document, the group of most frequently occurring words having a predefined size; identifying an ad category with a highest probability of containing the word based on the word being among the group of most frequently occurring words in the document; comparing the word in the document with words contained in the ad category; and identifying the word in the document as the contextual keyword of the document that is being displayed; selecting an ad from a publication system and from a further ad category that includes the highest number of ads related to the contextual keyword of the document that is being displayed, the selecting of the ad being performed by a processor of the server machine; by execution of the script included within the document, highlighting the word identified as the contextual keyword of the document that is being displayed; detecting, at the client machine, a mouseover event over the word that is highlighted in the document that is being displayed; and displaying, at the client machine, the ad within a tooltip window over the document in response to the detecting of the mouseover event over the word highlighted in the document that is being displayed.

---

Claim 5:
5. The method of claim 1 , wherein: the identifying of the word in the document as the contextual keyword of the document is in response to a request made by an owner of the document.