-
Notifications
You must be signed in to change notification settings - Fork 459
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
Headnote missing and/or having wrong labels #1208
Comments
It seems I was hasty and only evaluated the output from the service API. They are in fact present in the segmentation.tei from createTraining. I guess the service API Process Fulltext Document then just hides those? So point 1) is invalid, while points 2-4 still stand and require some training samples. |
Hi @ronny3, For correcting the training data there are the guidelines that you seems already checked, in addition I summarised the process in regard of cascading models here. |
@lfoppiano great, thanks for the answer. I will try training soon and see how it affects, then add a few samples to my training folder. I estimated the wapiti training should take 8 hours if I do the default 2000 iterations. Should I make a PR after I make more golden-standard data if the articles are CC-BY? Or would you rather do them on your own? At the moment for this case I will only use a text editor, but I was also wondering about a better annotation tool, something that would allow changing the tags by clicking. |
Yes, make a PR with the training data corrected by you and I will revise them. It might take a few iteration back and forth. As for the editor, in general, I use pycharm/intellij for this work, I got used to it, but if you find a better tool feel free to share about it. |
Operating System and architecture (arm64, amd64, x86, etc.)
No response
What is your Java version
No response
Log and information
No response
Further information
I'm running the latest 0.8.1. version with this OA article: https://www.sciencedirect.com/science/article/pii/S1386505620310650
After the first page there is typical headnotes for author on the left side and journal on the right side.
According to docs they should be tagged with
<note place="headnote">
For this PDF (and others) they are either
<note>
and then<p>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_5"> <head>Table 3</head> <label>3</label> <figDesc>(continued ) </figDesc> <table> <row> <cell>O. Fennelly et al.</cell>
If I have understood Grobid correctly, the models segmentation and fulltext are responsible for this.
I am especially not sure about 4), what model to retrain for this purpose.
Also as I am new to Gorbid, I wonder how many examples would I need for this to improve? Should I go over your training files to see if you are tagging "headnote" correctly?
These are not important info, but according to docs they should be present, and they are causing issues, so I need some guidance!
The text was updated successfully, but these errors were encountered: