In the recognition of the drawing, a link pattern of a relatively large size which has not been assigned the attribute such as a text, character box, table, etc. is assigned an attribute of the drawing. [0189] A quality is analyzed in step S3 shown in FIG. 8.