8. A method for determining a logical structure of a document, the method comprising: acquiring an image of the document; identifying one or more blocks in the image of the document; generating at least two document hypotheses for the image of the document, wherein said generating includes referencing a plurality of document models, wherein each document model describes one or more possible logical structures, and wherein each document model includes information about blocks of said respective document model; after generating said at least two document hypotheses, generating at least one block hypothesis corresponding to at least one of said identified one or more blocks in the image of the document; for each document hypothesis, selecting programmatically as a best document hypothesis the document hypothesis that has a best degree of correspondence with one or more block hypotheses for the document; and forming a representation of the document based on the best document hypothesis.
8. A method for determining a logical structure of a document, the method comprising: acquiring an image of the document; identifying one or more blocks in the image of the document; generating at least two document hypotheses for the image of the document, wherein said generating includes referencing a plurality of document models, wherein each document model describes one or more possible logical structures, and wherein each document model includes information about blocks of said respective document model; after generating said at least two document hypotheses, generating at least one block hypothesis corresponding to at least one of said identified one or more blocks in the image of the document; for each document hypothesis, selecting programmatically as a best document hypothesis the document hypothesis that has a best degree of correspondence with one or more block hypotheses for the document; and forming a representation of the document based on the best document hypothesis. 13. The method of claim 8 , wherein the information about blocks of said respective model includes information about a possible arrangement of blocks in the respective model.