This version has been trimmed of all licensed and copyrighted materials. As a result, the test data is not included in this repository, and commands may not run as expected without additional setup.
make -j $(nproc) testmake -j $(nproc) test indexINDEX=./target/dnb.index docker compose -p korap4dnb --profile=lite -f korap4dnb-compose.yml up -d
xdg-open http://localhost:4000/?q=Testdocker compose -p korap4dnb downmake clean && time make -j $(( $(nproc) / 2 )) index SRC_DIR=./BuchpreisThe index will be in target/dnb.index.
make -j $(nproc) i5Prerequisite: KorAP-XML-CoNLL-U
make -j $(nproc) target/dnb18.zip SRC_DIR=test/resources/DNB YEARS=18make -j $(nproc) indexThe index will be in target/dnb.index.
and start the docker:
INDEX=./target/dnb.index docker compose -p korap4dnb --profile=lite -f korap4dnb-compose.yml up -ddocker compose -p korap4dnb downdocker compose -p korap4dnb --profile=lite restartInstall prerequisite korap/conllu2treetagger and korap/conllu2spacy docker images if not present:
docker image inspect korap/conllu2treetagger:latest || curl -Ls 'https://gitlab.ids-mannheim.de/KorAP/CoNLL-U-Treetagger/-/jobs/artifacts/master/raw/conllu2treetagger.xz?job=build-docker-image' | docker load
docker image inspect korap/conllu2spacy:latest || curl -Ls https://corpora.ids-mannheim.de/tools/conllu2spacy.tar.xz | docker loadMake annotations fro dnb20:
make -j $(nproc) target/dnb20.marmot-malt.zip target/dnb20.spacy.zip target/dnb20.tree_tagger.zipBuild KorAP all, up to the deployable index:
make -j $(nproc) allKupietz, Marc/Leinen, Peter/Diewald, Nils/Genêt, Philippe/Wilm, Rebecca/Witt, Andreas/Yaddehige, Rameela (2025): National Library as Corpus: Introducing DeLiKo@DNB – a Large Synchronous German Fiction Corpus. In: Book of Abstracts of DHd 2025. Zenodo. https://doi.org/10.5281/zenodo.14943116.