processFulltextAssetDocument graphic url incorrectly including temporary (sub-)directory
See original GitHub issueUsing processFulltextAssetDocument
we can download a zip with the XML and related image resources.
The url in the XML seem to include a temporary sub-directory,
e.g. QwmZmbXzY9.lxml_data/image-1.png
instead of image-1.png
Example document 003525v1
(bioRxiv 10k training), generates the following partial TEI XML.
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Network-based analysis of omic data to model the processes connecting genetic variation to disease.</figDesc><graphic url="QwmZmbXzY9.lxml_data/image-1.png" coords="12,72.00,178.57,319.30,504.00" type="bitmap" /></figure>
(The zip file doesn’t contain any subdirectories)
Example command:
curl -v \
--output "003525v1.zip" \
--form input=@003525v1.pdf \
https://<host>:<port>/api/processFulltextAssetDocument
(I have only tried that with the cloud.science-miner.com
instance)
BTW the FAQ seem to be listing the API as deprecated. Not sure if that is still correct?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Moving WordPress from Sub-Directory to Root Directory
Under Tools > Update URLs, type the website address containing the subdirectory in the Old URL field and the website without the subdirectory...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Patrice is it possible for you to update this on https://hub.docker.com/r/grobid/grobid/
Thanks a lot, Patrice. You are amazing. Any chances of updating this to https://hub.docker.com/r/grobid/ ?
Actually, I wish to use https://grobid.readthedocs.io/en/latest/Deep-Learning-models/ too and I am on M1 Macbook Max (Apple Silicon). It would be too complex for me to install everything.