Closed mromanello closed 2 years ago
This concerns the class text_importation.classes.Page. Similarly to the method Page.to_json(), add a Page.to_alto() method.
text_importation.classes.Page
Page.to_json()
Page.to_alto()
For now: export only OLR and not OCR (but this could be done later).
See https://github.com/FoNDUE-HTR/FONDUE-FR-PRINT-17/tree/master/data/boileau_1674_alto_202203081708 for an example of Alto/XML data that use SegmOnto classes.
To be tested: import Alto/XML + image files (with SegmOnto subtype labels for regions) and see how they are rendered in the interface.
This concerns the class
text_importation.classes.Page
. Similarly to the methodPage.to_json()
, add aPage.to_alto()
method.For now: export only OLR and not OCR (but this could be done later).
See https://github.com/FoNDUE-HTR/FONDUE-FR-PRINT-17/tree/master/data/boileau_1674_alto_202203081708 for an example of Alto/XML data that use SegmOnto classes.
To be tested: import Alto/XML + image files (with SegmOnto subtype labels for regions) and see how they are rendered in the interface.