1. A method for providing context-based word prediction, comprising: parsing a document and obtaining one or more words contained in the document; creating a context-based data source for storing the one or more words obtained from the document; receiving a text input in the document; retrieving one or more words associated with the text input received in the document from the context-based data source; and displaying the one or more words retrieved from the context-based data source in the document and allowing selection of one of the one or more words displayed in the document for automatically completing the text input received in the document.