Skip to content

Commit

Permalink
update documentation, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Dec 27, 2023
1 parent 4620b63 commit 7b7b5ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/Coordinates-in-PDF.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Since April 2017, GROBID version 0.4.2 and higher, coordinate areas can be obtai
* ```formula``` for mathematical equations,
* ```head``` for section titles,
* ```s``` for optional sentence structure (the GROBID fulltext service must be called with the `segmentSentences` parameter to provide the optional sentence-level elements),
* ```p``` for paragraph structure,
* ```note``` for foot note elements,
* ```title``` for the title elements (main article title and cited reference titles),
* ```affiliation``` for the affiliation and address part.
Expand Down Expand Up @@ -117,7 +118,7 @@ The GROBID console offers a reference implementation with PDF.js for dynamically

### Coordinates in TEI/XML results

Coordinates for a given structure appear via an extra attribute ```@coord```. This is part of the [customization to the TEI](TEI-encoding-of-results.md) used by GROBID.
Coordinates for a given structure appear via an extra attribute ```@coords```. This is part of the [customization to the TEI](TEI-encoding-of-results.md) used by GROBID.

* the list of page size is encoded under the TEI element `<facsimile>`. The dimension of each page is given successively by the TEI attributes `@lrx` and `@lry` of the element `<surface>` to be conformant with the TEI (`@ulx` and `@uly` are used to set the orgine coordinates, which is always `(0,0)` for us).

Expand Down

0 comments on commit 7b7b5ce

Please sign in to comment.