1. A computer implemented method for correcting distortion in an image of a page with a content, the method comprising: identifying 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; identifying at least one distorted word in the image 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; generating a global transformation function for application to the image of the page so as to substantially transform a distorted word of said at least one distorted word to its corresponding high quality word; and applying the global transformation function to pixels of the image of the page.