摘要 |
PURPOSE:To provide a document processor which can efficiently match structure patterns. CONSTITUTION:A logical structure holding part 1 holds the logical structure of a document. A template holding part 2 holds the template of the document. The logical structure of the document held in the logical structure holding part 1 has structure based on the template held in the template holding part 2. A structure pattern holding part 3 holds the structure pattern which is matched. A structure pattern matching processing part 4 restricts a range where a retrieval processing is executed among the logical structures of the document, which are held in the logical structure holding part 1, based on the template of the document, which is held in the template holding part 2, and the structure pattern held in the structure pattern holding part 3. A part fitted to the structure pattern is retrieved within the restricted range and among the logical structures of the document. |