Sign inSign up

daliboris/libri-augmentati

By daliboris

Updated about 1 year ago

Test builds of Libri augmentati, XProc 3.0 Libraries for Digital Books Download and Enrichment.

Image
0

386

daliboris/libri-augmentati repository overview

Quick reference

Maintained by: Boris Lehečka

What is Libri augmentati?

Libri augmentati is XProc 3.x pipeline for downloading all available (or selected) data and metadata, like MODS, FOXML, DC, ALTO, and images, from digital libraries based on the system Kramerius and storing it on the local system. It can be used also for enriching textual data by NLP (natural language processing) tools and convert the publication to TEI format.

How to use this image

This will create and run Docker container with interactive bash.

docker run -it --rm --volume D:\TEI-2025\Libri-augmentati:/data daliboris/libri-augmentati:latest
Parameters
  • -it = interactive mode
  • --rm = remove Docker container after exit
  • D:\TEI-2025\Libri-augmentati = path on your computer where you want store enriched data
  • /data = path in Docker container where enriched data will be stored (can't be changed)
  • daliboris/libri-augmentati:latest = identifier of the Docker image with Libri augmentati application
Use Libri augmentati

Use prompt in the Docker container to run the pipeline, for example:

Morgana.sh -config=/config/config.xml /la/run/client.xpl -option:library-code=mzk -option:api-version=7 -option:output-directory=/data/tei-conference -option:document-resources="MODS DC FOXML" -option:page-resources="ALTO TEXT FOXML DC MODS IMAGE" -option:document-id=uuid:de87a0e0-643b-11ea-a744-005056827e51 -option:nickname=postural-defects -indent-errors
Parameters
parameterexplanation
Morgana.shmain script that runs XProc pipeline
-config=/config/config.xmlbase configuration used by MorganaXProc-IIIse engine
/la/run/client.xplmain pipeline for request processing
-option:library-code=mzkabbreviation of digital library where publications are stored
-option:api-version=7version of Kramerius (API) used by digital library
-option:output-directory=/data/tei-conferencewhere final data and reports are stored (should be in /data/ directory)
-option:document-resources="MODS DC FOXML"which metadata for the entire document should be downloaded
-option:page-resources="ALTO TEXT FOXML DC MODS IMAGE"which metadata for individual pages should be downloaded
-option:document-id=uuid:de87a0e0-643b-11ea-a744-005056827e51identifier of the digital book to be downloaded
-option:nickname=postural-defectsnick name for the book (report and directory with this name will be created)

Tag summary

Content type

Image

Digest

sha256:5f752cf67

Size

125.8 MB

Last updated

about 1 year ago

docker pull daliboris/libri-augmentati