Patent Document ID: 8965754
Application ID: 13682594

Base Claim:
1. A computer program product, the computer program product comprising: a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code, when executed by at least one processor of a computer, is configured to perform: dynamically generating an environment dictionary for a document that is being viewed based on information from one or more social networks associated with the user; and in response to receiving a portion of a word for the document, receiving a list of words for use in completing the portion of the word, wherein each word in the list of words has an associated weight; for at least one word in the list of words, obtaining an environment weight from the dynamically created environment dictionary; updating the associated weight of the at least one word using the obtained environment weight; and ordering the words in the list of words based on the updated, associated weight of each of the words.

---

Claim 4:
4. The computer program product of claim 1 , the computer readable program code, when executed by the at least one processor of the computer, is configured to perform: updating the environment dictionary based on new information collected from at least one of an environment of the user and the one or more social networks associated with the user.