{"id":13961887,"url":"https://github.com/filak/hOCR-to-ALTO","last_synced_at":"2025-07-21T06:32:05.400Z","repository":{"id":45301193,"uuid":"46891593","full_name":"filak/hOCR-to-ALTO","owner":"filak","description":"Convert between Tesseract hOCR and ALTO XML using XSL stylesheets","archived":false,"fork":false,"pushed_at":"2025-05-22T08:44:05.000Z","size":162,"stargazers_count":55,"open_issues_count":1,"forks_count":14,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-22T09:44:48.156Z","etag":null,"topics":["alto","hocr","xsl","xsl-stylesheets","xslt2"],"latest_commit_sha":null,"homepage":"","language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-11-25T22:43:50.000Z","updated_at":"2025-05-22T08:44:09.000Z","dependencies_parsed_at":"2024-01-17T16:08:39.580Z","dependency_job_id":"d711af94-8a10-481d-9e30-e7d25ec35cf5","html_url":"https://github.com/filak/hOCR-to-ALTO","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/filak/hOCR-to-ALTO","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filak%2FhOCR-to-ALTO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filak%2FhOCR-to-ALTO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filak%2FhOCR-to-ALTO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filak%2FhOCR-to-ALTO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filak","download_url":"https://codeload.github.com/filak/hOCR-to-ALTO/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filak%2FhOCR-to-ALTO/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253609,"owners_count":23900053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alto","hocr","xsl","xsl-stylesheets","xslt2"],"created_at":"2024-08-08T17:01:33.978Z","updated_at":"2025-07-21T06:32:00.388Z","avatar_url":"https://github.com/filak.png","language":"XSLT","funding_links":[],"categories":["XSLT"],"sub_categories":[],"readme":"# hOCR-to-ALTO\nConvert between Tesseract hOCR and [ALTO XML](https://www.loc.gov/standards/alto/) 2.0/2.1/3/4 using XSL stylesheets\n\n\u003e The XSLT scripts use XSLT 2.0 features - so a **XSLT 2.0\ncapable transformer is required** - ie. [Saxon](https://www.saxonica.com/download/java.xml)\n\nRunning the conversion using Saxon-HE command line - example converting ALTO to hOCR:\n\n     \u003e java -jar saxon-he.jar -s:input-alto.xml -xsl:alto__hocr.xsl -o:output-hocr.xml\n\nSee [ocr-fileformat](https://github.com/UB-Mannheim/ocr-fileformat) for an\ninterface to using these stylesheets.\n\nhOCR-spec https://github.com/kba/hocr-spec\n\nFile naming scheme:   sourceFormatVersion__targetFormatVersion.xsl\n\n## CONTENTS\n\n  * Convert ALTO to hOCR\n    * [`alto__hocr.xsl`](./alto__hocr.xsl) \n  * Convert hOCR to ALTO\n    * [`hocr__alto4.xsl`](./hocr__alto4.xsl)\n    * [`hocr__alto3.xsl`](./hocr__alto3.xsl)\n    * [`hocr__alto2.1.xsl`](./hocr__alto2.1.xsl)     \n    * [`hocr__alto2.0.xsl`](./hocr__alto2.0.xsl) \n  * Convert ALTO to plain text\n    * [`alto__text.xsl`](./alto__text.xsl)\n  * Convert hOCR to plain text\n    * [`hocr__text.xsl`](./hocr__text.xsl)\n  * Language codes\n    * [`codes_lookup.xml`](./codes_lookup.xml) - generated with https://github.com/filak/iso-language-codes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilak%2FhOCR-to-ALTO","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilak%2FhOCR-to-ALTO","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilak%2FhOCR-to-ALTO/lists"}