Skip xip-dependencies
Change-Id: I6c1603acd3a52ce6c54cd5bb4d65be8fbb8b1a5a
diff --git a/lib/KorAP/XML/Index/XIP/Dependency.pm b/lib/KorAP/XML/Index/XIP/Dependency.pm
index a83f911..cb5dd25 100644
--- a/lib/KorAP/XML/Index/XIP/Dependency.pm
+++ b/lib/KorAP/XML/Index/XIP/Dependency.pm
@@ -11,6 +11,9 @@
my $rel_id = 1;
+ # XIP dependencies are currently skipped
+ return;
+
$$self->add_tokendata(
foundry => 'xip',
layer => 'dependency',
@@ -30,11 +33,11 @@
# Relation is "unary" - meaning relation to itself
if ($_->{-type} && $_->{-type} eq 'unary') {
$mtt->add(
- term => '>xip/d:' . $label,
+ term => '>:xip/d:' . $label,
payload => '<i>' . $token->pos
);
$mtt->add(
- term => '<xip/d:' . $label,
+ term => '<:xip/d:' . $label,
payload => '<i>' . $token->pos
);
}