Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(probably) incorrect spanning cell labels #38

Open
ejlee95 opened this issue May 30, 2022 · 2 comments
Open

(probably) incorrect spanning cell labels #38

ejlee95 opened this issue May 30, 2022 · 2 comments

Comments

@ejlee95
Copy link

ejlee95 commented May 30, 2022

I recovered the structure of the table using chunk(.chunk) and structure(.json) files.
When I visualized the annotation, I found that some annotations are wrong.. (not included in scitsr-comp.list)

The box in the image below indicates a single cell (blue: non-empty, green: empty).
I think the 'Original' cell and 'code' cell have to be merged into one cell, but they are separated in the given annotation (.json file).

cell-structure

original image

Is it okay to regard this table as 'simple table'?

@ejlee95 ejlee95 changed the title no spanning cell labels (probably) incorrect spanning cell labels May 31, 2022
@cjw94103
Copy link

Can you please tell me how to recover?

Thank You!

@ejlee95
Copy link
Author

ejlee95 commented Jun 17, 2022

@cjw94103

First, I matched the text chunks in "chunks/.chunk" file with the cells in "structure/.json" file
Second, grouped x/y-coordinates of chunks indexed by the same 'start*' and 'end*'
Finally, I got the cell box x/y-coordinates of I-th col/row as the (max end (i-1) + min of start (i))/2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants