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.