PROBLEM TO BE SOLVED: To accurately recognize, from the style of a business form, a logical relation between item names in the business form and a logical relation between an item name and an item value, even when a vertical enumeration, a horizontal enumeration, a composite type of vertical and horizontal enumerations, a vertical table, a horizontal table, an orthogonal table or a vertical table including a nest structure, and a horizontal orthogonal table are included in a nest structure.SOLUTION: A logical relation recognition device 10 acquires the logical relation of a vertical table, a horizontal table and an orthogonal table, and further excludes a mismatching table from the orthogonal table, the vertical table and the horizontal table. The logical relation recognition device 10 acquires a logical relation of enumeration type, and excludes a logical relation of enumeration type, if any, that includes the logical relation of a vertical table, a horizontal table and an orthogonal table. The logical relation recognition device 10 expresses the parent-child relation of one item name node and another as a contained graph, and generates a logical relation between item names leading to a vertical table, a horizontal table, an orthogonal table, a vertical enumeration and a horizontal enumeration, as tree structure data. Then the logical relation recognition device 10 combines the logical relation of the vertical table, the horizontal table and the orthogonal table and the logical relation of numeration type into the tree structure data.SELECTED DRAWING: Figure 6
展开▼