US20150026178A1 - Subject-matter analysis of tabular data - Google Patents
Subject-matter analysis of tabular data Download PDFInfo
- Publication number
- US20150026178A1 US20150026178A1 US14/090,230 US201314090230A US2015026178A1 US 20150026178 A1 US20150026178 A1 US 20150026178A1 US 201314090230 A US201314090230 A US 201314090230A US 2015026178 A1 US2015026178 A1 US 2015026178A1
- Authority
- US
- United States
- Prior art keywords
- functional
- document
- tabular data
- signatures
- subject
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G06F17/30386—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/285—Clustering or classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/3332—Query translation
- G06F16/3334—Selection or weighting of terms from queries, including natural language queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/93—Document management systems
-
- G06F17/30598—
-
- G06F17/30943—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
Definitions
- the present invention relates generally to a method for processing of documents. More particularly, the present invention relates to a method for subject-matter analysis of tabular data.
- Documents include information in many forms. For example, textual information arranged as sentences and paragraphs conveys information in a narrative form.
- a document can include tables for presenting financial information, organizational information, and generally, any data items that are related to one another through some relationship.
- Natural language processing is a technique that facilitates exchange of information between humans and data processing systems.
- one branch of NLP pertains to transforming a given content into a human-usable language or form.
- NLP can accept a document whose content is in a computer-specific language or form, and produce a document whose corresponding content is in a human-readable form.
- the illustrative embodiments provide a method for subject-matter analysis of tabular data.
- An embodiment receives a first document including the tabular data.
- the embodiment selects a library of functional signatures for a first subject-matter domain.
- the embodiment determines whether a threshold number of functional signatures from the selected library are applicable to the tabular data, wherein a functional signature is applicable to the tabular data when values in the tabular data correspond to an operation and a table structure specified in the functional signature.
- the embodiment processes, according to a process for the first subject matter domain selected from a plurality of processes for respective subject matter domains, using a processor and a memory, the first document responsive to the threshold number of functional signatures from the selected library being applicable to the tabular data.
- FIG. 1 depicts a pictorial representation of a network of data processing systems in which illustrative embodiments may be implemented
- FIG. 2 depicts a block diagram of a data processing system in which illustrative embodiments may be implemented
- FIG. 3 depicts an example of tabular data within which functional relationships and signatures can be identified in accordance with an illustrative embodiment
- FIG. 4 depicts an example representation of a functional signature in accordance with an illustrative embodiment
- FIG. 5 depicts a block diagram of an example operation of a functional signature in accordance with an illustrative embodiment
- FIG. 6 depicts a block diagram of an example manner of classifying documents with tabular data in accordance with an illustrative embodiment
- FIG. 7 depicts a flowchart of an example process of constructing a functional signature in accordance with an illustrative embodiment
- FIG. 8 depicts a flowchart of an example process of creating a signature library in accordance with an illustrative embodiment
- FIG. 9 depicts a flowchart of an example process for categorizing a document using functional signatures in accordance with an illustrative embodiment
- FIG. 10 depicts a flowchart of an example process of responding to queries using subject-matter analysis of tabular data in accordance with an illustrative embodiment
- FIG. 11 depicts a flowchart of an example process for creating or improving a knowledge repository in accordance with an illustrative embodiment.
- documents subjected to NLP commonly include tabular data, to wit, content in the form of one or more tabular data structures (tables).
- a cell of a table is a containing unit within a table, such that the contents of the cell can be uniquely identified by a row and column or other suitable coordinates of the table.
- the illustrative embodiments recognize that information presented within the cells of a table often relates to information in other cells of the same table, cells of a different table in the same document, or cells or a different table in a different document.
- the relationships between the information contained in different cells is important for understanding the meaning of the tabular data, and generally for understanding the meaning of the document as a whole.
- domains Many domain-specific documents, especially in financial, medical, and other subject-matter domains (domains), have critical information inside numerous tables.
- a user might, for example, want to know what was a municipality's operating income was, or what comprised the municipality's revenue. The information needed to answer such a question is frequently found only inside a table rather than in the narrative text of a financial document.
- the illustrative embodiments used to describe the invention generally address and solve the above-described problems and other problems related to the limitations of presently available NLP technology.
- the illustrative embodiments provide a method for subject-matter analysis of tabular data.
- a cell in a table can depend on other one or more cells in the table, cells across different tables in the given document, or cells across different tables in different documents.
- the dependency of one cell on another is functional in nature, to wit, dependent based on a function.
- the functions forming the bases of such functional dependencies can be, for example, any combination of mathematical, statistical, logical, or conditional functions that operate on certain cell-values to impart cell-values in certain other cells.
- a cell containing a total amount is functionally dependent upon, or related to, the cells whose values participate in the total amount.
- a statistical analysis result cell such as a cell containing a variance value in an experiment, can be functionally dependent on a set of other cells, perhaps in another table, where the outcomes of the various iterations of the experiment are recorded.
- Functional dependencies are indicative of relationships between the cells of one or more tables, and are highly configurable depending on the data in a table or document, purpose there for, and the meaning of the various cells.
- a cell can participate in any number of functional dependencies or relationships, both as a dependant cell and/or as a depended-on cell. Because information in a cell can relate to information available anywhere in a given document, a functional dependency of a cell can include depending on non-tabular data in a given document as well.
- the illustrative embodiments improve the understanding of the information presented in tabular form in a document by enabling an NLP tool to understand relationships of cells of tabular data.
- the illustrative embodiments provide a way of determining the functional dependencies of cells in a table on other cells, surrounding text of the table, contents in a document, or a combination thereof.
- the illustrative embodiments improve the understanding of tabular information, without relying exclusively on external knowledge sources.
- An illustrative embodiment determines whether a block of a given tabular data includes certain domain-specific functional relationships. In other words, an illustrative embodiment performs subject-matter analysis of tabular data to determine whether the information in the tabular data matches with a functional signature within a threshold measure of similarity.
- a functional signature (signature) is an expression of functional and semantic relationships between one or more cells in one or more portions of one or more tables, where document-specific information or table-specific information has been normalized to subject-matter domain specific references. Functional relationships between the cells include the functional dependencies that are discovered between those cells.
- Semantic relationships between cells include the similarities, dependencies, or organizational relationships between the semantic identifiers associated with the cells, e.g., the headers, markup clues, indentations, offsets, and the like.
- the examples of the functional relationships and semantic relationships included in a functional signature are not intended to be limiting on the illustrative embodiments. Those of ordinary skill in the art will be able to conceive other similarly purposed features of tabular data that can be used in a functional signature according to an embodiment, and the same are contemplated within the scope of the illustrative embodiments.
- the embodiment retrieves the information contained in that block by making inferences about the block's contents and/or by using a predefined template. For example, suppose an embodiment receives a query relative to a county's financial report document. Assume, for example, that the query asks for the composition of the county's revenue for fiscal year 2007. An embodiment looks for a block that has a functional signature, which uses an operator “SUM”, using row category type of “Revenue”, column category with value type of “Year”, and column value matching a desired value, e.g., “2007”.
- an embodiment improves answering queries and reasoning based on the subject-matter analysis of the tabular data of a document. For example, answering a certain class of questions requires insight into one or more portions of one or more tables. For example, consider questions such as, “What are the components of revenue?”, “What are the water system's top customers?”, or “Which product lines grew their revenue from 2010 to 2011?” In such questions, the subject-matter analysis of an embodiment infers knowledge from tabular data to determine, for example, which data cells are within the category ‘revenue/customer/product lines’, analyzes the functional relations between the cell values, and provides the answers to the quantitative portion of the question. The illustrative embodiments recognize that automated answering of such questions depends on automated detailed analysis of the table structure as pertains to a subject-matter domain.
- tabular data is useful in many other ways.
- documents in the same subject-matter domain such as annual financial statements, usually include similar information in tables, although the information may be presented, worded, or organized differently.
- tables are mostly ignored during NLP of documents.
- An embodiment enables classifying a document into proper subject-matter domains and sub-domains based on the analysis of subject-matter domain specific analysis of the tabular data contained therein. Because of the amount of information contained in tabular form, such analysis by an embodiment improves document classification.
- many financial documents in a given domain will contain a standard set of tables. For example, annual disclosures of a municipality or a utility would likely contain tables describing largest customers, debt service numbers, revenue and expenses, the balance sheet, etc. From one municipality and one document to another, these tables may be located in different parts of the document, be formatted differently and have somewhat different content. However, each of these will contain blocks with common functional signatures because these are dictated by similar guidelines and legal practices. For example, commonly used fiscal data is often calculated using similar guidelines. Accordingly, an embodiment concludes that at the functional level the blocks containing similar information will contain similar functional signatures. An embodiment can then determine the type of a given table region or portion simply by inspecting how the table's structure maps to a given domain's functional signatures (domain's signature library). The embodiment can then classify documents that have similar table types in a common category or classification.
- a query such as in the examples above, might be answered with information from multiple documents, and in those documents the tables can have significant structural differences.
- An embodiment using functional signatures, recognizes that the information presented in the documents is similar despite the differences in the organization. For example, for an given example set of financial reports from various companies, if the query were “which Chicago-area companies had earnings growth above twenty percent in 2009?”. The various companies may format their earnings reports differently, yet an embodiment enables finding the equivalent information in various documents regardless of the variations in structure or formatting of that information.
- an embodiment enables an analysis of tabular information by casting the information from a document-layout representation to a functional and semantic representation, exploiting the fact that similarly purposed documents are conventionally obligated to convey similar key pieces of information.
- an embodiment goes beyond the basic task of finding and extracting facts from individual tables, and allows for assimilating information, answering queries, and categorizing documents, in a manner not possible by merely parsing tabular data.
- an embodiment automatically detects common table types, blocks with similar functional signatures (functional blocks), and reasoning or logic behind the structure of the tabular data.
- a domain expert can review, approve, or modify these automated findings.
- an embodiment uses these findings to populate or enrich domain-specific knowledge repositories, such as named entity lists, ontologies, and lexicons.
- domain-specific knowledge repositories such as named entity lists, ontologies, and lexicons.
- Such structured knowledge can aid in reliably extracting functional relationships in new documents, new functional relationships, or to confirm hypotheses about the relations between category headings.
- Such structured knowledge can also aid other processes, such as document classifications, translations, or NLP, by providing a richer, more precise, and more complete repository for such usages.
- the illustrative embodiments may be implemented with respect to any type of data, data source, or access to a data source over a data network.
- Any type of data storage device may provide the data to an embodiment of the invention, either locally at a data processing system or over a data network, within the scope of the invention.
- the illustrative embodiments are described using specific code, designs, architectures, protocols, layouts, schematics, and tools only as examples and are not limiting to the illustrative embodiments. Furthermore, the illustrative embodiments are described in some instances using particular software, tools, and data processing environments only as an example for the clarity of the description. The illustrative embodiments may be used in conjunction with other comparable or similarly purposed structures, systems, applications, or architectures. An illustrative embodiment may be implemented in hardware, software, or a combination thereof.
- FIGS. 1 and 2 are example diagrams of data processing environments in which illustrative embodiments may be implemented.
- FIGS. 1 and 2 are only examples and are not intended to assert or imply any limitation with regard to the environments in which different embodiments may be implemented.
- a particular implementation may make many modifications to the depicted environments based on the following description.
- FIG. 1 depicts a pictorial representation of a network of data processing systems in which illustrative embodiments may be implemented.
- Data processing environment 100 is a network of computers in which the illustrative embodiments may be implemented.
- Data processing environment 100 includes network 102 .
- Network 102 is the medium used to provide communications links between various devices and computers connected together within data processing environment 100 .
- Network 102 may include connections, such as wire, wireless communication links, or fiber optic cables.
- Server 104 and server 106 couple to network 102 along with storage unit 108 .
- Software applications may execute on any computer in data processing environment 100 .
- clients 110 , 112 , and 114 couple to network 102 .
- a data processing system such as server 104 or 106 , or client 110 , 112 , or 114 may contain data and may have software applications or software tools executing thereon.
- FIG. 1 depicts certain components that are usable in an example implementation of an embodiment.
- Application 105 in server 104 is an implementation of an embodiment described herein.
- Application 105 operates in conjunction with NLP engine 103 .
- NLP engine 103 may be, for example, an existing application capable of performing natural language processing on documents, and may be modified or configured to operate in conjunction with application 105 to perform an operation according to an embodiment described herein.
- Storage 108 includes domain-specific knowledge repositories, signature libraries, or a combination thereof, 109 according to an embodiment.
- Client 112 includes document with tabular data 113 that is processed according to an embodiment.
- Servers 104 and 106 , storage unit 108 , and clients 110 , 112 , and 114 may couple to network 102 using wired connections, wireless communication protocols, or other suitable data connectivity.
- Clients 110 , 112 , and 114 may be, for example, personal computers or network computers.
- server 104 may provide data, such as boot files, operating system images, and applications to clients 110 , 112 , and 114 .
- Clients 110 , 112 , and 114 may be clients to server 104 in this example.
- Clients 110 , 112 , 114 , or some combination thereof, may include their own data, boot files, operating system images, and applications.
- Data processing environment 100 may include additional servers, clients, and other devices that are not shown.
- data processing environment 100 may be the Internet.
- Network 102 may represent a collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol (TCP/IP) and other protocols to communicate with one another.
- TCP/IP Transmission Control Protocol/Internet Protocol
- At the heart of the Internet is a backbone of data communication links between major nodes or host computers, including thousands of commercial, governmental, educational, and other computer systems that route data and messages.
- data processing environment 100 also may be implemented as a number of different types of networks, such as for example, an intranet, a local area network (LAN), or a wide area network (WAN).
- FIG. 1 is intended as an example, and not as an architectural limitation for the different illustrative embodiments.
- data processing environment 100 may be used for implementing a client-server environment in which the illustrative embodiments may be implemented.
- a client-server environment enables software applications and data to be distributed across a network such that an application functions by using the interactivity between a client data processing system and a server data processing system.
- Data processing environment 100 may also employ a service oriented architecture where interoperable software components distributed across a network may be packaged together as coherent business applications.
- Data processing system 200 is an example of a computer, such as server 104 or client 112 in FIG. 1 , or another type of device in which computer usable program code or instructions implementing the processes may be located for the illustrative embodiments.
- data processing system 200 employs a hub architecture including North Bridge and memory controller hub (NB/MCH) 202 and South Bridge and input/output (I/O) controller hub (SB/ICH) 204 .
- Processing unit 206 , main memory 208 , and graphics processor 210 are coupled to North Bridge and memory controller hub (NB/MCH) 202 .
- Processing unit 206 may contain one or more processors and may be implemented using one or more heterogeneous processor systems.
- Processing unit 206 may be a multi-core processor.
- Graphics processor 210 may be coupled to NB/MCH 202 through an accelerated graphics port (AGP) in certain implementations.
- AGP accelerated graphics port
- local area network (LAN) adapter 212 is coupled to South Bridge and I/O controller hub (SB/ICH) 204 .
- Audio adapter 216 , keyboard and mouse adapter 220 , modem 222 , read only memory (ROM) 224 , universal serial bus (USB) and other ports 232 , and PCI/PCIe devices 234 are coupled to South Bridge and I/O controller hub 204 through bus 238 .
- Hard disk drive (HDD) 226 and CD-ROM 230 are coupled to South Bridge and I/O controller hub 204 through bus 240 .
- PCI/PCIe devices 234 may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers.
- PCI uses a card bus controller, while PCIe does not.
- ROM 224 may be, for example, a flash binary input/output system (BIOS).
- Hard disk drive 226 and CD-ROM 230 may use, for example, an integrated drive electronics (IDE) or serial advanced technology attachment (SATA) interface.
- IDE integrated drive electronics
- SATA serial advanced technology attachment
- a super I/O (SIO) device 236 may be coupled to South Bridge and I/O controller hub (SB/ICH) 204 through bus 238 .
- SB/ICH South Bridge and I/O controller hub
- main memory 208 main memory 208
- ROM 224 flash memory (not shown)
- flash memory not shown
- Hard disk drive 226 CD-ROM 230
- other similarly usable devices are some examples of computer usable storage devices including computer usable storage medium.
- An operating system runs on processing unit 206 .
- the operating system coordinates and provides control of various components within data processing system 200 in FIG. 2 .
- the operating system may be a commercially available operating system such as AIX® (AIX is a trademark of International Business Machines Corporation in the United States and other countries), Microsoft® Windows® (Microsoft and Windows are trademarks of Microsoft Corporation in the United States and other countries), or Linux® (Linux is a trademark of Linus Torvalds in the United States and other countries).
- An object oriented programming system such as the JavaTM programming system, may run in conjunction with the operating system and provides calls to the operating system from JavaTM programs or applications executing on data processing system 200 (Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle Corporation and/or its affiliates).
- Instructions for the operating system, the object-oriented programming system, and applications, logic, or programs, such as application 105 and repositories and signatures 109 in FIG. 1 are located on at least one of one or more storage devices, such as hard disk drive 226 , and may be loaded into at least one of one or more memories, such as main memory 208 , for execution by processing unit 206 .
- the processes of the illustrative embodiments may be performed by processing unit 206 using computer implemented instructions, which may be located in a memory, such as, for example, main memory 208 , read only memory 224 , or in one or more peripheral devices.
- FIGS. 1-2 may vary depending on the implementation.
- Other internal hardware or peripheral devices such as flash memory, equivalent non-volatile memory, or optical disk drives and the like, may be used in addition to or in place of the hardware depicted in FIGS. 1-2 .
- the processes of the illustrative embodiments may be applied to a multiprocessor data processing system.
- data processing system 200 may be a personal digital assistant (PDA), which is generally configured with flash memory to provide non-volatile memory for storing operating system files and/or user-generated data.
- PDA personal digital assistant
- a bus system may comprise one or more buses, such as a system bus, an I/O bus, and a PCI bus.
- the bus system may be implemented using any type of communications fabric or architecture that provides for a transfer of data between different components or devices attached to the fabric or architecture.
- a communications unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter.
- a memory may be, for example, main memory 208 or a cache, such as the cache found in North Bridge and memory controller hub 202 .
- a processing unit may include one or more processors or CPUs.
- data processing system 200 also may be a tablet computer, laptop computer, or telephone device in addition to taking the form of a PDA.
- Table 300 is an example of tabular data appearing in document 113 in FIG. 1 within which functional dependencies can be determined using application 105 in FIG. 1 .
- the horizontal or vertical rule-lines are depicted for bounding a table and cell only as an example without implying a limitation thereto.
- a table or tabular data can be expressed in any suitable manner, and a cell can be demarcated in any manner within the scope of the illustrative embodiments.
- indentation, spacing between cell data, different spacing in tabular and non-tabular content, symbols, graphics, a specific view or perspective to illustrate tabular data, or a combination of these and other example manner of expressing tabular data and cells therein are contemplated within the scope of the illustrative embodiments.
- Table 302 is a portion of table 300 and includes several headers that serve to organize the data in the various cells into headings, categories, or classifications (categories).
- the headers can be row-headers or column headers.
- the headers are not limited to the table boundaries or extremities within the scope of the illustrative embodiments.
- a header can be embedded within a table, between cells, such as in the form of a sub-header, for example, to identify a sub-category of tabular data.
- Such sub-row or sub-column headers are contemplated within the scope of the illustrative embodiments.
- certain header information can be specified separately from the corresponding tabular data, such as in a footnote, appendix, another table, or another location in a given document.
- header 304 identifies a group of columns, which include data for the broad category of “fiscal year ended January 31.”
- Headers 306 , 308 , and 310 identify sub-categories of the “fiscal year ended January 31” data, to wit, by year, for three example years.
- Row headers 312 include some clues.
- row header 314 is a “total” and is indented under row headers 316 and 318 .
- row header 320 is another “total” and is indented under row header 322 .
- the indentations at row headers 314 and 320 are example clues that are useful in understanding the functional relationships between cells in the same row as row headers 314 and 320 , and other cells in table 302 .
- the word “total” in row headers 314 and 320 are another example of the clues usable for determining functional dependencies of cells in their corresponding rows in a similar manner.
- Header 354 identifies a group of columns, which include data for the broad category of “Change.” Headers 356 and 358 identify sub-categories of the “change” data, to wit, by comparing two consecutive years, from the three example years of categories 306 , 308 , and 310 .
- Row headers 312 impart different meanings to the cells in their corresponding rows in tables 302 and 352 .
- the “total” according to row header 314 implies a dollar amount of income in the corresponding cells in table 302
- the same row header implies a dollar amount change and a percentage change in the corresponding cells in table 352 .
- the clues in one location such as in row headers 312
- FIG. 4 this figure depicts an example representation of a functional signature in accordance with an illustrative embodiment.
- Functional signature (signature) 402 can be applied to a block of tabular data in table 302 in FIG. 3 .
- signature 402 indicates that a table cell that might contain information about “operating revenue” or some domain-specific equivalent thereof, should be a column summation of values of the cells in a range of rows in that column, where the cells are identified by one or more of a domain-specific list of topics, one or more of a domain-specific list of categories, or a combination thereof.
- the operating revenues can generally be found in tabular data under certain topics.
- An example list of topics in signature 402 includes the terms “Operating Revenues” and “Fiscal Year Ended ⁇ date>.”
- data pertaining to the various components of the operating revenue can be found categorized as “revenue” for certain “year”.
- An example list of categories in signature 402 includes the terms “revenue” and “ ⁇ year>.”
- signature 404 indicates that the operating revenues can generally be found under an example list of topics that include the terms “Operating Revenues”, including the “Non-Operating Income”, and “Fiscal Year Ended ⁇ date>.”
- data pertaining to the various components of the operating revenue can be found categorized as “revenue” for certain “year”.
- An example list of categories in signature 402 includes the terms “revenue” and “ ⁇ year>.”
- signature 406 indicates that the operating revenues can generally be found under an example list of topics that include the terms “Operating Revenues”, regardless of any specific date or year.
- a functional signature can use any arithmetic, statistical, or another type of computation over two or more cells of a given set of tabular data, over one or more row-ranges, column-ranges, or a combination thereof.
- a functional signature can use any number of lists of any lengths from any subject matter domain in such computations without limitations.
- tabular data pertaining to scientific experimentation may include times, iterations, constraints, and the likes in the topic lists or categories lists.
- tabular data pertaining to geological surveys may includes locations, depths, strata layer names, quantities, and the likes in the topic lists or categories lists.
- Block 502 is an example block of tabular data from example table 302 in FIG. 3 on which example signature 402 of FIG. 4 operates.
- Each domain can correspond to one or more libraries of previously determined signatures that are unique to a domain or shared across more than one domain.
- Each signature describes the pattern and a meaning of data inside functional block.
- application 105 identifies a type of the various parts of a given block and ways of referring to those parts of the block.
- Application 105 of FIG. 1 discovers block 502 in table 302 .
- Application 105 determines that signature 402 applies to cell 522 (“total operating revenues”) for the cell-range that includes cells 524 and 526 , because cells 524 and 526 include values under topics 304 (“fiscal year ended January 31”) and 314 (“[Total] operating revenues”), and categories 317 (“Revenues[ ]”) and 306 (“2009”).
- total operating revenues for the cell-range that includes cells 524 and 526
- categories 317 (“Revenues[ ]”
- Table 302 is a financial table, and this tabular information in the example document pertains to revenues or some variation thereof.
- application 105 of FIG. 1 can similarly compare discovered functional/semantic block 502 with any number of signatures in a set of known signatures for the subject-matter domain of table 302 .
- this figure depicts a block diagram of an example manner of classifying documents with tabular data in accordance with an illustrative embodiment.
- Table 604 is similar to table 302 in FIG. 3 .
- Application 105 of FIG. 1 receives tables 602 , 604 , and 606 in different documents. In the manner described with respect to FIGS. 4 and 5 , application 105 identifies blocks 612 , 614 , and 616 in tables 602 , 604 , and 606 , respectively, as functional blocks.
- application 105 determines that cells 622 , 624 , and 626 in tables 602 , 604 , and 606 , respectively, contain operating revenue information, even though that operating revenue information is presented differently in those tables, and includes different components. Accordingly, application 105 determines signature 402 applies to blocks 612 , 614 , and 616 due to the patterns and reasoning relative to cells 622 , 624 , and 626 . Application 105 further determines that because signature 402 applies to tables 602 , 604 , and 606 , the documents where these tables are included are financial reports and discuss revenues or some variation thereof.
- FIG. 7 depicts a flowchart of an example process of constructing a functional signature in accordance with an illustrative embodiment.
- Process 700 can be implemented in application 105 in FIG. 1 .
- Process 700 selects a portion of tabular data in a given document (step 702 ). For example, process 700 selects block 502 in FIG. 5 from table 302 in FIG. 3 .
- Process 700 analyzes the one or more functional relationships in the selected portion (step 704 ). Process 700 selects a functional relationship from the one or more functional relationships (step 706 ).
- Process 700 converts table-specific information in the functional relationship to normalized domain references (step 708 ). For example, process 700 replaces document-specific terms and terminology used in the tabular data with generalized equivalent terms that are either commonly understood or are recognized in the domain to which the document belongs.
- process 700 may exit at exit point marked “A” and re-enter at entry point marked “B” after step 708 . The exit and the re-entry are to and from process 1100 in FIG. 11 .
- Process 700 represents the functional relationship with normalized domain references, forming a functional signature (step 710 ).
- a functional signature is represented in the form of a multi-dimensional vector where the normalized domain references are the vector attributes.
- Process 700 saves the functional signature for the document's domain, such as in a signature library corresponding to the domain, or a collection of signatures corresponding to the document (step 712 ). Process 700 may end thereafter, or return to step 706 to select another functional relationship and perform another iteration.
- FIG. 8 this figure depicts a flowchart of an example process of creating a signature library in accordance with an illustrative embodiment.
- Process 800 can be implemented in application 105 in FIG. 1 .
- Process 800 begins by receiving, retrieving, or otherwise accessing different collections of functional signatures corresponding to different documents in a given subject-matter domain (step 802 ).
- Process 800 clusters those signatures together that are similar to one-another within a threshold measure of similarity across the different collections (step 804 ).
- Process 800 adds the cluster of signatures to a library of generic functional signatures for the subject-matter domain (step 806 ).
- Process 800 optionally discards the remaining signatures in the collections for being document-specific and not generically applicable to the subject-matter domain (step 808 ).
- Process 800 ends thereafter.
- FIG. 9 depicts a flowchart of an example process for categorizing a document using functional signatures in accordance with an illustrative embodiment.
- Process 900 can be implemented in application 105 in FIG. 1 .
- Process 900 begins by receiving a document that includes tabular data (step 902 ).
- Process 900 selects a library of signatures for a subject-matter domain (step 904 ).
- the selecting of a library can be arbitrary, heuristics based, based on external information about the document, based on partial analysis of the document's contents, or by any other method of selection.
- Process 900 determines whether a threshold number of signatures in the library are applicable to the document within a threshold measure of applicability (step 906 ). If a threshold number of signatures in the library are not applicable to the document within a threshold measure of applicability (“No” path of step 906 ), process 900 determines that an incorrect signature library was selected, and returns to step 904 for selecting another signature library (step 906 ). Note that step 906 is only depicted for the clarity of process 900 , and is only an example manner of determining whether the document can be categorized in a particular subject-matter domain.
- step 906 can be a stand-alone categorization process (not shown) to which control is passed from process 900 and which returns the control back to process 900 in the manner shown.
- a categorization process can use the example manner of categorization as shown in step 906 , other suitable method for categorizing the document using the selected signature library, or a combination of more than one methods for categorization of the document.
- process 900 categorizes the document as belonging to the subject-matter domain corresponding to the selected signature library (step 908 ). Process 900 ends thereafter.
- FIG. 10 depicts a flowchart of an example process of responding to queries using subject-matter analysis of tabular data in accordance with an illustrative embodiment.
- Process 1000 can be implemented in application 105 in FIG. 1 .
- Process 1000 begins by selecting a document with tabular data, the document belonging to a known subject-matter domain (step 1002 ).
- Process 1000 receives a query for the document (step 1004 ).
- Process 1000 parses the query according to domain-specific NLP resources, e.g., an ontology, used for or generated by the library of signatures for the subject-matter domain of the document (step 1006 ).
- domain-specific NLP resources e.g., an ontology
- Process 1000 selects a best-fit signature for the query (step 1008 ).
- Process 1000 extracts data from the tabular data portion where the selection signature applies (step 1010 ).
- Process 1000 composes a response to the query using the extracted data, such as by passing the data to a NLP engine (step 1012 ).
- Process 1000 sends the response, or causes the response to be sent (step 1014 ).
- Process 1000 ends thereafter.
- FIG. 11 depicts a flowchart of an example process for creating or improving a knowledge repository in accordance with an illustrative embodiment.
- Process 1100 can be implemented in application 105 in FIG. 1 .
- Process 1100 begins or enters from entry point “A”.
- Process 1100 adds table-specific information and the matching normalized domain references to a knowledge repository, such as an ontology, for the subject-matter domain in question (step 1102 ).
- Process 1100 ends or exits at exit point “B” thereafter.
- the table specific information and the matching normalized domain references are available at step 708 in process 700 in FIG. 7 , and are used in step 1102 .
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- a computer implemented method is provided in the illustrative embodiments for subject-matter analysis of tabular data.
- An embodiment discovers functional blocks in a table. The embodiment combines them with the table's layout and semantic analysis to identify functional signatures. The embodiment uses the functional signatures for information extraction from the tabular data.
- An embodiment performs a classification operation on an initial set of documents from a specific domain. This operation finds a set of functional signatures that are pertinent to the documents in this domain. Optionally, a human expert can review the automated findings of an embodiment and select or modify signatures that should be used in this domain.
- An embodiment includes a trained classifier on a corpus of documents to extract document-specific information, match such information to normalized domain references, and populate domain-related knowledge resources, such as named entity lists and ontologies.
- an embodiment can be tuned for selective extraction of information such that only certain parts of the tabular data can be identified and extracted for other processing, such as indexing.
- An embodiment can be adapted to index documents by signatures. Given a query, such an embodiment allows navigating to the correct document or table in a large collection.
- aspects of the present invention may be embodied as a system, method, or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable storage device(s) or computer readable media having computer readable program code embodied thereon.
- the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
- a computer readable storage device may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
- a computer readable storage device may be any tangible device or medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer readable storage device or computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- LAN local area network
- WAN wide area network
- Internet Service Provider for example, AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
- These computer program instructions may also be stored in one or more computer readable storage devices or computer readable media that can direct one or more computers, one or more other programmable data processing apparatuses, or one or more other devices to function in a particular manner, such that the instructions stored in the one or more computer readable storage devices or computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer program instructions may also be loaded onto one or more computers, one or more other programmable data processing apparatuses, or one or more other devices to cause a series of operational steps to be performed on the one or more computers, one or more other programmable data processing apparatuses, or one or more other devices to produce a computer implemented process such that the instructions which execute on the one or more computers, one or more other programmable data processing apparatuses, or one or more other devices provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A method for subject-matter analysis of tabular data is provided in the illustrative embodiments. A first document including the tabular data is received. A library of functional signatures for a first subject-matter domain is selected. A determination is made whether a threshold number of functional signatures from the selected library are applicable to the tabular data, wherein a functional signature is applicable to the tabular data when values in the tabular data correspond to an operation and a table structure specified in the functional signature. Responsive to the threshold number of functional signatures from the selected library being applicable to the tabular data, a processor and a memory process the first document according to a process for the first subject matter domain selected from a plurality of processes for respective subject matter domains.
Description
- The present application is a continuation application of, and claims priority to, a U.S. patent application of the same title, Ser. No. 13/945,259, Attorney Docket No. AUS920130104US1, which was filed on Jul. 18, 2013, assigned to the same assignee, and incorporated herein by reference in its entirety.
- 1. Technical Field
- The present invention relates generally to a method for processing of documents. More particularly, the present invention relates to a method for subject-matter analysis of tabular data.
- 2. Description of the Related Art
- Documents include information in many forms. For example, textual information arranged as sentences and paragraphs conveys information in a narrative form.
- Some types of information are presented in a tabular organization. For example, a document can include tables for presenting financial information, organizational information, and generally, any data items that are related to one another through some relationship.
- Natural language processing (NLP) is a technique that facilitates exchange of information between humans and data processing systems. For example, one branch of NLP pertains to transforming a given content into a human-usable language or form. For example, NLP can accept a document whose content is in a computer-specific language or form, and produce a document whose corresponding content is in a human-readable form.
- The illustrative embodiments provide a method for subject-matter analysis of tabular data. An embodiment receives a first document including the tabular data. The embodiment selects a library of functional signatures for a first subject-matter domain. The embodiment determines whether a threshold number of functional signatures from the selected library are applicable to the tabular data, wherein a functional signature is applicable to the tabular data when values in the tabular data correspond to an operation and a table structure specified in the functional signature. The embodiment processes, according to a process for the first subject matter domain selected from a plurality of processes for respective subject matter domains, using a processor and a memory, the first document responsive to the threshold number of functional signatures from the selected library being applicable to the tabular data.
- The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of the illustrative embodiments when read in conjunction with the accompanying drawings, wherein:
-
FIG. 1 depicts a pictorial representation of a network of data processing systems in which illustrative embodiments may be implemented; -
FIG. 2 depicts a block diagram of a data processing system in which illustrative embodiments may be implemented; -
FIG. 3 depicts an example of tabular data within which functional relationships and signatures can be identified in accordance with an illustrative embodiment; -
FIG. 4 depicts an example representation of a functional signature in accordance with an illustrative embodiment; -
FIG. 5 depicts a block diagram of an example operation of a functional signature in accordance with an illustrative embodiment; -
FIG. 6 depicts a block diagram of an example manner of classifying documents with tabular data in accordance with an illustrative embodiment; -
FIG. 7 depicts a flowchart of an example process of constructing a functional signature in accordance with an illustrative embodiment; -
FIG. 8 depicts a flowchart of an example process of creating a signature library in accordance with an illustrative embodiment; -
FIG. 9 depicts a flowchart of an example process for categorizing a document using functional signatures in accordance with an illustrative embodiment; -
FIG. 10 depicts a flowchart of an example process of responding to queries using subject-matter analysis of tabular data in accordance with an illustrative embodiment; and -
FIG. 11 depicts a flowchart of an example process for creating or improving a knowledge repository in accordance with an illustrative embodiment. - The illustrative embodiments recognize that documents subjected to NLP commonly include tabular data, to wit, content in the form of one or more tabular data structures (tables). A cell of a table is a containing unit within a table, such that the contents of the cell can be uniquely identified by a row and column or other suitable coordinates of the table.
- The illustrative embodiments recognize that information presented within the cells of a table often relates to information in other cells of the same table, cells of a different table in the same document, or cells or a different table in a different document. The relationships between the information contained in different cells is important for understanding the meaning of the tabular data, and generally for understanding the meaning of the document as a whole.
- Many domain-specific documents, especially in financial, medical, and other subject-matter domains (domains), have critical information inside numerous tables. A user might, for example, want to know what was a municipality's operating income was, or what comprised the municipality's revenue. The information needed to answer such a question is frequently found only inside a table rather than in the narrative text of a financial document.
- Recovering information from within tables has been historically a difficult problem. The illustrative embodiments recognize that specialized processing or handling is needed in NLP for interpreting the tabular data correctly and completely. Presently available technology for understanding the relationship between cell-values is limited to heuristically guessing a label for a cell using the row or column titles.
- The illustrative embodiments used to describe the invention generally address and solve the above-described problems and other problems related to the limitations of presently available NLP technology. The illustrative embodiments provide a method for subject-matter analysis of tabular data.
- The illustrative embodiments recognize that a cell in a table can depend on other one or more cells in the table, cells across different tables in the given document, or cells across different tables in different documents. The dependency of one cell on another is functional in nature, to wit, dependent based on a function. The functions forming the bases of such functional dependencies (also referred to as functional relationships or functional relations) can be, for example, any combination of mathematical, statistical, logical, or conditional functions that operate on certain cell-values to impart cell-values in certain other cells.
- As an example, a cell containing a total amount is functionally dependent upon, or related to, the cells whose values participate in the total amount. As another example, a statistical analysis result cell, such as a cell containing a variance value in an experiment, can be functionally dependent on a set of other cells, perhaps in another table, where the outcomes of the various iterations of the experiment are recorded.
- These examples are not intended to be limiting on the illustrative embodiments. Functional dependencies are indicative of relationships between the cells of one or more tables, and are highly configurable depending on the data in a table or document, purpose there for, and the meaning of the various cells.
- Furthermore, a cell can participate in any number of functional dependencies or relationships, both as a dependant cell and/or as a depended-on cell. Because information in a cell can relate to information available anywhere in a given document, a functional dependency of a cell can include depending on non-tabular data in a given document as well.
- The illustrative embodiments improve the understanding of the information presented in tabular form in a document by enabling an NLP tool to understand relationships of cells of tabular data. The illustrative embodiments provide a way of determining the functional dependencies of cells in a table on other cells, surrounding text of the table, contents in a document, or a combination thereof. By using quantitative analysis of functional relations between the table cells, combined with linguistic and/or semantic analysis of the cells within the tables, the illustrative embodiments improve the understanding of tabular information, without relying exclusively on external knowledge sources.
- An illustrative embodiment determines whether a block of a given tabular data includes certain domain-specific functional relationships. In other words, an illustrative embodiment performs subject-matter analysis of tabular data to determine whether the information in the tabular data matches with a functional signature within a threshold measure of similarity. A functional signature (signature) is an expression of functional and semantic relationships between one or more cells in one or more portions of one or more tables, where document-specific information or table-specific information has been normalized to subject-matter domain specific references. Functional relationships between the cells include the functional dependencies that are discovered between those cells. Semantic relationships between cells include the similarities, dependencies, or organizational relationships between the semantic identifiers associated with the cells, e.g., the headers, markup clues, indentations, offsets, and the like. The examples of the functional relationships and semantic relationships included in a functional signature are not intended to be limiting on the illustrative embodiments. Those of ordinary skill in the art will be able to conceive other similarly purposed features of tabular data that can be used in a functional signature according to an embodiment, and the same are contemplated within the scope of the illustrative embodiments.
- If the illustrative embodiments finds such a block, the embodiment retrieves the information contained in that block by making inferences about the block's contents and/or by using a predefined template. For example, suppose an embodiment receives a query relative to a county's financial report document. Assume, for example, that the query asks for the composition of the county's revenue for
fiscal year 2007. An embodiment looks for a block that has a functional signature, which uses an operator “SUM”, using row category type of “Revenue”, column category with value type of “Year”, and column value matching a desired value, e.g., “2007”. - Note that information, such as revenue categories, need not be ‘flat’ in a block, and there may exist some intermediate calculations within the block. This complication makes answering the above question a very difficult problem to solve with the presently available technology. Presently available table extraction technology looks for components of revenue, and therefore, would likely return a noisy and imprecise answer. In contrast, the query receives a precise answer owing to an embodiment's ability to discover structural and semantic macro-level knowledge from the given tabular data. Furthermore, an embodiment also makes many different types of queries possible. For example, an embodiment can precisely answer a query that asks for all sources of revenue. Another embodiment can precisely answer a query that asks for just the raw components of revenue.
- As another example, an embodiment improves answering queries and reasoning based on the subject-matter analysis of the tabular data of a document. For example, answering a certain class of questions requires insight into one or more portions of one or more tables. For example, consider questions such as, “What are the components of revenue?”, “What are the water system's top customers?”, or “Which product lines grew their revenue from 2010 to 2011?” In such questions, the subject-matter analysis of an embodiment infers knowledge from tabular data to determine, for example, which data cells are within the category ‘revenue/customer/product lines’, analyzes the functional relations between the cell values, and provides the answers to the quantitative portion of the question. The illustrative embodiments recognize that automated answering of such questions depends on automated detailed analysis of the table structure as pertains to a subject-matter domain.
- The improved understanding of tabular data according to an illustrative embodiment is useful in many other ways. For example, documents in the same subject-matter domain, such as annual financial statements, usually include similar information in tables, although the information may be presented, worded, or organized differently. Presently, tables are mostly ignored during NLP of documents. An embodiment enables classifying a document into proper subject-matter domains and sub-domains based on the analysis of subject-matter domain specific analysis of the tabular data contained therein. Because of the amount of information contained in tabular form, such analysis by an embodiment improves document classification.
- For example, many financial documents in a given domain will contain a standard set of tables. For example, annual disclosures of a municipality or a utility would likely contain tables describing largest customers, debt service numbers, revenue and expenses, the balance sheet, etc. From one municipality and one document to another, these tables may be located in different parts of the document, be formatted differently and have somewhat different content. However, each of these will contain blocks with common functional signatures because these are dictated by similar guidelines and legal practices. For example, commonly used fiscal data is often calculated using similar guidelines. Accordingly, an embodiment concludes that at the functional level the blocks containing similar information will contain similar functional signatures. An embodiment can then determine the type of a given table region or portion simply by inspecting how the table's structure maps to a given domain's functional signatures (domain's signature library). The embodiment can then classify documents that have similar table types in a common category or classification.
- A query, such as in the examples above, might be answered with information from multiple documents, and in those documents the tables can have significant structural differences. An embodiment, using functional signatures, recognizes that the information presented in the documents is similar despite the differences in the organization. For example, for an given example set of financial reports from various companies, if the query were “which Chicago-area companies had earnings growth above twenty percent in 2009?”. The various companies may format their earnings reports differently, yet an embodiment enables finding the equivalent information in various documents regardless of the variations in structure or formatting of that information. Essentially, an embodiment enables an analysis of tabular information by casting the information from a document-layout representation to a functional and semantic representation, exploiting the fact that similarly purposed documents are conventionally obligated to convey similar key pieces of information.
- Thus, an embodiment goes beyond the basic task of finding and extracting facts from individual tables, and allows for assimilating information, answering queries, and categorizing documents, in a manner not possible by merely parsing tabular data. In a given set of documents, an embodiment automatically detects common table types, blocks with similar functional signatures (functional blocks), and reasoning or logic behind the structure of the tabular data. Optionally, a domain expert can review, approve, or modify these automated findings.
- As another example of the usefulness of the illustrative embodiments, an embodiment uses these findings to populate or enrich domain-specific knowledge repositories, such as named entity lists, ontologies, and lexicons. Such structured knowledge can aid in reliably extracting functional relationships in new documents, new functional relationships, or to confirm hypotheses about the relations between category headings. Such structured knowledge can also aid other processes, such as document classifications, translations, or NLP, by providing a richer, more precise, and more complete repository for such usages.
- The illustrative embodiments are described with respect to certain documents and tabular data only as examples. Such documents, tabular data, or their example attributes are not intended to be limiting to the invention.
- Furthermore, the illustrative embodiments may be implemented with respect to any type of data, data source, or access to a data source over a data network. Any type of data storage device may provide the data to an embodiment of the invention, either locally at a data processing system or over a data network, within the scope of the invention.
- The illustrative embodiments are described using specific code, designs, architectures, protocols, layouts, schematics, and tools only as examples and are not limiting to the illustrative embodiments. Furthermore, the illustrative embodiments are described in some instances using particular software, tools, and data processing environments only as an example for the clarity of the description. The illustrative embodiments may be used in conjunction with other comparable or similarly purposed structures, systems, applications, or architectures. An illustrative embodiment may be implemented in hardware, software, or a combination thereof.
- The examples in this disclosure are used only for the clarity of the description and are not limiting to the illustrative embodiments. Additional data, operations, actions, tasks, activities, and manipulations will be conceivable from this disclosure and the same are contemplated within the scope of the illustrative embodiments.
- Any advantages listed herein are only examples and are not intended to be limiting to the illustrative embodiments. Additional or different advantages may be realized by specific illustrative embodiments. Furthermore, a particular illustrative embodiment may have some, all, or none of the advantages listed above.
- With reference to the figures and in particular with reference to
FIGS. 1 and 2 , these figures are example diagrams of data processing environments in which illustrative embodiments may be implemented.FIGS. 1 and 2 are only examples and are not intended to assert or imply any limitation with regard to the environments in which different embodiments may be implemented. A particular implementation may make many modifications to the depicted environments based on the following description. -
FIG. 1 depicts a pictorial representation of a network of data processing systems in which illustrative embodiments may be implemented.Data processing environment 100 is a network of computers in which the illustrative embodiments may be implemented.Data processing environment 100 includesnetwork 102.Network 102 is the medium used to provide communications links between various devices and computers connected together withindata processing environment 100.Network 102 may include connections, such as wire, wireless communication links, or fiber optic cables.Server 104 andserver 106 couple to network 102 along withstorage unit 108. Software applications may execute on any computer indata processing environment 100. - In addition,
clients server client - Only as an example, and without implying any limitation to such architecture,
FIG. 1 depicts certain components that are usable in an example implementation of an embodiment. For example,Application 105 inserver 104 is an implementation of an embodiment described herein.Application 105 operates in conjunction withNLP engine 103.NLP engine 103 may be, for example, an existing application capable of performing natural language processing on documents, and may be modified or configured to operate in conjunction withapplication 105 to perform an operation according to an embodiment described herein.Storage 108 includes domain-specific knowledge repositories, signature libraries, or a combination thereof, 109 according to an embodiment.Client 112 includes document withtabular data 113 that is processed according to an embodiment. -
Servers storage unit 108, andclients Clients - In the depicted example,
server 104 may provide data, such as boot files, operating system images, and applications toclients Clients server 104 in this example.Clients Data processing environment 100 may include additional servers, clients, and other devices that are not shown. - In the depicted example,
data processing environment 100 may be the Internet.Network 102 may represent a collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol (TCP/IP) and other protocols to communicate with one another. At the heart of the Internet is a backbone of data communication links between major nodes or host computers, including thousands of commercial, governmental, educational, and other computer systems that route data and messages. Of course,data processing environment 100 also may be implemented as a number of different types of networks, such as for example, an intranet, a local area network (LAN), or a wide area network (WAN).FIG. 1 is intended as an example, and not as an architectural limitation for the different illustrative embodiments. - Among other uses,
data processing environment 100 may be used for implementing a client-server environment in which the illustrative embodiments may be implemented. A client-server environment enables software applications and data to be distributed across a network such that an application functions by using the interactivity between a client data processing system and a server data processing system.Data processing environment 100 may also employ a service oriented architecture where interoperable software components distributed across a network may be packaged together as coherent business applications. - With reference to
FIG. 2 , this figure depicts a block diagram of a data processing system in which illustrative embodiments may be implemented.Data processing system 200 is an example of a computer, such asserver 104 orclient 112 inFIG. 1 , or another type of device in which computer usable program code or instructions implementing the processes may be located for the illustrative embodiments. - In the depicted example,
data processing system 200 employs a hub architecture including North Bridge and memory controller hub (NB/MCH) 202 and South Bridge and input/output (I/O) controller hub (SB/ICH) 204.Processing unit 206,main memory 208, andgraphics processor 210 are coupled to North Bridge and memory controller hub (NB/MCH) 202.Processing unit 206 may contain one or more processors and may be implemented using one or more heterogeneous processor systems.Processing unit 206 may be a multi-core processor.Graphics processor 210 may be coupled to NB/MCH 202 through an accelerated graphics port (AGP) in certain implementations. - In the depicted example, local area network (LAN)
adapter 212 is coupled to South Bridge and I/O controller hub (SB/ICH) 204.Audio adapter 216, keyboard andmouse adapter 220,modem 222, read only memory (ROM) 224, universal serial bus (USB) andother ports 232, and PCI/PCIe devices 234 are coupled to South Bridge and I/O controller hub 204 through bus 238. Hard disk drive (HDD) 226 and CD-ROM 230 are coupled to South Bridge and I/O controller hub 204 through bus 240. PCI/PCIe devices 234 may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. PCI uses a card bus controller, while PCIe does not.ROM 224 may be, for example, a flash binary input/output system (BIOS).Hard disk drive 226 and CD-ROM 230 may use, for example, an integrated drive electronics (IDE) or serial advanced technology attachment (SATA) interface. A super I/O (SIO)device 236 may be coupled to South Bridge and I/O controller hub (SB/ICH) 204 through bus 238. - Memories, such as
main memory 208,ROM 224, or flash memory (not shown), are some examples of computer usable storage devices.Hard disk drive 226, CD-ROM 230, and other similarly usable devices are some examples of computer usable storage devices including computer usable storage medium. - An operating system runs on
processing unit 206. The operating system coordinates and provides control of various components withindata processing system 200 inFIG. 2 . The operating system may be a commercially available operating system such as AIX® (AIX is a trademark of International Business Machines Corporation in the United States and other countries), Microsoft® Windows® (Microsoft and Windows are trademarks of Microsoft Corporation in the United States and other countries), or Linux® (Linux is a trademark of Linus Torvalds in the United States and other countries). An object oriented programming system, such as the Java™ programming system, may run in conjunction with the operating system and provides calls to the operating system from Java™ programs or applications executing on data processing system 200 (Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle Corporation and/or its affiliates). - Instructions for the operating system, the object-oriented programming system, and applications, logic, or programs, such as
application 105 and repositories and signatures 109 inFIG. 1 , are located on at least one of one or more storage devices, such ashard disk drive 226, and may be loaded into at least one of one or more memories, such asmain memory 208, for execution by processingunit 206. The processes of the illustrative embodiments may be performed by processingunit 206 using computer implemented instructions, which may be located in a memory, such as, for example,main memory 208, read onlymemory 224, or in one or more peripheral devices. - The hardware in
FIGS. 1-2 may vary depending on the implementation. Other internal hardware or peripheral devices, such as flash memory, equivalent non-volatile memory, or optical disk drives and the like, may be used in addition to or in place of the hardware depicted inFIGS. 1-2 . In addition, the processes of the illustrative embodiments may be applied to a multiprocessor data processing system. - In some illustrative examples,
data processing system 200 may be a personal digital assistant (PDA), which is generally configured with flash memory to provide non-volatile memory for storing operating system files and/or user-generated data. A bus system may comprise one or more buses, such as a system bus, an I/O bus, and a PCI bus. Of course, the bus system may be implemented using any type of communications fabric or architecture that provides for a transfer of data between different components or devices attached to the fabric or architecture. - A communications unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter. A memory may be, for example,
main memory 208 or a cache, such as the cache found in North Bridge andmemory controller hub 202. A processing unit may include one or more processors or CPUs. - The depicted examples in
FIGS. 1-2 and above-described examples are not meant to imply architectural limitations. For example,data processing system 200 also may be a tablet computer, laptop computer, or telephone device in addition to taking the form of a PDA. - With reference to
FIG. 3 , this figure depicts an example of tabular data within which functional relationships and signatures can be identified in accordance with an illustrative embodiment. Table 300 is an example of tabular data appearing indocument 113 inFIG. 1 within which functional dependencies can be determined usingapplication 105 inFIG. 1 . - The horizontal or vertical rule-lines are depicted for bounding a table and cell only as an example without implying a limitation thereto. A table or tabular data can be expressed in any suitable manner, and a cell can be demarcated in any manner within the scope of the illustrative embodiments. For example, indentation, spacing between cell data, different spacing in tabular and non-tabular content, symbols, graphics, a specific view or perspective to illustrate tabular data, or a combination of these and other example manner of expressing tabular data and cells therein are contemplated within the scope of the illustrative embodiments.
- Table 302 is a portion of table 300 and includes several headers that serve to organize the data in the various cells into headings, categories, or classifications (categories). The headers can be row-headers or column headers. The headers are not limited to the table boundaries or extremities within the scope of the illustrative embodiments. For example, a header can be embedded within a table, between cells, such as in the form of a sub-header, for example, to identify a sub-category of tabular data. Such sub-row or sub-column headers are contemplated within the scope of the illustrative embodiments. In one embodiment, certain header information can be specified separately from the corresponding tabular data, such as in a footnote, appendix, another table, or another location in a given document.
- For example, header 304 identifies a group of columns, which include data for the broad category of “fiscal year ended January 31.”
Headers -
Row headers 312 include some clues. For example,row header 314 is a “total” and is indented underrow headers row header 320 is another “total” and is indented underrow header 322. The indentations atrow headers row headers row headers - These example clues are not intended to be limiting on the illustrative embodiments. Many other clues will be conceivable from this disclosure by those of ordinary skill in the art, and the same are contemplated within the scope of the illustrative embodiments.
- The same clues help understand the information in different cells differently. For example, consider table 352, which is another portion of table 300.
Header 354 identifies a group of columns, which include data for the broad category of “Change.”Headers categories -
Row headers 312 impart different meanings to the cells in their corresponding rows in tables 302 and 352. For example, while the “total” according torow header 314 implies a dollar amount of income in the corresponding cells in table 302, the same row header implies a dollar amount change and a percentage change in the corresponding cells in table 352. As in this example table 300, in an embodiment, the clues in one location, such as inrow headers 312, can also operate in conjunction with other clues, data, or content in other places, to enable determining the meaning of certain cells in a given tabular data. - With reference to
FIG. 4 , this figure depicts an example representation of a functional signature in accordance with an illustrative embodiment. Functional signature (signature) 402 can be applied to a block of tabular data in table 302 inFIG. 3 . - For example,
signature 402 indicates that a table cell that might contain information about “operating revenue” or some domain-specific equivalent thereof, should be a column summation of values of the cells in a range of rows in that column, where the cells are identified by one or more of a domain-specific list of topics, one or more of a domain-specific list of categories, or a combination thereof. In one example embodiment, within the “finance” domain, the operating revenues can generally be found in tabular data under certain topics. An example list of topics insignature 402 includes the terms “Operating Revenues” and “Fiscal Year Ended <date>.” In the example embodiment, within the “finance” domain, data pertaining to the various components of the operating revenue can be found categorized as “revenue” for certain “year”. An example list of categories insignature 402 includes the terms “revenue” and “<year>.” - As another example, within the “finance” domain in another example embodiment,
signature 404 indicates that the operating revenues can generally be found under an example list of topics that include the terms “Operating Revenues”, including the “Non-Operating Income”, and “Fiscal Year Ended <date>.” In the example embodiment, within the “finance” domain, data pertaining to the various components of the operating revenue can be found categorized as “revenue” for certain “year”. An example list of categories insignature 402 includes the terms “revenue” and “<year>.” As another example, within the “finance” domain in another example embodiment,signature 406 indicates that the operating revenues can generally be found under an example list of topics that include the terms “Operating Revenues”, regardless of any specific date or year. - While the example functional signatures are described with respect to financial data and topic lists generally found in tabular data pertaining to the financial domain, such examples are not intended to be limiting on the illustrative embodiments. Generally, a functional signature can use any arithmetic, statistical, or another type of computation over two or more cells of a given set of tabular data, over one or more row-ranges, column-ranges, or a combination thereof. Furthermore, a functional signature can use any number of lists of any lengths from any subject matter domain in such computations without limitations. As an example, tabular data pertaining to scientific experimentation may include times, iterations, constraints, and the likes in the topic lists or categories lists. As another example, tabular data pertaining to geological surveys may includes locations, depths, strata layer names, quantities, and the likes in the topic lists or categories lists.
- With reference to
FIG. 5 , this figure depicts a block diagram of an example operation of a functional signature in accordance with an illustrative embodiment.Block 502 is an example block of tabular data from example table 302 inFIG. 3 on whichexample signature 402 ofFIG. 4 operates. - Each domain can correspond to one or more libraries of previously determined signatures that are unique to a domain or shared across more than one domain.
- Each signature describes the pattern and a meaning of data inside functional block. In the process of describing the pattern and meaning of the data according to a signature,
application 105 identifies a type of the various parts of a given block and ways of referring to those parts of the block. - Consider for example, block 502 of table 302 in
FIG. 3 .Application 105 ofFIG. 1 , implementing an embodiment, discoversblock 502 in table 302.Application 105 determines thatsignature 402 applies to cell 522 (“total operating revenues”) for the cell-range that includes cells 524 and 526, because cells 524 and 526 include values under topics 304 (“fiscal year ended January 31”) and 314 (“[Total] operating revenues”), and categories 317 (“Revenues[ ]”) and 306 (“2009”). Thus,application 105 concludes thatblock 502 depicts operating revenues and their breakdown, table 302 is a financial table, and this tabular information in the example document pertains to revenues or some variation thereof. - Although only the comparison with
signature 402 is described here,application 105 ofFIG. 1 can similarly compare discovered functional/semantic block 502 with any number of signatures in a set of known signatures for the subject-matter domain of table 302. - With reference to
FIG. 6 , this figure depicts a block diagram of an example manner of classifying documents with tabular data in accordance with an illustrative embodiment. Table 604 is similar to table 302 inFIG. 3 . -
Application 105 ofFIG. 1 , implementing an embodiment, receives tables 602, 604, and 606 in different documents. In the manner described with respect toFIGS. 4 and 5 ,application 105 identifiesblocks - For example,
application 105 determines thatcells application 105 determinessignature 402 applies toblocks cells Application 105 further determines that becausesignature 402 applies to tables 602, 604, and 606, the documents where these tables are included are financial reports and discuss revenues or some variation thereof. - With reference to
FIG. 7 , this figure depicts a flowchart of an example process of constructing a functional signature in accordance with an illustrative embodiment.Process 700 can be implemented inapplication 105 inFIG. 1 . -
Process 700 selects a portion of tabular data in a given document (step 702). For example,process 700 selectsblock 502 inFIG. 5 from table 302 inFIG. 3 . -
Process 700 analyzes the one or more functional relationships in the selected portion (step 704).Process 700 selects a functional relationship from the one or more functional relationships (step 706). -
Process 700 converts table-specific information in the functional relationship to normalized domain references (step 708). For example,process 700 replaces document-specific terms and terminology used in the tabular data with generalized equivalent terms that are either commonly understood or are recognized in the domain to which the document belongs. In one embodiment,process 700 may exit at exit point marked “A” and re-enter at entry point marked “B” afterstep 708. The exit and the re-entry are to and fromprocess 1100 inFIG. 11 . -
Process 700 represents the functional relationship with normalized domain references, forming a functional signature (step 710). For example, in one embodiment, a functional signature is represented in the form of a multi-dimensional vector where the normalized domain references are the vector attributes. - Process 700 saves the functional signature for the document's domain, such as in a signature library corresponding to the domain, or a collection of signatures corresponding to the document (step 712).
Process 700 may end thereafter, or return to step 706 to select another functional relationship and perform another iteration. - With reference to
FIG. 8 , this figure depicts a flowchart of an example process of creating a signature library in accordance with an illustrative embodiment.Process 800 can be implemented inapplication 105 inFIG. 1 . -
Process 800 begins by receiving, retrieving, or otherwise accessing different collections of functional signatures corresponding to different documents in a given subject-matter domain (step 802).Process 800 clusters those signatures together that are similar to one-another within a threshold measure of similarity across the different collections (step 804).Process 800 adds the cluster of signatures to a library of generic functional signatures for the subject-matter domain (step 806).Process 800 optionally discards the remaining signatures in the collections for being document-specific and not generically applicable to the subject-matter domain (step 808).Process 800 ends thereafter. - With reference to
FIG. 9 , this figure depicts a flowchart of an example process for categorizing a document using functional signatures in accordance with an illustrative embodiment.Process 900 can be implemented inapplication 105 inFIG. 1 . -
Process 900 begins by receiving a document that includes tabular data (step 902).Process 900 selects a library of signatures for a subject-matter domain (step 904). The selecting of a library can be arbitrary, heuristics based, based on external information about the document, based on partial analysis of the document's contents, or by any other method of selection. -
Process 900 determines whether a threshold number of signatures in the library are applicable to the document within a threshold measure of applicability (step 906). If a threshold number of signatures in the library are not applicable to the document within a threshold measure of applicability (“No” path of step 906),process 900 determines that an incorrect signature library was selected, and returns to step 904 for selecting another signature library (step 906). Note thatstep 906 is only depicted for the clarity ofprocess 900, and is only an example manner of determining whether the document can be categorized in a particular subject-matter domain. The determination ofstep 906 can be a stand-alone categorization process (not shown) to which control is passed fromprocess 900 and which returns the control back toprocess 900 in the manner shown. Within the scope of the illustrative embodiments, such a categorization process can use the example manner of categorization as shown instep 906, other suitable method for categorizing the document using the selected signature library, or a combination of more than one methods for categorization of the document. - If a threshold number of signatures in the library are applicable to the document within a threshold measure of applicability (“Yes” path of step 906),
process 900 categorizes the document as belonging to the subject-matter domain corresponding to the selected signature library (step 908).Process 900 ends thereafter. - With reference to
FIG. 10 , this figure depicts a flowchart of an example process of responding to queries using subject-matter analysis of tabular data in accordance with an illustrative embodiment.Process 1000 can be implemented inapplication 105 inFIG. 1 . -
Process 1000 begins by selecting a document with tabular data, the document belonging to a known subject-matter domain (step 1002).Process 1000 receives a query for the document (step 1004).Process 1000 parses the query according to domain-specific NLP resources, e.g., an ontology, used for or generated by the library of signatures for the subject-matter domain of the document (step 1006). -
Process 1000 selects a best-fit signature for the query (step 1008).Process 1000 extracts data from the tabular data portion where the selection signature applies (step 1010).Process 1000 composes a response to the query using the extracted data, such as by passing the data to a NLP engine (step 1012).Process 1000 sends the response, or causes the response to be sent (step 1014).Process 1000 ends thereafter. - With reference to
FIG. 11 , this figure depicts a flowchart of an example process for creating or improving a knowledge repository in accordance with an illustrative embodiment.Process 1100 can be implemented inapplication 105 inFIG. 1 . -
Process 1100 begins or enters from entry point “A”.Process 1100 adds table-specific information and the matching normalized domain references to a knowledge repository, such as an ontology, for the subject-matter domain in question (step 1102).Process 1100 ends or exits at exit point “B” thereafter. The table specific information and the matching normalized domain references are available atstep 708 inprocess 700 inFIG. 7 , and are used instep 1102. - The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
- Thus, a computer implemented method is provided in the illustrative embodiments for subject-matter analysis of tabular data. An embodiment discovers functional blocks in a table. The embodiment combines them with the table's layout and semantic analysis to identify functional signatures. The embodiment uses the functional signatures for information extraction from the tabular data.
- An embodiment performs a classification operation on an initial set of documents from a specific domain. This operation finds a set of functional signatures that are pertinent to the documents in this domain. Optionally, a human expert can review the automated findings of an embodiment and select or modify signatures that should be used in this domain. An embodiment includes a trained classifier on a corpus of documents to extract document-specific information, match such information to normalized domain references, and populate domain-related knowledge resources, such as named entity lists and ontologies.
- Some embodiments are further adaptable for additional uses. For example, an embodiment can be tuned for selective extraction of information such that only certain parts of the tabular data can be identified and extracted for other processing, such as indexing. An embodiment can be adapted to index documents by signatures. Given a query, such an embodiment allows navigating to the correct document or table in a large collection.
- The description of the examples and embodiments described herein are described with respect to clues, hypotheses, documents, tabular data, and NLP in English language is not intended to be limiting on the illustrative embodiments. An embodiment can be implemented in a similar manner using documents, tabular data, and NLP in any language within the scope of the illustrative embodiments.
- As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method, or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable storage device(s) or computer readable media having computer readable program code embodied thereon.
- Any combination of one or more computer readable storage device(s) or computer readable media may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage device may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage device would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage device may be any tangible device or medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer readable storage device or computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to one or more processors of one or more general purpose computers, special purpose computers, or other programmable data processing apparatuses to produce a machine, such that the instructions, which execute via the one or more processors of the computers or other programmable data processing apparatuses, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer program instructions may also be stored in one or more computer readable storage devices or computer readable media that can direct one or more computers, one or more other programmable data processing apparatuses, or one or more other devices to function in a particular manner, such that the instructions stored in the one or more computer readable storage devices or computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer program instructions may also be loaded onto one or more computers, one or more other programmable data processing apparatuses, or one or more other devices to cause a series of operational steps to be performed on the one or more computers, one or more other programmable data processing apparatuses, or one or more other devices to produce a computer implemented process such that the instructions which execute on the one or more computers, one or more other programmable data processing apparatuses, or one or more other devices provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
- The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
Claims (9)
1. A method for subject-matter analysis of tabular data, the method comprising:
receiving a first document including the tabular data;
selecting a library of functional signatures for a first subject-matter domain;
determining whether a threshold number of functional signatures from the selected library are applicable to the tabular data, wherein a functional signature is applicable to the tabular data when values in the tabular data correspond to an operation and a table structure specified in the functional signature; and
processing, according to a process for the first subject matter domain selected from a plurality of processes for respective subject matter domains, using a processor and a memory, the first document responsive to the threshold number of functional signatures from the selected library being applicable to the tabular data.
2. The method of claim 1 , further comprising:
selecting a portion of tabular data in a second document;
analyzing a functional relationship between at least two values in the portion;
representing table-specific information in the functional relationship using generic equivalent information from the first subject-matter domain, forming the functional signature; and
adding the functional signature to a collection of functional signatures corresponding to the second document, forming a first collection.
3. The method of claim 2 , further comprising:
selecting the first collection and a second collection of functional signatures corresponding to a third document;
clustering those functional signatures from the first and the second collections that are similar to each other within a threshold measure of similarity, forming a cluster of functional signatures; and
adding the cluster of functional signatures to the library of functional signatures.
4. The method of claim 2 , further comprising:
storing a combination of the table-specific information in the functional relationship and the generic equivalent information from the first subject-matter domain in a knowledge repository corresponding to the first subject-matter domain.
5. The method of claim 3 , further comprising:
discarding, as being document-specific functional signatures, those functional signatures from the first and the second collections that are not similar to each other within the threshold measure of similarity.
6. The method of claim 1 , further comprising:
receiving a query to be answered using the first document;
parsing the query using a knowledge repository corresponding to the library of functional signatures for the first subject-matter domain;
selecting a functional signature that fits the query according to the parsing;
extracting data from a portion of the tabular data of the first document where the selected functional signature applies;
responding to the query using the extracted data.
7. The method of claim 6 , wherein the responding further comprises sending the extracted data to a natural language processing application where the extracted data is formed into a natural language response to the query.
8. The method of claim 1 , wherein the processing the first document comprises:
classifying the first document as belonging to the first subject-matter domain.
9. The method of claim 1 , wherein responsive to the threshold number of functional signatures from the selected library not being applicable to the tabular data, further comprising:
selecting a second library of functional signatures for a second subject-matter domain;
determining whether a threshold number of functional signatures from the second library are applicable to the tabular data; and
processing the first document responsive to the threshold number of functional signatures from the second library being applicable to the tabular data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/090,230 US20150026178A1 (en) | 2013-07-18 | 2013-11-26 | Subject-matter analysis of tabular data |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/945,259 US9607039B2 (en) | 2013-07-18 | 2013-07-18 | Subject-matter analysis of tabular data |
US14/090,230 US20150026178A1 (en) | 2013-07-18 | 2013-11-26 | Subject-matter analysis of tabular data |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/945,259 Continuation US9607039B2 (en) | 2013-07-18 | 2013-07-18 | Subject-matter analysis of tabular data |
Publications (1)
Publication Number | Publication Date |
---|---|
US20150026178A1 true US20150026178A1 (en) | 2015-01-22 |
Family
ID=52344454
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/945,259 Expired - Fee Related US9607039B2 (en) | 2013-07-18 | 2013-07-18 | Subject-matter analysis of tabular data |
US14/090,230 Abandoned US20150026178A1 (en) | 2013-07-18 | 2013-11-26 | Subject-matter analysis of tabular data |
US15/362,138 Expired - Fee Related US10229154B2 (en) | 2013-07-18 | 2016-11-28 | Subject-matter analysis of tabular data |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/945,259 Expired - Fee Related US9607039B2 (en) | 2013-07-18 | 2013-07-18 | Subject-matter analysis of tabular data |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/362,138 Expired - Fee Related US10229154B2 (en) | 2013-07-18 | 2016-11-28 | Subject-matter analysis of tabular data |
Country Status (3)
Country | Link |
---|---|
US (3) | US9607039B2 (en) |
CN (1) | CN105378732B (en) |
WO (1) | WO2015007175A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10078629B2 (en) | 2015-10-22 | 2018-09-18 | International Business Machines Corporation | Tabular data compilation |
CN109446507A (en) * | 2018-11-13 | 2019-03-08 | 浙江中智达科技有限公司 | A kind of construction method and device of report |
US11200413B2 (en) | 2018-07-31 | 2021-12-14 | International Business Machines Corporation | Table recognition in portable document format documents |
US11650970B2 (en) | 2018-03-09 | 2023-05-16 | International Business Machines Corporation | Extracting structure and semantics from tabular data |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10318625B2 (en) | 2014-05-13 | 2019-06-11 | International Business Machines Corporation | Table narration using narration templates |
CN106528765B (en) * | 2016-11-03 | 2020-04-03 | 用友网络科技股份有限公司 | Method and device for publishing and integrating topic analysis |
US11995428B2 (en) | 2017-01-26 | 2024-05-28 | Nice Inc. | Method and system for providing image-based interoperability with an application |
US10740123B2 (en) | 2017-01-26 | 2020-08-11 | Nice Ltd. | Method and system for accessing table content in a digital image of the table |
US10997228B2 (en) * | 2017-10-26 | 2021-05-04 | International Business Machines Corporation | Comparing tables with semantic vectors |
US11762890B2 (en) | 2018-09-28 | 2023-09-19 | International Business Machines Corporation | Framework for analyzing table data by question answering systems |
JP7180420B2 (en) * | 2019-01-31 | 2022-11-30 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and program |
US11436407B2 (en) | 2020-07-28 | 2022-09-06 | Intuit Inc. | Generating machine renderable representations of forms using machine learning |
US20220318234A1 (en) * | 2021-04-02 | 2022-10-06 | Pranav Sharma | System and method for providing natural language processing |
CN114880353A (en) * | 2021-04-16 | 2022-08-09 | 中国再保险(集团)股份有限公司 | Continuous rotation data processing method and device, computer equipment and storage medium |
CN114238665B (en) * | 2021-11-22 | 2024-06-28 | 中冶赛迪信息技术(重庆)有限公司 | Multi-subject benchmarking analysis method and system |
CN115292274B (en) * | 2022-06-29 | 2023-12-26 | 江苏昆山农村商业银行股份有限公司 | Data warehouse topic model construction method and system |
CN115309888B (en) * | 2022-08-26 | 2023-05-30 | 百度在线网络技术(北京)有限公司 | Method and device for generating chart abstract and training method and device for generating model |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1286284A1 (en) * | 2001-08-15 | 2003-02-26 | F1F9 (UK) Ltd. | Spreadsheet data processing system |
US20060080646A1 (en) * | 2004-10-07 | 2006-04-13 | Quantitative Analytics, Inc. | Command script parsing using local and extended storage for command lookup |
US20080288449A1 (en) * | 2007-05-17 | 2008-11-20 | Sang-Heun Kim | Method and system for an aggregate web site search database |
US20120023447A1 (en) * | 2010-07-23 | 2012-01-26 | Masaaki Hoshino | Information processing device, information processing method, and information processing program |
US8140533B1 (en) * | 2010-01-26 | 2012-03-20 | Google Inc. | Harvesting relational tables from lists on the web |
US20140278985A1 (en) * | 2013-03-13 | 2014-09-18 | DataPop, Inc. | Systems and methods for the enhancement of semantic models utilizing unstructured data |
Family Cites Families (53)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4688195A (en) | 1983-01-28 | 1987-08-18 | Texas Instruments Incorporated | Natural-language interface generating system |
JP2926066B2 (en) | 1992-05-29 | 1999-07-28 | 富士ゼロックス株式会社 | Table recognition device |
US5491700A (en) | 1993-10-01 | 1996-02-13 | Pacific Communication Sciences, Inc. | Method and apparatus for code error correction using an ordered syndrome and error correction lookup table |
JPH096777A (en) | 1995-06-14 | 1997-01-10 | Niigata Nippon Denki Software Kk | Word processor |
AU1467599A (en) | 1997-11-20 | 1999-06-15 | Xacct Technologies, Inc. | Network accounting and billing system and method |
US6442575B2 (en) * | 1998-06-17 | 2002-08-27 | Microsoft Corporation | Method and system for merging cells in a table and for adding an integrated header and a nested table to a table in an electronic document |
WO2000010103A1 (en) | 1998-08-11 | 2000-02-24 | Shinji Furusho | Method and apparatus for retrieving, accumulating, and sorting table-formatted data |
JP3690730B2 (en) | 2000-10-24 | 2005-08-31 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Structure recovery system, syntax analysis system, conversion system, computer device, syntax analysis method, and storage medium |
US7620665B1 (en) | 2000-11-21 | 2009-11-17 | International Business Machines Corporation | Method and system for a generic metadata-based mechanism to migrate relational data between databases |
US7054871B2 (en) | 2000-12-11 | 2006-05-30 | Lucent Technologies Inc. | Method for identifying and using table structures |
US6904428B2 (en) | 2001-04-18 | 2005-06-07 | Illinois Institute Of Technology | Intranet mediator |
US7251781B2 (en) | 2001-07-31 | 2007-07-31 | Invention Machine Corporation | Computer based summarization of natural language documents |
US7024414B2 (en) * | 2001-08-06 | 2006-04-04 | Sensage, Inc. | Storage of row-column data |
US20040205524A1 (en) * | 2001-08-15 | 2004-10-14 | F1F9 | Spreadsheet data processing system |
JP4947861B2 (en) | 2001-09-25 | 2012-06-06 | キヤノン株式会社 | Natural language processing apparatus, control method therefor, and program |
JP2004062446A (en) | 2002-07-26 | 2004-02-26 | Ibm Japan Ltd | Information gathering system, application server, information gathering method, and program |
US20040103367A1 (en) | 2002-11-26 | 2004-05-27 | Larry Riss | Facsimile/machine readable document processing and form generation apparatus and method |
US7143026B2 (en) | 2002-12-12 | 2006-11-28 | International Business Machines Corporation | Generating rules to convert HTML tables to prose |
US7756907B2 (en) * | 2003-09-16 | 2010-07-13 | The Board Of Trustees Of The Leland Stanford Jr. University | Computer systems and methods for visualizing data |
US7792829B2 (en) | 2005-01-28 | 2010-09-07 | Microsoft Corporation | Table querying |
US20070011183A1 (en) | 2005-07-05 | 2007-01-11 | Justin Langseth | Analysis and transformation tools for structured and unstructured data |
US8024653B2 (en) | 2005-11-14 | 2011-09-20 | Make Sence, Inc. | Techniques for creating computer generated notes |
US8214388B2 (en) * | 2005-12-19 | 2012-07-03 | Yahoo! Inc | System and method for adding a storage server in a distributed column chunk data store |
US7770100B2 (en) * | 2006-02-27 | 2010-08-03 | Microsoft Corporation | Dynamic thresholds for conditional formats |
WO2008053466A2 (en) | 2006-10-30 | 2008-05-08 | Cellesense Technologies Ltd. | Context sensitive, error correction of short text messages |
US20080208882A1 (en) | 2007-02-28 | 2008-08-28 | Honeywell International Inc. | Method of Assisting Users In Detection and Correction of Errors In Complex Databases |
KR100918847B1 (en) | 2007-10-15 | 2009-09-28 | 한국전자통신연구원 | Device for generating ontology instance automatically and method therefor |
US8069190B2 (en) | 2007-12-27 | 2011-11-29 | Cloudscale, Inc. | System and methodology for parallel stream processing |
US8781989B2 (en) | 2008-01-14 | 2014-07-15 | Aptima, Inc. | Method and system to predict a data value |
US7792823B2 (en) | 2008-01-15 | 2010-09-07 | International Business Machines Corporation | Maintained symbol table only index |
CN101246495A (en) | 2008-03-21 | 2008-08-20 | 深圳国人通信有限公司 | Method for constructing query scheme and executing data query and statistics |
US8275803B2 (en) | 2008-05-14 | 2012-09-25 | International Business Machines Corporation | System and method for providing answers to questions |
WO2009155281A1 (en) | 2008-06-17 | 2009-12-23 | The Trustees Of Columbia University In The City Of New York | System and method for dynamically and interactively searching media data |
US8255789B2 (en) | 2008-09-30 | 2012-08-28 | Apple Inc. | Providing spreadsheet features |
US8959481B2 (en) | 2009-04-30 | 2015-02-17 | International Business Machines Corporation | Determining system level dependencies |
US8037108B1 (en) | 2009-07-22 | 2011-10-11 | Adobe Systems Incorporated | Conversion of relational databases into triplestores |
US8560300B2 (en) | 2009-09-09 | 2013-10-15 | International Business Machines Corporation | Error correction using fact repositories |
US8280838B2 (en) | 2009-09-17 | 2012-10-02 | International Business Machines Corporation | Evidence evaluation system and method based on question answering |
US20110125734A1 (en) | 2009-11-23 | 2011-05-26 | International Business Machines Corporation | Questions and answers generation |
US20110126197A1 (en) | 2009-11-25 | 2011-05-26 | Novell, Inc. | System and method for controlling cloud and virtualized data centers in an intelligent workload management system |
US8219522B2 (en) | 2010-06-29 | 2012-07-10 | Asserted Versioning, Llc | Management of temporal data by means of a canonical schema |
US20120011115A1 (en) | 2010-07-09 | 2012-01-12 | Jayant Madhavan | Table search using recovered semantic information |
CN104484322A (en) | 2010-09-24 | 2015-04-01 | 新加坡国立大学 | Methods and systems for automated text correction |
US8719014B2 (en) | 2010-09-27 | 2014-05-06 | Apple Inc. | Electronic device with text error correction based on voice recognition data |
CN103229223A (en) * | 2010-09-28 | 2013-07-31 | 国际商业机器公司 | Providing answers to questions using multiple models to score candidate answers |
CN103229168B (en) | 2010-09-28 | 2016-10-19 | 国际商业机器公司 | The method and system that evidence spreads between multiple candidate answers during question and answer |
US8442988B2 (en) | 2010-11-04 | 2013-05-14 | International Business Machines Corporation | Adaptive cell-specific dictionaries for frequency-partitioned multi-dimensional data |
US8630989B2 (en) | 2011-05-27 | 2014-01-14 | International Business Machines Corporation | Systems and methods for information extraction using contextual pattern discovery |
US8874540B2 (en) | 2011-09-07 | 2014-10-28 | Xerox Corporation | Method for semantic classification of numeric data sets |
US8601030B2 (en) | 2011-09-09 | 2013-12-03 | International Business Machines Corporation | Method for a natural language question-answering system to complement decision-support in a real-time command center |
US8910018B2 (en) | 2012-07-17 | 2014-12-09 | Macronix International Co., Ltd. | Memory with dynamic error detection and correction |
US8914419B2 (en) * | 2012-10-30 | 2014-12-16 | International Business Machines Corporation | Extracting semantic relationships from table structures in electronic documents |
US10289653B2 (en) * | 2013-03-15 | 2019-05-14 | International Business Machines Corporation | Adapting tabular data for narration |
-
2013
- 2013-07-18 US US13/945,259 patent/US9607039B2/en not_active Expired - Fee Related
- 2013-11-26 US US14/090,230 patent/US20150026178A1/en not_active Abandoned
-
2014
- 2014-07-08 WO PCT/CN2014/081852 patent/WO2015007175A1/en active Application Filing
- 2014-07-08 CN CN201480040217.3A patent/CN105378732B/en active Active
-
2016
- 2016-11-28 US US15/362,138 patent/US10229154B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1286284A1 (en) * | 2001-08-15 | 2003-02-26 | F1F9 (UK) Ltd. | Spreadsheet data processing system |
US20060080646A1 (en) * | 2004-10-07 | 2006-04-13 | Quantitative Analytics, Inc. | Command script parsing using local and extended storage for command lookup |
US20080288449A1 (en) * | 2007-05-17 | 2008-11-20 | Sang-Heun Kim | Method and system for an aggregate web site search database |
US8140533B1 (en) * | 2010-01-26 | 2012-03-20 | Google Inc. | Harvesting relational tables from lists on the web |
US20120023447A1 (en) * | 2010-07-23 | 2012-01-26 | Masaaki Hoshino | Information processing device, information processing method, and information processing program |
US20140278985A1 (en) * | 2013-03-13 | 2014-09-18 | DataPop, Inc. | Systems and methods for the enhancement of semantic models utilizing unstructured data |
Non-Patent Citations (2)
Title |
---|
Jayant Madhavan et al., Generic Schema Matching with Cupid, August 2001, Microsoft Research, p. 1-14. * |
Petros Venetis et al.; Recovering Semantics of Tables on the Web; 2011; Proceedings of the VLDB Endowment, Vol. 4, No. 9; p. 528-538. * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10078629B2 (en) | 2015-10-22 | 2018-09-18 | International Business Machines Corporation | Tabular data compilation |
US10409907B2 (en) | 2015-10-22 | 2019-09-10 | International Business Machines Corporation | Tabular data compilation |
US10943064B2 (en) | 2015-10-22 | 2021-03-09 | International Business Machines Corporation | Tabular data compilation |
US11650970B2 (en) | 2018-03-09 | 2023-05-16 | International Business Machines Corporation | Extracting structure and semantics from tabular data |
US11200413B2 (en) | 2018-07-31 | 2021-12-14 | International Business Machines Corporation | Table recognition in portable document format documents |
CN109446507A (en) * | 2018-11-13 | 2019-03-08 | 浙江中智达科技有限公司 | A kind of construction method and device of report |
Also Published As
Publication number | Publication date |
---|---|
WO2015007175A1 (en) | 2015-01-22 |
US20150026557A1 (en) | 2015-01-22 |
CN105378732B (en) | 2019-11-12 |
CN105378732A (en) | 2016-03-02 |
US20170075983A1 (en) | 2017-03-16 |
US10229154B2 (en) | 2019-03-12 |
US9607039B2 (en) | 2017-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10229154B2 (en) | Subject-matter analysis of tabular data | |
Žižka et al. | Text mining with machine learning: principles and techniques | |
US9753916B2 (en) | Automatic generation of a speech by processing raw claims to a set of arguments | |
Zimmeck et al. | Privee: An architecture for automatically analyzing web privacy policies | |
Inzalkar et al. | A survey on text mining-techniques and application | |
Stamatatos et al. | Clustering by authorship within and across documents | |
US9792277B2 (en) | System and method for determining the meaning of a document with respect to a concept | |
Eder et al. | An open stylometric system based on multilevel text analysis | |
Biswas et al. | Scope of sentiment analysis on news articles regarding stock market and GDP in struggling economic condition | |
Al Qundus et al. | Exploring the impact of short-text complexity and structure on its quality in social media | |
Chou et al. | Integrating XBRL data with textual information in Chinese: A semantic web approach | |
Li et al. | An intelligent approach to data extraction and task identification for process mining | |
Plu et al. | A hybrid approach for entity recognition and linking | |
Bondielli et al. | On the use of summarization and transformer architectures for profiling résumés | |
Annervaz et al. | Natural language requirements quality analysis based on business domain models | |
Cao et al. | Occupational profiling driven by online job advertisements: Taking the data analysis and processing engineering technicians as an example | |
US20220179894A1 (en) | Automatic document classification | |
He et al. | Developing a workflow approach for mining online social media data | |
Qumsiyeh et al. | Enhancing web search by using query-based clusters and multi-document summaries | |
US20090259995A1 (en) | Apparatus and Method for Standardizing Textual Elements of an Unstructured Text | |
Bordino et al. | Garnlp: a natural language processing pipeline for garnishment documents | |
Gao et al. | Deep learning based network news text classification system | |
Thijs et al. | Improved lexical similarities for hybrid clustering through the use of noun phrases extraction | |
Cristani et al. | Making sentiment analysis algorithms scalable | |
CN116595192B (en) | Technological front information acquisition method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BYRON, DONNA K.;GERALD, SCOTT N.;PIKOVSKY, ALEXANDER;AND OTHERS;SIGNING DATES FROM 20130702 TO 20130904;REEL/FRAME:031729/0372 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |