Graphical syntax analysis of tables through tree rewriting
First Claim
Patent Images
1. a method for determining a table structure, the method comprising:
- determining a table structure respective to a first two cells of a spatially ordered sequence of rectangular cells, the table structure including elements indicative of the first two cells and at least one element indicative of a structural relationship between the first two cells;
defining a minimum rectangular bounding box containing the cells of the table structure;
updating the table structure with additional structure including an element indicative of a next cell of the spatially ordered sequence of rectangular cells and at least one element indicative of a structural relationship between the next cell and the minimum rectangular bounding box; and
repeating the defining and updating until the cells of the ordered sequence of rectangular cells are exhausted.
1 Assignment
0 Petitions
Accused Products
Abstract
To determine a table structure, a spatially ordered sequence of rectangular cells (42) disposed in a two dimensional region is derived. The ordered sequence of rectangular cells is parsed in accordance with a two-dimensional structural grammar (54) having terminal elements corresponding to cells and non-terminal elements corresponding to structural relationship operators. The parsing produces a grammatical expression (52) with the cells represented by terminal elements and structural relationships represented by non-terminal elements.
-
Citations
22 Claims
-
1. a method for determining a table structure, the method comprising:
-
determining a table structure respective to a first two cells of a spatially ordered sequence of rectangular cells, the table structure including elements indicative of the first two cells and at least one element indicative of a structural relationship between the first two cells; defining a minimum rectangular bounding box containing the cells of the table structure; updating the table structure with additional structure including an element indicative of a next cell of the spatially ordered sequence of rectangular cells and at least one element indicative of a structural relationship between the next cell and the minimum rectangular bounding box; and repeating the defining and updating until the cells of the ordered sequence of rectangular cells are exhausted. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus operating on a spatially ordered sequence of rectangular cells representing a table, the apparatus comprising:
-
a two-dimensional structural grammar having terminal elements corresponding to rectangular cells and non-terminal elements corresponding to structural relationship operators; and a structural parser configured to parse the spatially ordered sequence of rectangular cells representing the table in accordance with the two-dimensional structural grammar, the parsing producing a grammatical expression indicative of spatial positions of the rectangular cells relative to one another. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method for determining a table structure, the method comprising:
-
deriving a spatially ordered sequence of rectangular cells disposed in a two-dimensional region; and parsing the spatially ordered sequence of rectangular cells in accordance with a two-dimensional structural grammar having terminal elements corresponding to cells and non-terminal elements corresponding to structural relationship operators, the parsing producing a grammatical expression with the cells represented by terminal elements and structural relationships represented by non-terminal elements. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
-
Specification