Patent ID: 7783976

Claim:
A computer-readable recording medium that stores therein a computer program for comparing documents, the computer program making a computer execute: specifying a key document that is used as a base for comparison, and a key page that is used as a base for comparison from among the pages of the key document; comparing a plurality of pages included in a document with the key page selected from among the pages of the key document including a plurality of pages page by page, to determine a closest page having a highest similarity to the key page from among the pages of the document and a degree of similarity between the document and the key document; arranging the key document by arranging thumbnails of pages of the key document in a row according to a page order; arranging the document by arranging thumbnails of pages of the document in a row parallel to the row of the thumbnails of the key document such that a thumbnail of the closest page, among the thumbnails of the pages of the document, is positioned closest to the key page; and outputting a result of arrangement of the key document and the document.