Describe usage of tei2korapxml
Change-Id: I05c098c53029a3377f6378ad5e3f84ebed3d4115
diff --git a/.gitignore b/.gitignore
index da7e154..15662c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/todo.org
-/myindex
\ No newline at end of file
+/myindex
+/sandbox
\ No newline at end of file
diff --git a/Readme.md b/Readme.md
index 9164e73..f4f3f5e 100644
--- a/Readme.md
+++ b/Readme.md
@@ -13,3 +13,21 @@
This will make the frontend be available at
`localhost:64543`.
+
+# Index conversion
+
+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 ...
+
+```shell
+$ 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](https://github.com/KorAP/KorAP-XML-TEI).