3. The method according to claim 1 , wherein evaluating a level of the block in the document structure on the basis of text features of the block among the plurality of blocks comprises: analyzing an association relationship on the basis of a predetermined rule so as to evaluate a probability score that a block among the plurality of blocks acts as a level in the document structure.
1. A method for generating a document structure, comprising: aligning various parts in the first version and the second version in at least one pair of historical versions among a plurality of historical versions of a document; dividing the first version and the second version into a plurality of blocks on the basis of a Levenshtein distance between the aligned parts in the first version and the second version; evaluating a level of the block in the document structure on the basis of text features of the block among the plurality of blocks; and generating the document structure on the basis of a position of the block according to an evaluation result.