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

Checking for Math_symbols in the csv #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ES95
Copy link

@ES95 ES95 commented May 29, 2020

The readme for gtdb dataset states-

  • Records starting with Chardata denote the characters or symbols. 1:Chardata, 2:Character ID, 3-6:Coordinates of the bounding box (left, top, right, bottom), 7:Text Mode (0:Ordinary text, 1:Math symbol), 8:Link label, 9:ID of parent character, 10:OCR code
    earlier- if int (rcd[7]) == 1 : was checking the link label
    To check for Math_symbol it should check in 6th index i.e. the 7th element " if int (rcd[6]) == 1 :"

The readme for gtdb dataset states-  
* Records starting with `Chardata` denote the characters or symbols. `1:Chardata, 2:Character ID, 3-6:Coordinates of the bounding box (left, top, right, bottom), 7:Text Mode (0:Ordinary text, 1:Math symbol), 8:Link label, 9:ID of parent character, 10:OCR code`  
earlier- if int (rcd[7]) == 1 : was checking the link label  
To check for Math_symbol it should check in 6th index  i.e. the 7th element " if int (rcd[*6*]) == 1 :"
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

Successfully merging this pull request may close these issues.

1 participant