Added DRuKoLa support to korapxml2krill script
Change-Id: Id6fedf29df7b7728b12d25cc17c78c84aad6e7eb
diff --git a/Changes b/Changes
index 800b560..ac5e8ec 100644
--- a/Changes
+++ b/Changes
@@ -1,7 +1,8 @@
-0.25 2017-01-18
+0.25 2017-01-20
- Updated to Mojolicious 7.20
- Fixed meta treatment in case analytic and monogr
are available
+ - Added DRuKoLa support to script
0.24 2016-12-21
- Added --base-sentences and --base-paragraphs options
diff --git a/lib/KorAP/XML/Meta/Drukola.pm b/lib/KorAP/XML/Meta/Drukola.pm
deleted file mode 100644
index 33eb602..0000000
--- a/lib/KorAP/XML/Meta/Drukola.pm
+++ /dev/null
@@ -1,14 +0,0 @@
-package KorAP::XML::Meta::Drukola;
-use KorAP::XML::Meta::Base;
-use Try::Tiny;
-
-# Parse meta data
-sub parse {
- my $self = shift;
- my $dom = shift;
- my $type = shift;
-
- return;
-};
-
-1;
diff --git a/script/korapxml2krill b/script/korapxml2krill
index b60eb59..81497fe 100644
--- a/script/korapxml2krill
+++ b/script/korapxml2krill
@@ -79,9 +79,12 @@
# 2016/12/21
# - added support for base-sentences and base-tokenizations
#
+# 2017/01/20
+# - added support for DRuKoLa annotations
+#
# ----------------------------------------------------------
-our $LAST_CHANGE = '2016/12/21';
+our $LAST_CHANGE = '2017/01/20';
our $LOCAL = $FindBin::Bin;
our $VERSION_MSG = <<"VERSION";
Version $KorAP::XML::Krill::VERSION - diewald\@ids-mannheim.de - $LAST_CHANGE
@@ -227,6 +230,10 @@
push(@layers, ['XIP', 'Sentences']);
push(@layers, ['XIP', 'Dependency']);
+# DRuKoLa
+push(@layers, ['DRuKoLa', 'Morpho']);
+
+
# Check filters
my @filtered_anno;
if ($skip{'#all'}) {
@@ -895,6 +902,14 @@
=back
+=item B<DRuKoLa>
+
+=over 4
+
+=item #Morpho
+
+=back
+
=item B<TreeTagger>
=over 4