OCR-D / page-to-alto

Convert PAGE (v. 2019) to ALTO (v. 2.0 - 4.2)
Apache License 2.0
13 stars 5 forks source link

textequiv_index is not @index but element position #31

Closed bertsky closed 2 years ago

bertsky commented 2 years ago

The implementation of the --textequiv-index option does not actually respect @index:

https://github.com/kba/page-to-alto/blob/a6a3ea5a5b85ffde0ffc4b75a29afebf2d4082fb/ocrd_page_to_alto/utils.py#L50