-
Notifications
You must be signed in to change notification settings - Fork 443
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
Incorrect sentences coordinates #908
Labels
bug
From Hemiptera and especially its suborder Heteroptera
implemented
The issue has been implemented
Comments
Hi @NicolasKieffer ! Many thanks for the very clear and documented issue. It is fixed in Grobid master, it was just one missing line in the "if" statement :/ <head n="2.1.1" coords="7,90.02,257.53,24.00,10.80;7,144.02,257.53,245.59,10.80">Static Model:
a single season occupancy analysis</head>
<p>
<s coords="7,90.02,285.13,391.18,10.80;7,72.02,312.73,464.39,10.80;7,72.02,340.33,467.45,10.80;
7,72.02,367.93,465.80,10.80;7,72.02,395.53,272.00,10.80">The MSDOM is a form of the
multi-state occupancy model with state uncertainty
<ref type="bibr" coords="7,72.02,312.73,118.87,10.80" target="#b59">(MacKenzie et al., 2009;</ref>
<ref type="bibr" coords="7,193.90,312.73,97.62,10.80">Nichols et al., 2007)</ref> and is defined below
with four states equivalent to the original co-occurrence model The fix will be part of next release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
From Hemiptera and especially its suborder Heteroptera
implemented
The issue has been implemented
Sentences sometimes have wrong coordinates.
Sample files used (PDF, TEI & training files) : 60806_R1.zip
Notes:
s[coords]
values (which are usually correct)Case sentence with element
<ref>
containing char;
Incorrect coordinates
Exemple 1
PDF (coordinates rendering)
First bugged sentence
![image](https://user-images.githubusercontent.com/16922410/163573294-b27200b7-3e52-4768-92c7-e32dcf05df04.png)
Group of bugged sentence
![image](https://user-images.githubusercontent.com/16922410/163577300-47836cfb-5b12-421e-97f0-345cfaaef14a.png)
All sentences of this page
![image](https://user-images.githubusercontent.com/16922410/163576572-8a2b0517-1eca-4c2a-9ab6-046e3d168546.png)
TEI (processing)
Note : the right part of the ref is no longer in this file (after the
;
char)TEI (training)
Note : the entire ref is in this file
Correct coordinates
Exemple 1
PDF (coordinates rendering)
TEI (processing)
TEI (training)
Exemple 2
PDF (coordinates rendering)
TEI (processing)
TEI (training)
The text was updated successfully, but these errors were encountered: