Method for electronically recognizing and parsing information contained in a financial statement
First Claim
1. A method for parsing a financial table being comprised of a sequence of line items each having a label and/or at least one corresponding number, comprising the steps of,reversing the sequence of said line items of said financial table;
- 2) selecting a line item and designating the number of the selected line item as a subtotal;
3) summing the numbers from each line item following the selected line item;
4) if the sum equals said subtotal, marking all summed line items as a block, said block being treated like a line items in subsequent passes;
5) repeating steps
2)-4) for each following line item until all the line items in the sequence have been tested as a subtotal;
6) if one or more sums equals the subtotals, starting from the beginning of said reversed sequence and repeating steps
2)-5); and
7) reversing the sequence of said line items of said financial table.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for processing a file containing a financial statement in uncoded format such as a financial statement stored in an ASCII file. The starting locations of the various types of financial tables in the financial statement as indicated by their table titles are identified by grammar descriptors. When all the table titles in the file are identified, a table title is then selected for processing. Typically after the table title, there are the associated column headers for the table, and they are analyzed and determined. Following the column headers, there are lines of text that are separated into line items, where each line item is composed of a label and/or one or more numbers corresponding to the label. With these line items, the next task is to parse these line items to verify that these line items make up the table and to identify the components of the financial table. A financial table is comprised of line items, subtotals, and grand totals. By recognizing the mathematical structure of the table, the relationship between the line items, subtotals, and grand totals can be readily understood and categorized.
105 Citations
14 Claims
-
1. A method for parsing a financial table being comprised of a sequence of line items each having a label and/or at least one corresponding number, comprising the steps of,reversing the sequence of said line items of said financial table;
-
2) selecting a line item and designating the number of the selected line item as a subtotal;
3) summing the numbers from each line item following the selected line item;
4) if the sum equals said subtotal, marking all summed line items as a block, said block being treated like a line items in subsequent passes;
5) repeating steps
2)-4) for each following line item until all the line items in the sequence have been tested as a subtotal;
6) if one or more sums equals the subtotals, starting from the beginning of said reversed sequence and repeating steps
2)-5); and
7) reversing the sequence of said line items of said financial table. - View Dependent Claims (2, 3, 4)
If not all the subtotals are found, i) designating unincorporated line items for said table as restricted or unrestricted, ii) negating one or more of said unrestricted line items, and iii) repeating steps
2)-6).
-
-
5. A method for parsing data presented in table format and being comprised of a sequence of line items each having a label and/or at least one corresponding number, comprising the steps of,reversing the sequence of said line items of said data;
-
2) selecting a line item and designating the number of the selected line item as a subtotal;
3) summing the numbers from each line item following the selected line item;
4) if the sum equals said subtotal, marking all summed line items as a block, said block being treated like a line items in subsequent passes;
5) repeating steps
2)-4) for each following line item until all the line items in the sequence have been tested as a subtotal;
6) if one or more sums equal the subtotals, starting from the beginning of said reversed sequence and repeating steps
2)-5); and
7) reversing the sequence of said line items of said.
-
-
6. A method for verifying a financial table composed of a sequence of line items each having a label and an associated value, wherein the values of said line items forming a mathematical structure for said financial table, comprising the steps of:
-
i) reversing the sequence of said line items of said financial table;
ii) finding subsequences of consecutive line items having sums equal to the value of a line item immediately proceeding each of said respective subseqences of consecutive line items;
iii) marking said subsequences of consecutive line items as blocks;
iv) treating each said blocks as line items and repeating steps ii), iii), and iv) until all blocks have been found;
v) reversing the sequence of said line items of said financial table; and
vi) verifying said line items and said blocks of said financial table operate to form the mathematical structure of said financial table. - View Dependent Claims (7, 8, 9)
i) designating line items not in said blocks either as a restricted line item or an unrestricted line item; and
ii) subtracting one or more unrestricted line items in forming said mathematical structure.
-
-
10. A method for verifying a financial table composed of line items each having a label and an associated value, wherein the values of said line items forming a mathematical structure for said financial table, comprising the steps of:
-
i). finding subsequences of consecutive line items having sums equal to the value of a line item immediately following each of said respective subsequences of consecutive line items;
ii). marking said subsequences of consecutive line items as blocks;
iii). treating each said blocks as line items and repeating steps i), ii), and iii) until all blocks have been found; and
iv). verifying said line items and said blocks of said financial table mathematically operate to form the mathematical structure of said financial table. - View Dependent Claims (11, 12, 13)
i) designating line items not in said blocks either as a restricted line item or an unrestricted line item; and
ii) subtracting one or more unrestricted line items in forming said mathematical structure.
-
-
14. A method for verifying a table composed of a sequence of line items each having a label and an associated value, wherein the values of said line items forming a mathematical structure for said table, comprising the steps of:
-
i). finding subsequences of consecutive line items having sums equal to the value of a line item immediately following each of said respective subsequences of consecutive line items;
ii). marking said subsequences of consecutive line items as blocks;
iii). treating each said blocks as line items and repeating steps i), ii), and iii) until all blocks have been found; and
iv). verifying said line items and said blocks of said financial table mathematically operate to form the mathematical structure of said financial table.
-
Specification