Patent ID: 7149347

Claim:
A system for learning a document template for extracting data from documents, comprising: an optical character recognition module receiving an image representative of a document, the optical character recognition module creating a textual-based representation of a document from a graphical-based representation of a document; a document template associated with the document type for extracting data from documents of the document type, wherein the document template comprises one or more generalized descriptions for each of one or more data elements, wherein each of the one or more generalized descriptions comprises one or more contextual attributes, wherein each of the one or more contextual attributes comprises: a total number of words in a context; and one or more context words, each context word having one or more associated measurements; an inductive template generator that generalizes the document template based on one or more training documents utilizing machine learning; and a data extraction component utilizing the document template to identify one or more data elements in a source document.