kermitt2 / grobid_client_python

Python client for GROBID Web services
Apache License 2.0
279 stars 75 forks source link

teiCoordinates not showing #22

Closed xcrema closed 3 years ago

xcrema commented 3 years ago

I want to get the coordinates for the pdf elements. I am running this command:

python3 grobid_client.py --input ~/tmp/in2 --output ~/tmp/out processHeaderDocument --force --teiCoordinates

But I am not getting the coordinates in created xml document. Can you help me where I am going wrong?

kermitt2 commented 3 years ago

Hello hello

Currently coordinates are added only for the processFulltextDocument service (for processHeaderDocument, the parameter teiCoordinates is ignored).