
Semi-automated extraction of information from textual documents in a domain-specific repository
The workflow addresses the machine processing and enhancement of archaeological textual documents (e.g., grey literature, excavation reports, field forms) held in a domain-specific repository. It processes both scanned documents, through automatic text recognition, and born-digital documents (PDF, DOCX) that already carry a text layer. The goal is an integrated solution for legacy data and new uploads within the selected repository system: better search and reuse of the documents, and fewer manual steps in archiving and annotation.
The workflow chains independent tools available as services through APIs. Each tool performs one step: page classification, OCR quality control, linguistic annotation and named entity recognition, keyword extraction against the domain vocabularies, and translation. Each tool can also be used on its own. The repository calls the services asynchronously and stores every result as an alternative distribution of the original file, with a paradata record describing the run that produced it (tool version, parameters, licence).
The results of all steps also accumulate in one JSON record per document (the ATRIUM document record). Its blocks each have one producing tool, so any step can be re-run alone. The record carries the provenance of every contribution, and the licence of the combined result is derived from the most restrictive licence among them. It can later be exported as an RO-Crate.
The enriched data support:
- full-text and faceted search by page types, named entities and vocabulary keywords,
- assessment of OCR quality before further processing,
- linking of documents to controlled vocabularies and to each other,
- international access through English translations of metadata and texts,
- corpora for natural language processing, including the training and evaluation of models.
The tools were developed in the ATRIUM project by the Institute of Formal and Applied Linguistics (Charles University) with the Institutes of Archaeology of the Czech Academy of Sciences in Prague and Brno. They are open source, published as container images, and are described in their own Marketplace records. Their integration into Galaxy is being prepared with DARIAH.
The Archaeological Map of the Czech Republic (AMCR) repository serves as the demonstrator of the workflow.
Diagram caption: Users and data curators work with a data repository (AMCR) that stores each document with its metadata, original file, ALTO XML, document record, enrichments and paradata, and the AMCR vocabularies. A processing orchestration (step 2) passes documents between the repository, a separate automatic text recognition workflow (step 4) and the ATRIUM tool services: page classification (3), ALTO post-processing and quality control (5), NLP enrichment with UDPipe and NameTag to TEITOK (7), vocabulary keywords by LLM (8) and XML translation (10). A dashed born-digital branch (6) replaces steps 4 and 5. NLP enrichment and translation call the LINDAT services; the vocabularies feed keyword extraction and translation. Annotators and data engineers train a custom NameTag model (9). A discovery service (11) serves users and feeds the OAI-PMH and File API, which feeds the ARIADNE Portal.
Related items(9)
Workflow steps(11)
1 Selection of a target repository and meeting basic requirements
2 Integration into the processing workflows of the selected repository
3 Page classification
4 Automatic text recognition of scanned documents
5 ALTO post-processing and OCR quality control
6 Born-digital branch: text extraction from PDF and DOCX
7 Linguistic annotation and named entity recognition
8 Keyword extraction against controlled vocabularies
9 Named entity recognition – optional training for enhanced results
10 Automated translations
11 Integration to user workflows
The SSH Open Marketplace is maintained and will be further developed by three European Research Infrastructures - DARIAH, CLARIN and CESSDA - and their national partners. It was developed as part of the "Social Sciences and Humanities Open Cloud" SSHOC project, European Union's Horizon 2020 project call H2020-INFRAEOSC-04-2018, grant agreement #823782.


