15. A data processing system comprising: a processor; a computer usable medium connected to processor, wherein the computer usable medium contains a set of instructions for correcting distortion in an image of a page with a content, wherein the processor is designed to carry out a set of instructions to: identify a set of high quality words including at least one high quality word in an undistorted region of one or more images of one or more pages having content related to the content of the page; identify at least one distorted word in the image of the page, each distorted word of said at least one distorted word corresponding to a high quality word from the set of high quality words; generate a global transformation function for application to the image of the page so as to transform a distorted word of said at least one distorted word to its corresponding high quality word; and apply the global transformation function to pixels of the image of the page.
16. A data processing system as claimed in claim 15 , wherein said at least one distorted word comprises at least two distorted words, and wherein the instructions to generate a global transformation function for application to the image of the page comprise instructions to: generate at least two local transformation functions, each local transformation function of said at least two local transformation functions applicable to a corresponding distorted word of said at least two distorted words so as to transform the corresponding distorted word to its corresponding high quality word; and fit a global function to said at least two local transformation functions.