Frh
9e385bf8fc
Fix plotting unit tests
...
Enforce order of textline plotting for unit test consistency in 3.6.
Create wrapper around camelot plot that enforces backwards consistency
with older versions of matplotlib.
2020-06-11 17:20:37 -07:00
Frh
ada4809a59
Improve column detection for hybrid flavor
...
No longer rely on the mode but on the parsing analysis during network
detection.
Added unit test for complex table with vertical header and mixed
horizontal / vertical text.
2020-06-11 17:20:37 -07:00
Frh
21dc6a46a0
Improve hybrid table body discovery algo
...
While searching for table body boundaries, exclude rows that include
cells crossing previously discovered rows.
2020-06-11 17:20:37 -07:00
Frh
8f5e2bba4d
Prep for vertical text improvements
...
plot.text shows vertical text in red
_generate_columns_and_rows split between hybrid and stream
2020-06-11 17:20:37 -07:00
Frh
a0e46916e2
Improve edgeplot for hybrid
2020-06-11 17:20:36 -07:00
Frh
c9a73a1ad7
Further refactoring
2020-06-11 17:20:36 -07:00
Frh
a401d33fd9
Refactor out _text_bbox
2020-06-11 17:20:36 -07:00
Frh
1a47c3df89
Prettier plotting, improve gaps calculation
2020-06-11 17:20:36 -07:00
Frh
1ccaa0630d
Improve hybrid plotting
...
* plot info passed through debug_info
* display each text edge
2020-06-11 17:20:36 -07:00
Frh
f9a6543c36
Initial Hybrid parser, for now identical to Stream
2020-06-11 17:20:36 -07:00