9. A system for creating a flexible structure description, the system comprising: one or more electronic processors configured to: receive an image of a document of a particular document type that contains a table; receive an entry describing an item in the table; search for title elements based upon the entry; detect data fields and anchor elements for the entry; generate a flexible structure description for the particular document type that includes a set of search elements for each data field in the image of the document and the title elements; match the flexible structure description against the image; and extract data from the image based upon the matching of the flexible structure description against the image.
9. A system for creating a flexible structure description, the system comprising: one or more electronic processors configured to: receive an image of a document of a particular document type that contains a table; receive an entry describing an item in the table; search for title elements based upon the entry; detect data fields and anchor elements for the entry; generate a flexible structure description for the particular document type that includes a set of search elements for each data field in the image of the document and the title elements; match the flexible structure description against the image; and extract data from the image based upon the matching of the flexible structure description against the image. 14. The system of claim 9 , wherein to match the flexible structure description against the image comprises the one or more electronic processors are further configured to: match the title elements on each page of the document; remove the matched title elements from a search area of the document; and search the search area with the matched title elements removed for data fields.