Include RWK annotations in script
Change-Id: I75ebfed2e2b820c489e55c95237182bc48cd44bf
diff --git a/Changes b/Changes
index 9acb4a1..f6e4b83 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+0.41 2020-04-23
+ - Added support for RWK annotations.
+
0.40 2020-03-03
- Fixed XIP parser.
- Added example corpus of the
diff --git a/lib/KorAP/XML/Krill.pm b/lib/KorAP/XML/Krill.pm
index 7ad65c5..7434fa1 100644
--- a/lib/KorAP/XML/Krill.pm
+++ b/lib/KorAP/XML/Krill.pm
@@ -16,7 +16,7 @@
use Data::Dumper;
use File::Spec::Functions qw/catdir catfile catpath splitdir splitpath rel2abs/;
-our $VERSION = '0.40';
+our $VERSION = '0.41';
has 'path';
has [qw/text_sigle doc_sigle corpus_sigle/];
diff --git a/script/korapxml2krill b/script/korapxml2krill
index 06db4b6..54edaa8 100644
--- a/script/korapxml2krill
+++ b/script/korapxml2krill
@@ -147,9 +147,14 @@
# - Added support for DGD pseudo-sentences
# based on anchor milestones.
# - Support for non-verbal annotations.
+#
+# 2020/04/23
+# - Added support for Redewiedergabe-Korpus structure
+# annotations, based on sentence and paragraph milestones
+# - Added support for Redewiedergabe-Korpus morphology
# ----------------------------------------------------------
-our $LAST_CHANGE = '2019/12/17';
+our $LAST_CHANGE = '2020/04/23';
our $LOCAL = $FindBin::Bin;
our $KORAL_VERSION = 0.03;
our $VERSION_MSG = <<"VERSION";
@@ -536,6 +541,12 @@
push(@layers, ['OpenNLP', 'Morpho']);
push(@layers, ['OpenNLP', 'Sentences']);
+# Redewiedergabe
+push(@layers, ['RWK', 'Morpho']);
+if ($base_sentences eq 'rwk#structure') {
+ push(@layers, ['RWK', 'Structure']);
+};
+
# Schreibgebrauch
push(@layers, ['Sgbr', 'Lemma']);
push(@layers, ['Sgbr', 'Morpho']);
@@ -1517,6 +1528,10 @@
#Morpho
#Sentences
+ RWK
+ #Morpho
+ #Structure
+
Sgbr
#Lemma
#Morpho