Fixed readme by mentioning preference regarding configuration parameters
Change-Id: Ia4372cbb39b60630a42027db3f7eac37321a1cb2
diff --git a/script/korapxml2krill b/script/korapxml2krill
index 4ff4b5b..bcdadc8 100644
--- a/script/korapxml2krill
+++ b/script/korapxml2krill
@@ -1141,6 +1141,7 @@
B<The root folder switch using the hash sign is experimental and
may vanish in future versions.>
+
=item B<--input-base|-ib> <directory>
The base directory for inputs.
@@ -1157,6 +1158,7 @@
Overwrite files that already exist.
+
=item B<--token|-t> <foundry>#<file>
Define the default tokenization by specifying
@@ -1197,6 +1199,7 @@
e.g. C<Mate> or C<Mate#Morpho>. Alternatively you can skip C<#ALL>.
Can be set multiple times.
+
=item B<--anno|-a> <foundry>#<layer>
Convert specific annotations by specifying the foundry
@@ -1204,12 +1207,14 @@
e.g. C<Mate> or C<Mate#Morpho>.
Can be set multiple times.
+
=item B<--primary|-p>
Output primary data or not. Defaults to C<true>.
Can be flagged using C<--no-primary> as well.
This is I<deprecated>.
+
=item B<--jobs|-j>
Define the number of concurrent jobs in seperated forks
@@ -1223,6 +1228,7 @@
times the number of available cores.
This is I<experimental>.
+
=item B<--sequential-extraction|-se>
Flag to indicate, if the C<jobs> value also applies to extraction.
@@ -1231,43 +1237,51 @@
Can be flagged using C<--no-sequential-extraction> as well.
Defaults to C<false>.
+
=item B<--meta|-m>
Define the metadata parser to use. Defaults to C<I5>.
Metadata parsers can be defined in the C<KorAP::XML::Meta> namespace.
This is I<experimental>.
+
=item B<--pretty|-y>
Pretty print JSON output. Defaults to C<false>.
This is I<deprecated>.
+
=item B<--gzip|-z>
Compress the output.
Expects a defined C<output> file in single processing.
+
=item B<--cache|-c>
File to mmap a cache (using L<Cache::FastMmap>).
Defaults to C<korapxml2krill.cache> in the calling directory.
+
=item B<--cache-size|-cs>
Size of the cache. Defaults to C<50m>.
+
=item B<--cache-init|-ci>
Initialize cache file.
Can be flagged using C<--no-cache-init> as well.
Defaults to C<true>.
+
=item B<--cache-delete|-cd>
Delete cache file after processing.
Can be flagged using C<--no-cache-delete> as well.
Defaults to C<true>.
+
=item B<--config|-cfg>
Configure the parameters of your call in a file
@@ -1287,6 +1301,10 @@
C<skip> (semicolon separated), C<sigle>
(semicolon separated), C<anno> (semicolon separated).
+Configuration parameters will always be overwritten by
+passed parameters.
+
+
=item B<--temporary-extract|-te>
Only valid for the C<archive> command.
@@ -1299,6 +1317,7 @@
massive unzipping and potential
network latency.
+
=item B<--sigle|-sg>
Extract the given texts.
@@ -1308,20 +1327,24 @@
In case the C<Text> path is omitted, the whole document will be extracted.
On the document level, the postfix wildcard C<*> is supported.
+
=item B<--log|-l>
The L<Log4perl> log level, defaults to C<ERROR>.
+
=item B<--help|-h>
Print this document.
+
=item B<--version|-v>
Print version information.
=back
+
=head1 ANNOTATION SUPPORT
L<KorAP::XML::Krill> has built-in importer for some annotation foundries and layers
@@ -1395,6 +1418,7 @@
New annotation importers can be defined in the C<KorAP::XML::Annotation> namespace.
See the built-in annotation importers as examples.
+
=head1 AVAILABILITY
https://github.com/KorAP/KorAP-XML-Krill