摘要 |
PROBLEM TO BE SOLVED: To provide a structured data generation device capable of automatically transforming document data into structured data having a hierarchical structure without causing errors in the logical structure.SOLUTION: A structured data generation device comprises an extraction unit, a definition storage unit, a parent-child relation storage unit, an acquisition unit, a retrieval unit, a determination unit and a generation unit. The extraction unit analyzes document data and extracts document information and style information corresponding to the document information. The acquisition unit acquires logic information corresponding to the extracted style information from the definition storage unit. The retrieval unit retrieves a piece of logic information included in the range of a predetermined parent-child relation on the basis of output logic information specifying a logical structure in outputting document information positioned just before the extracted document information in the document data as structured data. The determination unit determines the piece of logic information retrieved by the retrieval unit as output logic information. The generation unit generates structured data by using the document information and the determined output logic information. |