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.
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. 6. 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: receiving the list of words from an auto-completion process that generates the list of words as suggestions for completion of the portion of the word input by the user.