commit | 15d4a1e05404635e0d36d6b46515992f721e4af0 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Mon Mar 28 13:19:24 2022 +0200 |
committer | Akron <nils@diewald-online.de> | Mon Mar 28 13:19:24 2022 +0200 |
tree | 563ebdce2da1461cafe10fb7093ad9fc63216a54 | |
parent | b03d67b0ae7bb150929d1ee1ce6c57e872e1e5f5 [diff] |
Describe usage of tei2korapxml Change-Id: I05c098c53029a3377f6378ad5e3f84ebed3d4115
Install docker and docker compose.
To download, intialize and run KorAP pointing to a certain directory index (in this example myindex
in the local directory), run
$ INDEX=./myindex docker-compose up
This will make the frontend be available at localhost:64543
.
Depending on the corpus data to be indexed, it must first be converted. In the case of a conversion from TEI p5/i5 format, the tools required for this have already been installed with the above command.
In the following we assume that an i5 file mycorpus.i5.xml
is located in the local folder.
The command ...
$ docker run --rm -v ${PWD}:/data korap/kalamar tei2korapxml --input /data/mycorpus.i5.xml > mycorpus.zip
... will convert the i5 file into a KorAP-XML file using tei2korapxml.