Include RWK annotations in script
Change-Id: I75ebfed2e2b820c489e55c95237182bc48cd44bf
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