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

Empty TextEquivs #21

Open
kba opened this issue Jul 1, 2024 · 0 comments
Open

Empty TextEquivs #21

kba opened this issue Jul 1, 2024 · 0 comments

Comments

@kba
Copy link
Owner

kba commented Jul 1, 2024

          The reason why I looked at `transkribus-to-prima` is that we noticed a new strange thing in Transkribus page files: they contain text regions (`TextRegion`) with text lines (`TextLine`) which contain text (`TextEquiv`), but the text for the region (`TextEquiv`) is empty. Example: first text region in https://raw.githubusercontent.com/UB-Mannheim/reichsanzeiger-gt/main/page-xml/1820_84_0220.xml. Converting that PAGE XML file to text with `ocr-transform` results therefore in missing text.

If that is a common problem with Transkribus files, adding a fix for it to transkribus-to-prima might be a good idea.

See also UB-Mannheim/reichsanzeiger-gt#1.

Originally posted by @stweil in #17 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant