Patent ID: 8015203

Claim:
A non-transitory computer-readable medium including a logical-structure-model storing section that stores, in association with various documents, logical structure that indicates logical elements indicating respective plural character strings forming the documents and a relation among said logical elements, said computer-readable medium further including a program stored therein, the program to be executed by an electronic logic unit, to at least: store in a memory, as document data, character strings on an input document and association of said character strings on said document and a relation among logical elements stored in said logical-structure-model storing section; extract, with respect to a document image obtained by recognizing said input document, character strings therein that coincide with said logical elements stored in said logical-structure-model storing section; store said extracted character strings in said memory; extract a combination of character strings on said input document satisfying said relation among said logical elements stored in said logical-structure-model storing section; and store association of said character strings on said input document and said relation among said logical elements stored in said logical-structure-model storing section in said memory.