Check sentence mapping in base/sentences
Change-Id: I1d8551b55088a8b6d7ba2ecb0cb1916bc2b9fa21
diff --git a/lib/KorAP/XML/Meta/I5.pm b/lib/KorAP/XML/Meta/I5.pm
index 80cc3d2..9cd504d 100644
--- a/lib/KorAP/XML/Meta/I5.pm
+++ b/lib/KorAP/XML/Meta/I5.pm
@@ -93,6 +93,7 @@
};
};
};
+
}
# doc title
diff --git a/t/real/wpd.t b/t/real/wpd.t
index f6293c2..02389e5 100644
--- a/t/real/wpd.t
+++ b/t/real/wpd.t
@@ -76,10 +76,13 @@
is($stream->[77]->[0],
'<:mate/d:--$<b>34<i>498<i>499<i>78<i>78',
'element to term');
-#is($stream->[77]->[1], '<>:mate/d:&&&$<b>64<i>498<i>499<i>78<b>0<s>1', 'element to term');
is($stream->[78]->[0], '>:mate/d:--$<b>33<i>498<i>499<i>77<i>78', 'term to element');
-# is($stream->[78]->[3], 'mate/d:&&&$<b>128<s>1', 'Node');
+$tokens->add('Base', 'Sentences');
+
+$stream = $tokens->to_data->{data}->{stream};
+
+is($stream->[0]->[2], '<>:base/s:s$<b>64<i>0<i>74<i>13<b>2', 'Text starts with sentence');
done_testing;
__END__