Condensing a document for enhanced analysis and processing
AssigneeInternational Business Machines Corporation
InventorsDong Rui Li, Ye Chen, Zai Ming Lao, Xue Lan Zhang, Xue Xu, Wei U Wang
Life of this patent
Estimating the term…
Abstract
Disclosed embodiments provide techniques for creating a smaller version of an original document. An ontology is defined, and a document type for an original document is determined, based on the ontology. Multiple key-value pairs (KVPs) are extracted from the original document based on the document type. Pages in the original document that include one or more KVPs are identified, and the smaller, condensed version includes the identified pages from the original document.
Claims20
A computer-implemented method for document processing, comprising:
- determining a document type for a first document, based on an ontology associated with the first document, wherein the first document includes a plurality of pages;
- extracting a plurality of key-value pairs (KVPs) from the first document based on the determined document type;
- identifying an excerpt of the first document that contains a KVP of the plurality of KVPs;
- and
- creating a condensed document, wherein the condensed document includes the identified excerpt of the first document, and wherein the condensed document excludes at least one other excerpt of the first document that is not identified as containing a KVP of the plurality of KVPs.
An electronic computation device comprising:
- a processor;
- a memory coupled to the processor, the memory containing instructions, that when executed by the processor, cause the electronic computation device to:
- determine a document type for a first document, based on an ontology associated with the first document, wherein the first document includes a plurality of pages;
- extract a plurality of key-value pairs (KVPs) from the first document based on the determined document type;
- identify an excerpt of the first document that contains a KVP of the plurality of KVPs;
- and
- create a condensed document, wherein the condensed document includes the identified excerpt of the first document, and wherein the condensed document excludes at least one other excerpt of the first document that is not identified as containing a KVP of the plurality of KVPs.
A computer program product for an electronic computation device comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the electronic computation device to:
- determine a document type for a first document, based on an ontology associated with the first document, wherein the first document includes a plurality of pages;
- extract a plurality of key-value pairs (KVPs) from the first document based on the determined document type;
- identify an excerpt of the first document that contains a KVP of the plurality of KVPs;
- and
- create a condensed document, wherein the condensed document includes the identified excerpt of the first document, and wherein the condensed document excludes at least one other excerpt of the first document that is not identified as containing a KVP of the plurality of KVPs.
Dependencies are inferred from the claim text.