Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ALTO 3.0, 4.0 etc. in alto2hocr #13

Closed
zuphilip opened this issue Sep 2, 2019 · 4 comments
Closed

Support for ALTO 3.0, 4.0 etc. in alto2hocr #13

zuphilip opened this issue Sep 2, 2019 · 4 comments

Comments

@zuphilip
Copy link
Contributor

zuphilip commented Sep 2, 2019

Can we also support ALTO 3.0, 4.0 etc. in the transformation alto2hocr? I am not speaking about any new functionalities but just the new namespaces. The transformation alto2text is using a different syntax e.g.

<xsl:template match="*[local-name()='TextLine']">

instead of

<xsl:template match="TextLine">

and thereby is already compatible with other versions of the ALTO namespace. Maybe we can do something similar for the alto2hocr transformation.

See also UB-Mannheim/ocr-fileformat#95

@filak
Copy link
Owner

filak commented Sep 19, 2019

Yes, but unfortunately I do not have time right now... I will try to look at it by the end of this month.

@filak
Copy link
Owner

filak commented Nov 22, 2019

Fixed with 100e937

@filak filak closed this as completed Nov 22, 2019
@zuphilip
Copy link
Contributor Author

zuphilip commented Nov 24, 2019

The commit you mentioned added a new hocr2alto3.0.xsl, but the other direction which I asked here, i.e. that alto2hocr also supports alto v3.0, 4.0 etc, is still not possible. Therefore, I wanted to ask, if we can reopen this issue.

@filak filak reopened this Dec 2, 2019
@filak
Copy link
Owner

filak commented Dec 17, 2019

Fixed with 5122b72

Feedback is welcome !

@filak filak closed this as completed Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants